Bug 2071002

Summary: Error when importing content and same package belongs to multiple repositories
Product: Red Hat Satellite Reporter: Brad Buckingham <bbuckingham>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Lai <ltran>
Severity: medium Docs Contact:
Priority: high    
Version: 6.10.1CC: ahumbe, dkliban, ggainey, pmoravec, zhunting
Target Milestone: 6.10.5Keywords: PrioBumpGSS, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2038432 Environment:
Last Closed: 2022-05-04 12:59:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 2 Lai 2022-04-21 14:03:17 UTC
Steps to retest:

1. Sync 2 repositories that may contain the same package. Example:

Red_Hat_Enterprise_Linux_7_Server_RPMs_x86_64_7Server
Red_Hat_Software_Collections_RPMs_for_Red_Hat_Enterprise_Linux_7_Server_x86_64_7Server

2. Export the entire library

3. On another satellite, scp the files to /var/lib/pulp/imports and run the import command

Expected:
Import should succeed

Actual:
Import does succeed

I also checked the package + errata number for both rhel repos on both satellite and they match.  It's also worth noting that the import/export is different in 6.10 than it was in 6.9.

Verified on 6.10.5_01 with python3-pulpcore-3.14.14-1.el7pc.noarch

Comment 7 errata-xmlrpc 2022-05-04 12:59:13 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 (Important: Satellite 6.10.5 Async Bug Fix Update), 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-2022:1708