Bug 1937534

Summary: pulp3: running with pulp3 on has race condition during sync that could cause applicable errata for a host to be empty or incorrect
Product: Red Hat Satellite Reporter: Justin Sherrill <jsherril>
Component: RepositoriesAssignee: Justin Sherrill <jsherril>
Status: CLOSED ERRATA QA Contact: Tasos Papaioannou <tpapaioa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: pcreech
Target Milestone: 6.9.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-3.18.1.20-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-21 13:26:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Justin Sherrill 2021-03-10 21:33:39 UTC
Steps to Reproduce:
1.  Perform content migration & switchover  on a 6.9 satellite
2.  Register after switchover and ensure it has applicable errata
3.  Force sync (skip-metadata-check) a repo that the host is assigned to
4.  check the applicable errata for for the host

Actual results:

Sometimes you'll see the applicable errata for 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

Comment 1 Bryan Kearney 2021-03-12 00:05:24 UTC
Upstream bug assigned to jsherril

Comment 2 Bryan Kearney 2021-03-12 00:05:26 UTC
Upstream bug assigned to jsherril

Comment 4 Tasos Papaioannou 2021-03-23 14:05:46 UTC
Verified on 6.9.0 snap 18.

Comment 7 errata-xmlrpc 2021-04-21 13:26:20 UTC
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