Description of problem: Having a RHEL-7.7-ga content host registered to the Satellite, we can see hundreds of Installable Updates and Erratas for that host. After migration and switchover to pulp3 the errata is empty. Version-Release number of selected component (if applicable): 6.9.0 snap 16 How reproducible: 1/1, however the underlying issue seems to be a race condition Steps to Reproduce: 1. Have a Satellite with RHEL7 Server repos enabled and synced (rpms, optional, extras) 2. Register a RHEL-7.7-ga host to the Satellite, 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. Run the content migration and switchover to pulp3, check the errata again: [root@satellite ~]# hammer host 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 errata is still missing. After repositories resync the counts of 'Installable Updates' shown on the <SAT>/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.
It appears that the katello sync task is planning a Actions::Katello::Repository::ImportApplicability action even when pulp3 is in use for yum content https://github.com/Katello/katello/blob/master/app/lib/actions/katello/repository/sync.rb#L66 We should condition that on SETTINGS[:katello][:katello_applicability] being false
Created redmine issue https://projects.theforeman.org/issues/32060 from this bug
Upstream bug assigned to jsherril
Verified on 6.9.0 snap 18 (tfm-rubygem-katello-3.18.1.20-1.el7sat.noarch), the errata is identical before and after the migration+switchover.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Satellite 6.9 Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:1313