[Red Hat Satellite 6.2]: generate errata applicability task occasionally raises duplicatekey error "E11000 duplicate key error index: pulp_database.repo_profile_applicability.$profile_hash_-1_repo_id_-1 dup key"
Issue
- After trying a package
install/remove/update
on the client or performing akatello-package-upload
, Pulp throws a repo_profile_applicability error:
PLP0000: insertDocument :: caused by :: 11000 E11000 duplicate key error index: pulp_database.repo_profile_applicability.$profile_hash_-1_repo_id_-1 dup key: { : "5f56ac35bd9030cb6989fbedbe3d694ad164ef9d372ca415342959649056da0d", : "OrgName-Red_Hat_Software_Collections__for_RHEL_Server_-Red_Hat_Software_Collections_RPMs_for_Red_Hat_Enterprise_Linux_7_Server_x86_64_7Server" }
Note: This is a rare scenario.
Environment
- Red Hat Satellite 6.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.