Update package(s) id performs yum update -y

Hello,

i’ve just upgraded from 4.12 to 4.13.1

The Problem is, when i’m using RemoteExecution to update specific packages it is not working anymore
Instead it execute “yum -y update” and update all packages, which is not desired

For Example i wanted to Update only the Katello-Host-Tools
In Job Invocation i can see that only 2 Packages ID are selected
image

But in Job Template Preview i can see it is running yum - update

image

In Last Version it did work correctly
A Job From Last Week for example shows the following:

image

Version:
Almalinux 9.4 fully updated

i think i know what my Problem is

I’ve added the new Katello Client Repo and not all Hosts were reporting that updates are needed for these packages
So went to one Host and run > Content > packages > refresh Packages applicability

After that i selected the two packages and run it via " upgrade via customized remote execution" and choosed a Host Collection

But not all Hosts in that Collection were reporting that these Packages needed an update

The Hosts which knew they needed these packages updated did it correctly
but all other Hosts just ran “yum -y update”

But that shouldn’t be the desired scenario, it’s kinda unpredictable

Thank you very much in advance

This will be fixed in 4.14 with the new bulk Packages wizard. That job template should fail for the host if the packages are not installed or upgradable, but instead it just removes the argument from dnf update which sometimes leaves you with a bare dnf update.

Going forward we will throw an error instead of allowing the template to proceed.