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.
Description of problem:
When subscription "Red Hat Employee Subscription" with sku SYS0395 expires, its details are missing in CLI and GUI.
Version-Release number of selected component (if applicable):
subscription-manager: 1.13.22-1.el7
python-rhsm: 1.13.10-1.el7
How reproducible:
always
Steps to Reproduce:
1. Register and attach subscription "Red Hat Employee Subscription" whose sku is SYS0395.
[root@dhcp-128-77 ~]# subscription-manager list --consumed
+-------------------------------------------+
Consumed Subscriptions
+-------------------------------------------+
Subscription Name: Red Hat Employee Subscription
Provides: Oracle Java (for RHEL Server)
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Load Balancer (for RHEL Server)
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux High Availability (for RHEL Server)
Red Hat Enterprise Linux Resilient Storage (for RHEL Server)
SKU: SYS0395
Contract:
Account: 5501040
Serial: 1528604779300673877
Pool ID: 8ac2008e4bff2d9b014bff5845bf04e1
Provides Management: No
Active: True
Quantity Used: 1
Service Level: None
Service Type: Self-Support
Status Details: Guest has not been reported on any host and is using a temporary unmapped guest subscription.
Subscription Type: Standard
Starts: 12/31/2014
Ends: 03/21/2015
System Type: Virtual
2. Set the client system expired
[root@dhcp-128-77 ~]# date -s 20150322
Sun Mar 22 00:00:00 CST 2015
3. Check the consumed subscription in CLI.
[root@dhcp-128-77 ~]# subscription-manager list --consumed
+-------------------------------------------+
Consumed Subscriptions
+-------------------------------------------+
4. Check the subscription details in GUI.
All the details in My Subscriptions tab are missing. Please see attachment: "expired subscription details missing in GUI.png"
Actual results:
As step 3 and step 4, consumed subscriptions can not be listed in CLI, and its details are missing in GUI.
Expected results:
The expired subscription details should be visible in CLI and GUI.
Additional info:
I suspect this was resolved in:
commit cce1c670bb8f59dfd6c4548928fb5c634b91a0d7
Author: Adrian Likins <alikins>
Date: Mon Mar 16 14:12:14 2015 -0400
1201727: Handle reasons with expired ent id
Reasons that include an 'entitlement_id' attribute that
references a entitlement id that is not currently in
cert_sorters valid_entitlement_certs (for ex, a
cert that has since expired) were causing tracebacks.
Add test cases to cover that scenario, and some additional
tests in test_reasons.py to improve coverage.
Description of problem: When subscription "Red Hat Employee Subscription" with sku SYS0395 expires, its details are missing in CLI and GUI. Version-Release number of selected component (if applicable): subscription-manager: 1.13.22-1.el7 python-rhsm: 1.13.10-1.el7 How reproducible: always Steps to Reproduce: 1. Register and attach subscription "Red Hat Employee Subscription" whose sku is SYS0395. [root@dhcp-128-77 ~]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Red Hat Employee Subscription Provides: Oracle Java (for RHEL Server) Red Hat Enterprise Linux Workstation Red Hat Enterprise Linux Load Balancer (for RHEL Server) Red Hat Enterprise Linux Server Red Hat Enterprise Linux High Availability (for RHEL Server) Red Hat Enterprise Linux Resilient Storage (for RHEL Server) SKU: SYS0395 Contract: Account: 5501040 Serial: 1528604779300673877 Pool ID: 8ac2008e4bff2d9b014bff5845bf04e1 Provides Management: No Active: True Quantity Used: 1 Service Level: None Service Type: Self-Support Status Details: Guest has not been reported on any host and is using a temporary unmapped guest subscription. Subscription Type: Standard Starts: 12/31/2014 Ends: 03/21/2015 System Type: Virtual 2. Set the client system expired [root@dhcp-128-77 ~]# date -s 20150322 Sun Mar 22 00:00:00 CST 2015 3. Check the consumed subscription in CLI. [root@dhcp-128-77 ~]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ 4. Check the subscription details in GUI. All the details in My Subscriptions tab are missing. Please see attachment: "expired subscription details missing in GUI.png" Actual results: As step 3 and step 4, consumed subscriptions can not be listed in CLI, and its details are missing in GUI. Expected results: The expired subscription details should be visible in CLI and GUI. Additional info: