Bug #32060
Updated by Justin Sherrill over 3 years ago
Steps to Reproduce: Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1937072 *Description of problem:* 1. Perform Having a RHEL-7.7-ga content host registered to Katello, we can see hundreds of Installable Updates and Erratas for that host. After migration & and switchover on to pulp3 the errata is empty. *Version-Release number of selected component (if applicable):* Katello 3.18 *How reproducible:* 1/1, however the underlying issue seems to be a 6.9 satellite race condition *Steps to Reproduce:* 1. Have a Katello server with RHEL7 Server repos enabled and synced (rpms, optional, extras) 2. Register after switchover and ensure it has a RHEL-7.7-ga host to the Katello server, observe the applicable errata: [root@satellite ~]# hammer host errata list --host contenthost.redhat.com -----|----------------|-------------|----------------------------------------------------------------------------------|------------ ID | ERRATUM ID | TYPE | TITLE | INSTALLABLE -----|----------------|-------------|----------------------------------------------------------------------------------|------------ 4588 | RHSA-2021:0742 | security | Important: screen security update | true 2000 | RHSA-2021:0699 | security | Moderate: grub2 security update | true 950 | RHSA-2021:0671 | security | Important: bind security update | true 4280 | RHBA-2021:0623 | bugfix | microcode_ctl bug fix and enhancement update | true 1635 | RHBA-2021:0439 | bugfix | glibc bug fix update | true 5136 | RHSA-2021:0339 | security | Important: linux-firmware security update | true ... 3. Force sync (skip-metadata-check) a repo that Run the host is assigned content migration and switchover to 4. pulp3, check the applicable errata for for the again: [root@satellite ~]# hammer host Actual results: Sometimes you'll see errata list --host contenthost.redhat.com ---|------------|------|-------|------------ ID | ERRATUM ID | TYPE | TITLE | INSTALLABLE ---|------------|------|-------|------------ *Actual results:* Errata is missing *Expected results:* Errata should be there *Additional info:* After host re-registration the applicable errata for is still missing. After repositories resync the host dissappear Expected results: Its always calculated correctly Additional info: this was discovered when investigating https://bugzilla.redhat.com/show_bug.cgi?id=1937072 counts of 'Installable Updates' shown on the content_hosts page are restored to the original values, but the Errata is still missing in the host's details page/tab and hammer still shows an empty output.