Pulp tasks are not processed in Red Hat Satellite and it hangs in the running state with error E11000 duplicate key error index: pulp_database.task_status.$task_id_-1 dup key

Solution Verified - Updated -

Issue

  • Pulp tasks hangs in running state and are not processed with below error observed in /var/log/messages:

    INTERNAL ERROR: NotUniqueError(u'Tried to save duplicate unique keys (insertDocument :: caused by :: 11000 E11000 duplicate key error index: pulp_database.task_status.$task_id_-1  dup key: { : "xxxx" }
    

Environment

  • Red Hat Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content