[DEBUG] Red Hat Satellite resolve remove repository error ‘Unable to find content with the ID XXX’

Error Code:

Katello::Errors::CandlepinError: Unable to find content with the ID XXX

Solution One: Add Relevant Licenses

Solution One Step One: Make sure which repository is marked as Orphaned

Access Satellite Web –> Content –> Sync Status –> Find the Orphaned repository

Solution One Step Two: Add Relevant Licenses

(Brief steps)

Solution Two: Remove Orphaned Repositories

Solution Two Step One: Make sure which repository is marked as Orphaned

Access Satellite Web –> Content –> Sync Status –> Find the Orphaned repository

Solution Two Step Two: Remove Orphaned Repositories

Access Satellite Web –> Content –> Red Hat Repositories –> Remove Orphaned Repositories

Solution Two Step Three: Resume Removing Orphaned Repositories Task Status (If Removing Orphaned Repositories Task is Stuck)

3.1 Access the concerned task

Access Satellite Web –> Monitor –> Tasks –> Search for the concerned task

3.2 Check both the Run and Finalize tabs for the sub-task

Click on the DynFlow Console button and check both the Run and Finalize tabs for the sub-task

3.3 Skip the ERROR sub-task

(Brief steps)

(Add: usually it’s the Actions::Candlepin::Environment::SetContent one )

3.4 Resume Removing Orphaned Repositories Task Status

(Brief steps)

Reference:

https://access.redhat.com/solutions/6654081