Subscription-manager is missing repository

Hi @gvde , I assume you will see my post on the other support thread, but in case someone finds it here, I have the same requests for data if you can determine the source original modification to these product contents in Candlepin via either Candlepin’s logs or anything in foreman-tasks in the matching date/time range:

  1. For the custom product(s) affected, are there any foreman tasks in the task history specifically related to these products, from the time period where the issue may have occurred?

  2. Can you find any requests referencing those affected productions in the candlepin logs, within the time/date range after the repos were known working, and before they were known broken?

This remediation should work with just the product ID from Katello. In this case it’s product ID 37:

cat << EOF |foreman-rake console
root = Katello::RootRepository.find(37);
ForemanTasks.async_task(::Actions::Candlepin::Product::ContentAdd, owner: root.product.organization.label, product_id: root.product.cp_id, content_id: root.content_id)
EOF

Wait for the task the complete, then try subscription-manager refresh on the affected content hosts.

Please let us know if that resolves it, and additionally, if there is any indication what is the original source of the change, we’d like to identify that and correct it.

Thanks again for your help on the other related thread,

3 Likes