Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2038432

Summary: Error when importing content and same package belongs to multiple repositories
Product: Red Hat Satellite Reporter: Joniel Pasqualetto <jpasqual>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Vladimír Sedmík <vsedmik>
Severity: medium Docs Contact:
Priority: high    
Version: 6.10.1CC: ahumbe, dkliban, ggainey, pmoravec, rchan, vsedmik
Target Milestone: 6.11.0Keywords: PrioBumpGSS, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pulpcore-3.16.5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2071002 (view as bug list) Environment:
Last Closed: 2022-07-05 14:31:52 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 Joniel Pasqualetto 2022-01-07 21:54:20 UTC
Description of problem:
Exported tarball containing multiple repositories, when importing may fail if a package belongs to more than one repository.

Version-Release number of selected component (if applicable):


How reproducible:
All the time at customer's environment

Steps to Reproduce:
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, import the tarball generated by the export on item 2

Actual results:

Import task fails complaining about duplicate entries:


Expected results:

Import would ignore duplicates and finish successfully.

Additional info:

Comment 3 Dennis Kliban 2022-03-30 15:29:34 UTC
This bug was fixed in pulpcore 3.16.5, 3.17.5, and 3.18.0.

Comment 4 Dennis Kliban 2022-03-30 15:31:29 UTC
It's also available as far back as pulpcore 3.14.13 so it should be pulled into Sat 6.10 also.

Comment 8 errata-xmlrpc 2022-07-05 14:31:52 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.11 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-2022:5498