If you change the subscriptions/products or enabled repositories of a host for an existing host, the list of packages to install may not be up to date on the new host details page. The state need to be transferred from the managed host to your orcharhino.
To do this, run “subscription-manager repos” on your host or via remote execution. Afterwars, the list of packages which can be installed on host is then up to date.
I think, we should improve this by adding a “Refresh” button on the Repository Sets / or Content-Packages page. Clicking this button would start a REX job which then runs “subscription-manager repos”.
I do find it interesting that this issue has come up only now since Katello has been running Pulp 3 for a number of years now. Has it not been a big enough problem for folks to bring it up perhaps?
with the old content host page it was only possible to enter a package name. With the new host details page you select a package to be installed from a list of packages.
Even though it is not the best option - it is the easiest and the one that is achievable in a short period of time.
Adding refresh action to the top kebab and to the Packages’ and Errata’s kebabs.
The only question is how to name it.
I’m pinging the doc team @mjivraja@bangelic to help out here. Bear in mind that we already have an action recalculate and users need to be able to differentiate between those.
Also, @Bernhard_Suttner, in rhsm.conf , you can find the following config option:
# Interval to run cert check (in minutes):
certCheckInterval = 240
This may also be the interval by which the host will check back in to Katello. So, by default, 4 hours. However, I haven’t yet found docs to back this up.