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
2016-05-02 15:21:25 UTC
Description of problem:
An error dialogue with message "Consumer has been deleted" should pop up when you try to remove a subscription on a deleted consumer
Version-Release number of selected component (if applicable):
[root@dhcp35-31 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.51.15-1
subscription management rules: 5.15.1
subscription-manager: 1.17.5-1.el7
python-rhsm: 1.17.2-1.el7
[root@dhcp35-31 ~]#
How reproducible:
Steps to Reproduce:
1.Register the system and attach the subscriptions
2.Delete the consumer using the api or thro portal
3.launch gui ------> My subscriptions tab , try to remove the subscriptions
Actual results:
No error message is popped to user
Expected results:
error message is popped to user
Additional info:
[root@dhcp35-31 ~]# subscription-manager list --consumed
+-------------------------------------------+
Consumed Subscriptions
+-------------------------------------------+
Subscription Name: CloudForms Employee Subscription
Provides: Oracle Java (for RHEL Server)
Red Hat Software Collections Beta (for RHEL Server)
Red Hat CloudForms Beta
Red Hat Enterprise Linux Server
Red Hat CloudForms
Red Hat Beta
Red Hat Software Collections (for RHEL Server)
SKU: SER0412
Contract: 10041814
Account: 477931
Serial: 5347864009224470450
Pool ID: 8a85f9843affb61f013b1fae79e26a75
Provides Management: No
Active: True
Quantity Used: 1
Service Level: Self-Support
Service Type: L1-L3
Status Details: Subscription management service doesn't support Status Details.
Subscription Type:
Starts: 11/20/2012
Ends: 01/01/2022
System Type: Physical
[root@dhcp35-31 ~]# subscription-manager remove --all
Unit 44ceec40-a693-4073-8af3-77e9bdeb7bdc has been deleted
[root@dhcp35-31 ~]# subscription-manager remove --serial 5347864009224470450
Unit 44ceec40-a693-4073-8af3-77e9bdeb7bdc has been deleted
Created attachment 1168339[details]
Dialog with a message
Works fine with following version
[root@shwetha-workstation product]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.0.13-1
subscription management rules: 5.20
subscription-manager: 1.17.7-1.el7
python-rhsm: 1.17.2-1.el7
Description of problem: An error dialogue with message "Consumer has been deleted" should pop up when you try to remove a subscription on a deleted consumer Version-Release number of selected component (if applicable): [root@dhcp35-31 ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 0.9.51.15-1 subscription management rules: 5.15.1 subscription-manager: 1.17.5-1.el7 python-rhsm: 1.17.2-1.el7 [root@dhcp35-31 ~]# How reproducible: Steps to Reproduce: 1.Register the system and attach the subscriptions 2.Delete the consumer using the api or thro portal 3.launch gui ------> My subscriptions tab , try to remove the subscriptions Actual results: No error message is popped to user Expected results: error message is popped to user Additional info: [root@dhcp35-31 ~]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: CloudForms Employee Subscription Provides: Oracle Java (for RHEL Server) Red Hat Software Collections Beta (for RHEL Server) Red Hat CloudForms Beta Red Hat Enterprise Linux Server Red Hat CloudForms Red Hat Beta Red Hat Software Collections (for RHEL Server) SKU: SER0412 Contract: 10041814 Account: 477931 Serial: 5347864009224470450 Pool ID: 8a85f9843affb61f013b1fae79e26a75 Provides Management: No Active: True Quantity Used: 1 Service Level: Self-Support Service Type: L1-L3 Status Details: Subscription management service doesn't support Status Details. Subscription Type: Starts: 11/20/2012 Ends: 01/01/2022 System Type: Physical [root@dhcp35-31 ~]# subscription-manager remove --all Unit 44ceec40-a693-4073-8af3-77e9bdeb7bdc has been deleted [root@dhcp35-31 ~]# subscription-manager remove --serial 5347864009224470450 Unit 44ceec40-a693-4073-8af3-77e9bdeb7bdc has been deleted