hi,
I think I could finally solve the problem.
I was using katello 3.5.0 with some downgraded qpid packages because I was hitting this bug
Today I decided to upgrade my katello server to the latest katello-3.5.1 and after applying the upgrade and rebooting the server the problem seems to be solved. I cannot assure if the problem was with 3.5.0 or the upgrade procedure triggered some modification that fixed it. Anyway now it seems to work For each new deployed machine the errata applicability is automatically recalculated.
The only issue I am hitting now is that when the new deployed machine boots for the first time I get this in “hosts >> all hosts >> hostname”
Status Error
Traces Reboot required
If I go to “hosts >> content hosts >> hostname >> traces” I get:
anaconda session You will have to log out & log in again
anaconda-shell@hvc0 daemon systemctl restart anaconda-shell@hvc0
anaconda-shell@hvc1 daemon systemctl restart anaconda-shell@hvc1
chronyd daemon systemctl restart chronyd
dbus static You will have to reboot your computer
kernel static You will have to reboot your computer
lvm2-lvmetad daemon systemctl restart lvm2-lvmetad
multipathd daemon systemctl restart multipathd
NetworkManager daemon systemctl restart NetworkManager
polkit daemon systemctl restart polkit
rsyslog daemon systemctl restart rsyslog
systemd static You will have to reboot your computer
systemd-journald daemon systemctl restart systemd-journald
systemd-logind daemon systemctl restart systemd-logind
systemd-udevd daemon systemctl restart systemd-udevd
This problem is only solved if I login to the server and I manually execute “katello-tracer-upload”
I have verified that there is a cron file “/etc/cron.d/katello-host-tools” which should execute “katello-tracer-upload” after reboot. I also tried to modify my provisioning template to add “katello-tracer-upload” to “/etc/rc.local” but none of these solved the problem. The only workaround is to manually execute “katello-tracer-upload” or install a package with yum which triggers the executing of “katello-tracer-upload” after the installation.
I reported this problem here. Any suggestion about how to solve or debug it is much appreciated.