Bug 1468268 - [RFE] when to download the productid file from the repodata on the CDN
[RFE] when to download the productid file from the repodata on the CDN
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: candlepin-bugs
John Sefler
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2017-07-06 10:03 EDT by John Sefler
Modified: 2017-07-06 10:10 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description John Sefler 2017-07-06 10:03:59 EDT
Description of problem:
Today, subscription-manager's yum plugin called "product-id" is used to download the repodata/productid file from the CDN when a package is yum installed from the CDN's repository.  The result will be a newly installed product certificate that lands in /etc/pki/product/.  I believe there is very little logic within subscription-manager to re-download the productid or detect that a newer replacement has been placed in the repodata directory on the CDN.  In the event that a business decision was made to re-name the product (or simply fix a typo in the product name) as observed in https://projects.engineering.redhat.com/browse/CONTENT-436 where product 290's name was changed from "Red Hat OpenShift Container Platform" to "Red Hat OpenShift Enterprise", today's subscription-manager would never download the productid with the new name.

Use this RFE to revisit the logic needed to appropriately re-download the productid from the repodata on the CDN.

Note You need to log in before you can comment on or make changes to this bug.