| Summary: | product cert of first add-on product got removed when a second add-on product was installed | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Keqin Hong <khong> | ||||||
| Component: | subscription-manager | Assignee: | William Poteat <wpoteat> | ||||||
| Status: | CLOSED WORKSFORME | QA Contact: | IDM QE LIST <seceng-idm-qe-list> | ||||||
| Severity: | urgent | Docs Contact: | |||||||
| Priority: | urgent | ||||||||
| Version: | 5.7 | CC: | dgoodwin, dgregor, llim, ndai | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-12-16 14:31:30 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 715031 | ||||||||
| Attachments: |
|
||||||||
|
Description
Keqin Hong
2011-11-04 13:46:02 UTC
Created attachment 531769 [details]
rhsm.log
Created attachment 531771 [details]
screen output
I believe this is related to the unregister in step 3, this would cause the first addon repo to be removed on the system, and the code that manages the product certs probably detects this and cleans it up. The code does appear to try not to delete product certs for repos that are *disabled*, but if the repo is no longer there, that is probably what is triggering this behavior. This is arguably a bug, still trying to decide, but appears to be of minor impact. If you were to use your two addon repos from the same account, which would be the normal use case, then the product cert should *not* get cleaned up. (In reply to comment #4) > The code does appear to try not to delete product certs for repos that are > *disabled*, but if the repo is no longer there, that is probably what is > triggering this behavior. This is arguably a bug, still trying to decide, but > appears to be of minor impact. I would vote for that being a bug. Removing a yum repo doesn't imply that the product has been removed. We should only remove product certs when all packages that had been installed from the repo tied to the cert are erased. To further complicate matters, I cannot reproduce this, I've run through all the exact same commands on the exact same accounts, my 83.pem remains... Trying to figure out where to go with this bug. I've been trying to reproduce on an old 6.2 test build with updated subscription-manager packages, but have been unable to do so. Keqin, is there anything you could do to help reverify or confirm if everything is ok *if* you don't unsubscribe in the middle? We suspect this should be fine in the normal use case but we do not have infrastructure where we can test it yet. I'm making another attempt with a much newer 6.2 ISO, will post how it goes. |