we’ve just migrated from Spacewalk to Foreman+Katello, so I’m kinda new to this environment, don’t throw to many rocks
Select multiple hosts from Hosts/Content hosts, and then have a list of updates available for all hosts and be able to pick what updates to deploy next.
This was a cool feature to spacewalk, usually I selected lots of VM’s and choose “available updates”.
On the next screen I was presented a list of updates and so I was able to select all the files or just a few to push to update.
Is there a was to achieve this using Katello ? If I select multiple hosts the single option I have is this
There is still nothing like that in Katello. I asked something similar here two years ago when I first evaluated Foreman/Katello as spacewalk replacement. Until now there is nothing. A package list for multiple hosts would be really useful for the update and remove function.
Some kind of little improvement is the Content - Packages list when you select applicables. That helps to identify what is available for updates. Yet, you cannot select packages there to update nor is it very helpful if you have a larger number of available updates.
So far, it seems the way to do it with Katello would be to use content views and lifecycle environments and use update all, test and check it, and then promote the content view to the next step…
The answer of “you could probably rig something with hammer” is still the best available option I’d say. I do think this could be convenient feature though.
I haven’t used Spacewalk before, so when you select “available updates” for a number of hosts, does how does it separate out the updates by host? Do you just get a list of packages that are labeled with their respective host?
When you enter something in our bug tracker, a group of Katello devs are guaranteed to look it over during our next weekly triage meeting. If it’s the first time we see a feature request it’s more likely that it’ll be put on the backlog, but if more people request the feature then it’ll naturally go up in priority.
First select the hosts you want to use (conveniently choosing them from the view of all hosts which have updates pending).
Then you can choose to run Upgrade on those hosts. This takes you to a list of packages you can upgrade. It lists the package name and version and the number of systems which have that package installed.
That takes you to the confirmation page: it lists all the systems which will receive updates and the packages on each system to be updated.
You confirm it and spacewalk will schedule the updates.
This way you can get a quick overview which packages need to be updated. For example, you may pick “harmless” updates like binutils which you know not to interrupt the servers to install while to skip updates of others like tomcat which would result in a service restart and interrupt.
Or you could update everything except that one application which you want to test carefully on a test server only before updating the production server.
By the way: it works in similar fashion for remove: when you choose to remove packages from those hosts it lists all the packages which are installed on any of those hosts and the count of systems for each package. You pick the packages to remove and you’ll see a list of systems and which packages are going to be removed for confirmation before you schedule the task.
Of course, spacewalk doesn’t bother with dependencies at that point, for example, if you accidentally remove a library package you think you don’t need but some other installed package depends on it, the dependency will be gone, too. That is something that might be very useful here, if it’s not too much trouble to analyze the dependencies: the confirmation page should warn about dependencies which are going to be removed…