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 1559228 - Installed product can not be listed after deleting the consumer from the subscription management server side
Summary: Installed product can not be listed after deleting the consumer from the subs...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.10
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On: 1510759
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-22 02:47 UTC by qianzhan
Modified: 2019-07-03 14:22 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1510759
Environment:
Last Closed: 2019-07-03 12:27:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 Wei Liu 2018-03-22 03:17:25 UTC
This issue also exists on rhel6.10:

Version-Release number of selected component (if applicable):
subscription-manager-rhsm-1.20.10-3.el6.x86_64
subscription-manager-1.20.10-3.el6.x86_64
subscription-manager-firstboot-1.20.10-3.el6.x86_64
subscription-manager-rhsm-certificates-1.20.10-3.el6.x86_64
subscription-manager-gui-1.20.10-3.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.Install build RHEL-6.10-20180321.1

2.Check the status of installed product
[root@dhcp-128-56 ~]# subscription-manager list --installed
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Enterprise Linux Server
Product ID:     69
Version:        6.10 Beta
Arch:           x86_64
Status:         Unknown    <---unknown
Status Details: 
Starts:         
Ends:           

[root@dhcp-128-56 ~]# subscription-manager register
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Username: rnew_test
Password: 
The system has been registered with ID: dec1b172-5c24-4e20-8b9b-b089186a733d
The registered system name is: dhcp-128-56.nay.redhat.com
[root@dhcp-128-56 ~]# subscription-manager attach --auto
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status:       Subscribed

[root@dhcp-128-56 ~]# curl -k -u ***:*** --request DELETE https://subscription.rhsm.stage.redhat.com:443/subscription/consumers/dec1b172-5c24-4e20-8b9b-b089186a733d

[root@dhcp-128-56 ~]# subscription-manager list --installed
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Enterprise Linux Server
Product ID:     69
Version:        6.10 Beta
Arch:           x86_64
Status:         Subscribed   <---subscribed
Status Details: 
Starts:         11/09/2017
Ends:           11/08/2018

the status after deleting the consumer info from the server side should be consistent with before for its consumer info has been deleted.


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