[Satellite6] foreman-rake katello:reindex (or reimport) fails on Katello::Resources::Candlepin::Consumer: 410 Gone

Solution Verified - Updated -

Issue

  • foreman-rake katello:reindex (or katello:reimport sice 6.2.7) fails after the line "Re-indexing Katello::System" with the message:
..
Re-indexing Katello::System
rake aborted!
Katello::Resources::Candlepin::Consumer: 410 Gone {"displayMessage":"Unit 66fdf601-764e-4cf8-a5cf-ecf0ebe5a0af has been deleted","requestUuid":"46423f10-6661-4517-9531-38123a3f5da6","deletedId":"66fdf601-764e-4cf8-a5cf-ecf0ebe5a0af"}
  • Can't delete the host machine from Satellite and getting the following error:
Error: Katello::Resources::Candlepin::CandlepinResource: 404 Resource Not Found {"displayMessage":"Runtime Error RESTEASY001185: Could not find resource for relative : /consumers//entitlements of full path: https://localhost:8443/candlepin/consumers//entitlements at org.jboss.resteasy.core.registry.PathParamSegment.matchPattern:209","requestUuid":"3c1d0f37-227f-56a6-9537-88d3bf6b11e9"} (GET /candlepin/consumers//entitlements)

Environment

  • Red Hat Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.