RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1019753 - Consumerid not getting removed from facts list after consumer is deleted from server
Summary: Consumerid not getting removed from facts list after consumer is deleted from...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Devan Goodwin
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel70
TreeView+ depends on / blocked
 
Reported: 2013-10-16 11:02 UTC by spandey
Modified: 2015-04-23 23:57 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 13:22:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description spandey 2013-10-16 11:02:48 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:

Prerequisites :  
Rhel7 with following subscription-manager rpm 
subscription-manager-1.10.3-1.git.8.10ad2b2.el7.x86_64
subscription-manager-migration-data-2.0.4-1.git.0.6bebf6f.el7.noarch
subscription-manager-firstboot-1.10.3-1.git.8.10ad2b2.el7.x86_64
subscription-manager-migration-1.10.3-1.git.8.10ad2b2.el7.x86_64
subscription-manager-gui-1.10.3-1.git.8.10ad2b2.el7.x86_64


Steps to Repro : 
Testcase : https://tcms.engineering.redhat.com/case/276276/?from_plan=5846

Register client to candlepin and delete comsumer from server 
restart rhsmcertd service 

Expected Result : 
After 2 min consumer uuid should not displayed in facts list .

Actual Result : 
Consumer uuid is displaying in facts list  even after 4 min .

oot@dhcp201-190 facts]# curl -X DELETE -k -u admin:admin  https://10.65.201.193:8443/candlepin/consumers/397e4379-d1b4-4ecd-a1d4-bff7888bb4bd
[root@dhcp201-190 facts]# service rhsmcertd restart
Redirecting to /bin/systemctl restart  rhsmcertd.service
[root@dhcp201-190 facts]# subscription-manager facts --list | grep system.uuid
dmi.system.uuid: 8e2d3d65-50c4-b96a-a737-ec965d647777
system.uuid: 397e4379-d1b4-4ecd-a1d4-bff7888bb4bd
[root@dhcp201-190 facts]# date
Thu Oct 17 03:22:39 IST 2013
[root@dhcp201-190 facts]# date
Thu Oct 17 03:26:43 IST 2013
[root@dhcp201-190 facts]# subscription-manager facts --list | grep system.uuid
dmi.system.uuid: 8e2d3d65-50c4-b96a-a737-ec965d647777
system.uuid: 397e4379-d1b4-4ecd-a1d4-bff7888bb4bd
[root@dhcp201-190 facts]#

Comment 2 Devan Goodwin 2013-11-06 13:26:12 UTC
In looking into this bug we decided to remove this fact entirely. It was not actually a fact, you would not see it on the server, it was just added on the fly when you viewed facts on the client, which we discussed and decided was weird behaviour and we'd be better without.

Instead we move the UUID display to the facts dialog above the facts table itself. It remains in the identity command on the CLI.

Fixed in subscription-manager.git: 83c6d38b1eca32d9cf5c34a1ab42141dbebb322c

The display of the UUID keys off whether or not there is a consumer cert in /etc/pki/consumer. As we know, if you delete a consumer remotely, certs are archived on the next rhsmcertd run, so between the time you delete the consumer and the next rhsmcertd run, you will still see UUID in the facts dialog.

Once rhsmcertd runs, it will no longer appear as the consumer cert is gone.

Comment 5 spandey 2013-11-08 07:11:31 UTC
Verified Using following rpm 

subscription-manager-firstboot-1.10.6-1.el7.x86_64
subscription-manager-migration-data-2.0.5-1.git.0.3be2ad4.el7.noarch
subscription-manager-1.10.6-1.el7.x86_64
subscription-manager-gui-1.10.6-1.el7.x86_64
subscription-manager-migration-1.10.6-1.el7.x86_64


I can see the change mentioned in comment 2 , so resolving defect as verified

Comment 6 Ludek Smid 2014-06-13 13:22:02 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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