Bug 2266139

Summary: Failed incremental CV import shows error: duplicate key value violates unique constraint "rpm_updatecollectionname_name_update_record_id_6ef33bed_uniq"
Product: Red Hat Satellite Reporter: Odilon Sousa <osousa>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: sganar
Severity: unspecified Docs Contact:
Priority: high    
Version: 6.13.0CC: ahumbe, alsouza, dalley, dkliban, ggainey, hyu, iballou, jpasqual, juqiao, keiwilli, rchan, rlavi, sganar, sleahy, zhunting
Target Milestone: 6.14.3Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-pulp-rpm-3.19.12-1.el8pc Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2253381 Environment:
Last Closed: 2024-03-27 13:19:31 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 sganar 2024-03-11 17:51:25 UTC
Verified.

Tested on Satellite 6.14.3 Snap 1
python39-pulp-rpm-3.19.12-1.el8pc.noarch

Steps followed: 
1. Enable some repos, and sync them with the immediate download policy
2. Create a CV add the repos and publish it
3. Export complete the CV
4. Enable and sync some more repos, add them to the CV and publish it
5. Export the CV - incremental
6. Try to import the CV - complete and then incremental

Observation:
1. Content export was successful and no issues were observed.
2. Content import was Successful and no issues were observed.

Comment 6 errata-xmlrpc 2024-03-27 13:19:31 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.14.3 Async Security 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-2024:1536