Greetings Foreman/Katello Community,
We have started to see this error on our Smart Proxies:
“Cannot create repository version. More than one rpm.package content with the duplicate values for name, epoch, version, release, arch, location_href.”
My questions are how do we fix this and how do we determine what the problem repo/package is?
Part of the errors include:
Actions::Pulp3::CapsuleContent::Sync
Input:
{“repository_id”=>1855,
“smart_proxy_id”=>4,
“options”=>{“skip_metadata_check”=>false},
“remote_user”=>“admin”,
“remote_cp_user”=>“XXXXXXX”,
“current_request_id”=>“dcff2ec7-9921-4606-9ed2-e5eed09f6f67”,
“current_timezone”=>“America/Los_Angeles”,
“current_organization_id”=>nil,
“current_location_id”=>2,
“current_user_id”=>4}
Output:
{“smart_proxy_history_id”=>5950,
“pulp_tasks”=>
But when I do a hammer repository list on the main katello sever I am not seeing RepoID 1855.
Problem:
We are running Katello 4.2.1 and Foreman 3.0.1
Lately syncs to our Smart Proxy are reporting this error:
“Cannot create repository version. More than one rpm.package content with the duplicate values for name, epoch, version, release, arch, location_href.”
Expected outcome:
The sync should complete and be able to handle exceptions. I believe the rest of the content has made it over but I am not 100% certain.
Foreman and Proxy versions:
We are running Katello 4.2.1 and Foreman 3.0.1
Foreman and Proxy plugin versions:
Distribution and version:
CentOS 7.9
Other relevant data:
Any insight would be most appreciated.
Thx,
Eledor