[Satellite 6] can't delete 'duplicated' content hosts [404 Resource Not Found]

Solution Verified - Updated -

Issue

The 'subscription-manager register' command was accidentally run twice on two terminals. As a result, the corresponding host is now registered twice in the Satellite.
Now the tasks to destroy content hosts fail with this error:

Katello::Resources::Candlepin::Consumer: 404 Resource Not Found {"displayMessage":"Consumer with id 50070ab9-74be-4fb6-9135-eb4346235628 could not be found.","requestUuid":"7c6be7a0-4ba1-4ca8-8028-4f2b29e1d15f"} (DELETE /candlepin/consumers/50070ab9-74be-4fb6-9135-eb4346235628)

Environment

Satellite 6.3, rhel7.x

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