Satellite Capsule sync causes error "E11000 duplicate key error"

Solution Verified - Updated

Environment

Red Hat Satellite 6.4
Red Hat Satellite 6.5

Issue

Satellite Capsule sync causes error:

NotUniqueError: Update failed (E11000 duplicate key error collection: pulp_database.task_status index: task_id_-1 dup key: { : "<UUID>" })

While the error does appear in the logs, it does not appear to cause the job to fail as the errors are handled when they occur.

Resolution

This bug has been fixed in Red Hat Satellite/Capsule 6.6.
Bug report: This content is not included.1585407.
Errata: RHSA-2019:3172 - Security Advisory

For more KB articles/solutions related to Red Hat Satellite 6.x Capsule Sync Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x Capsule Sync Issues

SBR
Product(s)
Components
Category
Tags

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.