Bug 918104
Summary: | System.uuid is displayed in the subscription-manager facts --list,after the consumer has been deleted | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Shwetha Kallesh <skallesh> |
Component: | subscription-manager | Assignee: | William Poteat <wpoteat> |
Status: | CLOSED WONTFIX | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 5.10 | CC: | bkearney, fsharath, jgalipea, jmolet, jsefler, spandey, wpoteat |
Target Milestone: | beta | ||
Target Release: | 5.10 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-06-03 13:28:50 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 840995, 920191 |
Description
Shwetha Kallesh
2013-03-05 13:45:01 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release. This appears to be working for me. I am moving this back to ON_QA to re-verify. The system has been registered with id: 1c376316-a809-421c-beeb-e8e52a29435d [root@bkearney Downloads]# subscription-manager facts --list | grep uuid dmi.system.uuid: 0D3DAA81-5180-11CB-9A43-9BBE6E3134F0 system.uuid: 1c376316-a809-421c-beeb-e8e52a29435d [root@bkearney Downloads]# subscription-manager unregister System has been unregistered. [root@bkearney Downloads]# subscription-manager facts --list | grep uuid dmi.system.uuid: 0D3DAA81-5180-11CB-9A43-9BBE6E3134F0 [root@bkearney Downloads]# Testing with 1.8.5 Version: # rpm -qa | egrep "subscription-manager|python-rhsm" python-rhsm-1.8.9-1.git.7.214419e.el5 subscription-manager-migration-data-1.11.2.7-1.git.0.1dfd00e.el5 subscription-manager-gui-1.8.6-1.git.7.96019b0.el5 subscription-manager-firstboot-1.8.6-1.git.7.96019b0.el5 subscription-manager-migration-1.8.6-1.git.7.96019b0.el5 subscription-manager-1.8.6-1.git.7.96019b0.el5 How to reproduce: # subscription-manager unregister System has been unregistered. # subscription-manager clean All local data removed # subscription-manager register Username: testuser1 Password: Organization: admin The system has been registered with ID: d891c7ae-5799-431b-87ba-d5b870f07738 # subscription-manager identity Current identity is: d891c7ae-5799-431b-87ba-d5b870f07738 name: dhcp129-152.rdu.redhat.com org name: Admin Owner org ID: admin # subscription-manager facts --list | grep uuid dmi.system.uuid: bfe614ba-7823-1b05-edb2-70c90b169083 >> system.uuid: d891c7ae-5799-431b-87ba-d5b870f07738 virt.uuid: bfe614ba-7823-1b05-edb2-70c90b169083 # curl -k -u admin:admin --request DELETE https://fsharath-candlepin.usersys.redhat.com:8443/candlepin/consumers/d891c7ae-5799-431b-87ba-d5b870f07738 >> identity shows the consumer is deleted # subscription-manager identity Consumer d891c7ae-5799-431b-87ba-d5b870f07738 has been deleted # subscription-manager facts --list | grep uuid dmi.system.uuid: bfe614ba-7823-1b05-edb2-70c90b169083 >>system.uuid: d891c7ae-5799-431b-87ba-d5b870f07738 virt.uuid: bfe614ba-7823-1b05-edb2-70c90b169083 >> restarting rhsmcertd # rhsmcertd -n # subscription-manager facts --list | grep uuid dmi.system.uuid: bfe614ba-7823-1b05-edb2-70c90b169083 >> system.uuid: d891c7ae-5799-431b-87ba-d5b870f07738 virt.uuid: bfe614ba-7823-1b05-edb2-70c90b169083 >> Updating facts # subscription-manager facts --update Consumer d891c7ae-5799-431b-87ba-d5b870f07738 has been deleted # subscription-manager facts --list | grep uuid dmi.system.uuid: bfe614ba-7823-1b05-edb2-70c90b169083 >> system.uuid: d891c7ae-5799-431b-87ba-d5b870f07738 virt.uuid: bfe614ba-7823-1b05-edb2-70c90b169083 This is a facts bug, Facts does not get updates after the cosumer is deleted. This is too minor to worry about. The rhsmcertd process handles the moving of the consumer certificate. That will make the uuid go away. |