Regression due to changes in https://bugzilla.redhat.com/show_bug.cgi?id=1816464 The following 2 lines are inconsistent which is causing that the regenerate applicability and the retrieval of the applicability to use the different all_profiles_hash to look for profile. This is excluding the empty profile https://github.com/pulp/pulp/commit/0016f7ba16e1e3eae983527f98c6a662132894dd#diff-497c4c3e2dfb13249190d0776ea94a5eR347 This is not excluding the empty profile https://github.com/pulp/pulp/commit/0016f7ba16e1e3eae983527f98c6a662132894dd#diff-497c4c3e2dfb13249190d0776ea94a5eL705 How to reproduce the issue: Make sure everything is clean by deleting orphaned repo profile applicability celery -A pulp.server.async.app call pulp.server.maintenance.monthly.queue_monthly_maintenance Register a consumer and subscribe it to a repo. The consumer should have some applicable errata. $subscription-manager repos --enable rhel-7-server-rpms $subscription-manager repos --list Repo ID: rhel-7-server-rpms Repo Name: Red Hat Enterprise Linux 7 Server (RPMs) Repo URL: https://mysatellite.fqdn/pulp/repos/redhat/Library/content/dist/rhel/server/7/$releasever/$basearch/os Enabled: 1 $ yum list-sec rhel-7-server-rpms RHBA-2019:2224 RHBA-2018:3349 RHSA-2018:3665 Trigger the regenerate applicability for repos and wait for the task to finish. You'll get empty applicable errata.
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.
*** Bug 1848717 has been marked as a duplicate of this bug. ***
Steps to reproduce https://github.com/pulp/pulp/pull/3990#issuecomment-647978777
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.
All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST.
Steps to reproduce from the comment#4 didn't work for me. The only way I could reproduce the issue is the following: On pulp 2.21.2 1. create or update a host profile for a repo with no modules enabled on the host (so katello send an empty profile for modulemd type). Make sure profile is such that there is applicable content. 2. trigger applicability 3. try to retrieve applicability, you'll get the empty applicability 4. apply the patch form the attached upstream issue (will be in 2.21.3) 5. retrieve applicability again (no regeneration), it should be there.
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.
Verified on 6.8.0_17.0.
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 (Important: Satellite 6.8 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-2020:4366