**Problem: getting a warning on a host:
Could not calculate errata status, ensure host is registered and the katello-host-tools package is installed
Expected outcome:
host should check in properly and not give error
Foreman and Proxy versions:
1.18
Foreman and Proxy plugin versions:
katello 3.7
Other relevant data:
host that is giving the warning does not show katello-host-tools installed:
rpm -qa | grep katello
katello-agent-fact-plugin-2.7.0-1.el7.noarch
katello-client-repos-3.2.0-4.el7.noarch
katello-ca-consumer-dgeforeman.dge.local-1.0-1.noarch
katello-agent-2.7.0-1.el7.noarch
no idea why host tools is not installed. I am able to see it in foreman and it is sending reports and i was able to push updates via katello to it. Pretty much everything is working correctly but i am getting that warning above and was wondering if there was a way to clear it?
It looks like the Katello client software available to that client is from version 3.2 - you need 3.4 or higher to get katello-host-tools. You should figure out how to make 3.7 or higher available to that client and then try to install the package.
So make sure you have katello-host-tools-tracer installed
Run a katello-tracer-upload from the guest
If after that is run, you still the same message then this is an indication that you applied patches to software that needs to be restarted before the patch will take full effect. This will probably include goferd (katello-agent) since you likely upgrade it to the 3.7 version. You can restart the processes from Foreman WebUI by going to the client, clicking on the content button. Once you are in the content view for that client, there is a tab called “Traces”. In the Traces view, you can see which services need to be restarted and even schedule a restart for the ones that need it.
You can also simply reboot the host if the kernel was recently updated which will also clear the pending traces (assumming the downtime is permisssible).