Bug 2103100

Summary: Import library with overlapping content can fail with unique-constraint violation
Product: Red Hat Satellite Reporter: Odilon Sousa <osousa>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Lai <ltran>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.10.2CC: dkliban, ggainey, osousa, pcreech, pmoravec, rchan, swadeley
Target Milestone: 6.11.1Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-pulpcore-3.16.10-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2056702 Environment:
Last Closed: 2022-07-27 17:27:10 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 1 Brad Buckingham 2022-07-07 12:57:08 UTC
Moving to POST based upon discussion in Satellite standup.

Comment 2 Lai 2022-07-14 12:30:43 UTC
Steps to retest:
1. Have multiple repositories with overlapping content (I chose rhel7)
2. Export the the entire library
3. Import the library

Expected result:
Import should be successful and contains all the library content

Actual result:
Import is successful and contains all the library content


There's no concrete way to test this since it was observed in RHEL7 and on one customer db.

Verified on 6.11.1 snap 1 on both rhel7 and rhel8

Comment 7 errata-xmlrpc 2022-07-27 17:27:10 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 (Satellite 6.11.1 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/RHBA-2022:5742