I see the following in katello when trying to sync with repos for Rocky 9:
Parsing interrupted: The repository metadata being synced into Pulp is erroneous in a way that makes it ambiguous (duplicate PKGIDs), and therefore we do not allow it to be synced in ‘mirror_complete’ mode. Please choose a sync policy which does not mirror repository metadata.
Please read Error message (or warning) about ambiguous metadata during sync · Issue #2402 · pulp/pulp_rpm · GitHub for more details.
Using the following upstream repos where I’m seeing the issue:
rocky.deadbatteries.work/9/BaseOS/x86_64/os
Issue started about a week ago. Can someone verify no duplicate packages in repos?
Hi there!
I suspect this is a temporary issue with this single mirror node 
Tested with the CDN (dl.rl.o) and a closer mirror to me, and both have no issues (I’m on Foreman 3.14 if this matters),
so this issue might resolve itself on its own in the next hours 
Cheers, Lukas
If anyone else runs into this issue, I had two change my repo settings for each katello repo:
Mirror on Sync: no
Download Policy: on_demand
Then run:
hammer repository synchronize --id your_repo_id --skip-metadata-check true --organization-id your_org_id
This fixed the issue, Katello was able to sync the repo again.
1 Like
Good to hear that you could resolve it, did you try a full sync before that?
I did, I could not get it to work. I haven’t tried flipping it back to the way it was before yet. I’ll likely try that after my current patching cycle is completed. I appreciate the follow up.
1 Like