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 2122173 - Capsule sync fails with "Parsing interrupted: The repository metadata being synced into Pulp is erroneous in a way that makes it ambiguous (duplicate NEVRAs).."
Summary: Capsule sync fails with "Parsing interrupted: The repository metadata being s...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.10.6
Hardware: All
OS: Unspecified
high
high with 1 vote
Target Milestone: 6.11.3
Assignee: satellite6-bugs
QA Contact: Lai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-29 12:37 UTC by Odilon Sousa
Modified: 2023-04-13 06:52 UTC (History)
25 users (show)

Fixed In Version: pulp_rpm 3.17.10
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2103522
Environment:
Last Closed: 2022-09-28 16:28:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Hotfix RPM for Satellite 6.11.2 on RHEL7 (397.88 KB, application/x-rpm)
2022-09-13 17:33 UTC, wclark
no flags Details
Hotfix RPM for Satellite 6.11.2 on RHEL8 (382.17 KB, application/x-rpm)
2022-09-13 17:41 UTC, wclark
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github pulp pulp_rpm issues 2407 0 None closed Conflicting content being published 2022-08-29 12:37:47 UTC
Github pulp pulp_rpm pull 2668 0 None Merged Allow syncing duplicate NEVRAs, pick the newest one 2022-08-29 12:37:47 UTC
Github pulp pulp_rpm pull 2693 0 None Merged Ensure that Pulp never publishes repos with duplicate NEVRA 2022-08-29 12:37:47 UTC
Red Hat Issue Tracker SAT-12305 0 None None None 2022-08-29 12:37:47 UTC
Red Hat Issue Tracker SAT-15029 0 None None None 2023-01-22 05:00:42 UTC
Red Hat Knowledge Base (Solution) 6663481 0 None None None 2022-08-29 12:37:47 UTC
Red Hat Knowledge Base (Solution) 6962444 0 None None None 2022-08-29 12:37:47 UTC
Red Hat Product Errata RHBA-2022:6743 0 None None None 2022-09-28 16:28:59 UTC

Comment 3 Lai 2022-09-12 17:21:49 UTC
Steps to test

1. Create a product
2. Create 3 custom yum repos for the following:

https://rpm.releases.hashicorp.com/fedora/35/x86_64/stable/
https://yum.centreon.com/standard/21.10/el7/stable/x86_64/
http://mirror.centos.org/centos/7/opstools/x86_64/

3. Choose 'Additive', 'Content Only', or 'Complete Mirroring' for the repos.  Insure each repo has a different selection
4. Sync the custom repos
5. Create a cv and add the repos
6. Spin up a capsule and register it to satellite
7. Publish the cv
8. Check the auto capsule sync
9. You can also manually trigger a complete sync by going to infrastructure -> capsule -> <select capsule> -> complete sync


Expected result:
Capsule should sync without issues in both cases

Actual:
Capsule sync without issues in both cases

After registering the capsule to satellite with the ak, I was able to do yum repolist and get the synced repos.

Verified on 6.11.3 with python38-pulp-rpm-3.17.10-2.el8pc.noarch on rhel8 and rhel7

Comment 4 wclark 2022-09-13 17:33:42 UTC
Created attachment 1911571 [details]
Hotfix RPM for Satellite 6.11.2 on RHEL7

INSTALL INSTRUCTIONS:

1. Take a complete backup or snapshot of Satellite 6.11.2 server

2. Download the Hotfix RPM for Satellite 6.11.2 on RHEL7 attached to this BZ and copy it to Satellite server

3. # yum install ./tfm-pulpcore-python3-pulp-rpm-3.17.10-2.el7pc.noarch.rpm --disableplugin=foreman-protector

4. # satellite-maintain service restart

AFTER HOTFIX INSTALLATION:

1. Sync the affected Capsules

Comment 5 wclark 2022-09-13 17:37:45 UTC
Correction to the above instructions 'AFTER HOTFIX INSTALLATION':

Before syncing the affected Capsules, it is necessary to also install the Hotfix RPM on the Capsules so that they can sync the duplicated NEVRAs. The steps to install the hotfix on a Capsule server are the same.

Comment 6 wclark 2022-09-13 17:41:17 UTC
Created attachment 1911575 [details]
Hotfix RPM for Satellite 6.11.2 on RHEL8

INSTALL INSTRUCTIONS:

1. Take a complete backup or snapshot of Satellite 6.11.2 server

2. Download the Hotfix RPM for Satellite 6.11.2 on RHEL8 attached to this BZ and copy it to Satellite server

3. # yum install ./python38-pulp-rpm-3.17.10-2.el8pc.noarch.rpm --disableplugin=foreman-protector

4. # satellite-maintain service restart

5. Repeat the above steps to install the same pulp-rpm plugin hotfix on each Capsule server

AFTER HOTFIX INSTALLATION:

1. Sync the affected Capsules

Comment 11 errata-xmlrpc 2022-09-28 16:28:48 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.3 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:6743


Note You need to log in before you can comment on or make changes to this bug.