Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
DescriptionShwetha Kallesh
2020-08-05 09:56:45 UTC
Description of problem:
Message "displayName" is displayed when user runs identity command after the consumer is deleted at server side
Version-Release number of selected component (if applicable):
[root@kvm-08-guest19 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 3.1.14-1
subscription management rules: 5.40
subscription-manager: 1.27.12-1.el8
How reproducible:
Steps to Reproduce:
[root@kvm-08-guest19 ~]# subscription-manager register --force
Unregistering from: shwetha-workstation.usersys.redhat.com:8443/candlepin
The system with UUID cbce818f-2af8-4d1e-a2dc-16d8b7b4cbea has been unregistered
All local data removed
Registering to: shwetha-workstation.usersys.redhat.com:8443/candlepin
Username: admin
Password:
Hint: User "admin" is member of following organizations: admin, donaldduck, snowwhite
Organization: admin
CACHED_SYSPURPOSE: /var/lib/rhsm/cache/syspurpose.json
The system has been registered with ID: 0416d86e-54f6-455e-80e0-9a97300995f9
The registered system name is: kvm-08-guest19.hv2.lab.eng.bos.redhat.com
Red Hat Insights registration enabled.
To opt out of Red Hat Insights, run "insights-client --unregister" or reregister with "--no-insights".
Delete the consumer at server side
[root@kvm-08-guest19 ~]# curl --stderr /dev/null --insecure --user admin:admin --request DELETE https://shwetha-workstation.usersys.redhat.com:8443/candlepin/consumers/0416d86e-54f6-455e-80e0-9a97300995f9
Run the identity command
[root@kvm-08-guest19 ~]# subscription-manager identity
'displayName'
Actual results:
displayName
Expected results:
Consumer profile "0416d86e-54f6-455e-80e0-9a97300995f9" has been deleted from the server. You can use command clean or unregister to remove local profile.
Additional info: