Fix #36716 - Add check for missing product-content#757
Fix #36716 - Add check for missing product-content#757m-bucher wants to merge 1 commit intotheforeman:masterfrom
Conversation
fc6e357 to
718e497
Compare
718e497 to
a561f25
Compare
a561f25 to
e6fb497
Compare
ekohl
left a comment
There was a problem hiding this comment.
I'm generally not a fan of SQL in a tool. Could the same information be retrieved from Candlepin using the official API? If so, could Katello do so and implement it as a rake command?
I'm mostly worried about Candlepin version updates which changes the DB somehow and verifying this part can easily be forgotten.
We don't have a good group to ping, but @ianballou may know or may know who can make it happen.
|
I agree with @ekohl that this is a little strange to have in foreman-maintain. It would be really perfect to have it exist as a rake script in Katello. However, this script does look like it would be incredibly helpful to have around for when users have issues with repositories not appearing in their It looks like you can get product content from products at least via the Candlepin API: If rewriting with the Candlepin API ends up being too much to prioritize, I'd be for keeping it as-is |
|
@ianballou @ekohl , I created a rake-task, which does similar things: Katello/katello#10740 At the moment I do not have a system that really has the issue this is intended to fix. |
source https://github.com/ATIX-AG/orcharhino-scripts/tree/main/find_missing_candlepin_product_contents