Project

General

Profile

Actions

Bug #32008

closed

Unsetting repository architecture restriction doesn't reach clients

Added by Jonathon Turel about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Repositories
Target version:
Fixed in Releases:
Found in Releases:

Description

... because Candlepin never gets updated!

The candlepin db state can be verified with this query:

SELECT product.uuid AS "Product UUID", product.name AS "Product Name", product.product_id, content.content_id, content.uuid, content.label, content.name, content.arches FROM cp_pool pool JOIN cp2_products product ON pool.product_uuid = product.uuid JOIN cp2_product_content pc ON product.uuid = pc.product_uuid JOIN cp2_content content ON content.uuid = pc.content_uuid ORDER BY product.name ASC;

The implication of this change is that, for example: accidentally setting i386 architecture and then unsetting it will permanently lock the Content in Candlepin to i386 while the UI will show that no restriction is set because the RootRepository has the correct value. The workaround is to recreate the repo which is not ideal.

The fix should include a migration to update Candlepin to reflect whatever is currently set on the RootRepository

Actions #1

Updated by Jonathon Turel about 3 years ago

  • Bugzilla link set to 1934795
Actions #2

Updated by James Jeffers about 3 years ago

  • Triaged changed from No to Yes
Actions #3

Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9262 added
Actions #4

Updated by The Foreman Bot about 3 years ago

  • Fixed in Releases Katello 4.2.0 added
Actions #5

Updated by Lucy Fu about 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by The Foreman Bot about 3 years ago

  • Pull request https://github.com/Katello/katello/pull/9296 added
Actions

Also available in: Atom PDF