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 1213418 - Mismatch in "compliance status" message when imported entitlement cert to a disconnected system
Summary: Mismatch in "compliance status" message when imported entitlement cert to a d...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: William Poteat
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel67
TreeView+ depends on / blocked
 
Reported: 2015-04-20 14:06 UTC by Rehana
Modified: 2015-07-22 06:53 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-22 06:53:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
GUI_compliance_msg (50.94 KB, image/png)
2015-04-20 14:08 UTC, Rehana
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1345 0 normal SHIPPED_LIVE subscription-manager and python-rhsm bug fix and enhancement update 2015-07-20 17:59:53 UTC

Description Rehana 2015-04-20 14:06:54 UTC
Description of problem:
Observed a mismatch in compliance status displayed in CLI and GUI for subscription-manager consumed --list , when imported a certificate on a disconnected system


Version-Release number of selected component (if applicable):
subscription-manager: 1.14.5-1.el6
python-rhsm: 1.14.2-1.el6


How reproducible:


Steps to Reproduce:
1.Register client Via https://access.stage.redhat.com
subscription management --> units -->Register system 
2.attach subscription from the website
3.Now download the attached cert from the site
4.Import it to a disconnected system

[root@dhcp70-144 home]# subscription-manager identity
This system is not yet registered. Try 'subscription-manager register --help' for more information.

[root@dhcp70-144 home]# subscription-manager import --cert=/home/8a85f9823e3d5e43013e3ddd4e2a0977.pem 
Successfully imported certificate 8a85f9823e3d5e43013e3ddd4e2a0977.pem
[root@dhcp70-144 home]# subscription-manager list --consumed
+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
Subscription Name:   Red Hat Employee Subscription
Provides:            JBoss Enterprise Web Platform
                     Red Hat Enterprise Virtualization for IBM Power
                     Red Hat Enterprise Linux Workstation
                     Red Hat Enterprise Linux 7 Addons High Touch Beta
                     Oracle Java (for RHEL Client)
                     Red Hat Storage Management Console (for RHEL Server)
                     Red Hat Enterprise Linux for Power, big endian - Extended Update Support
                     MRG Management
                     Red Hat Enterprise MRG Messaging 2
                     Oracle Java (for RHEL Compute Node) - Extended Update Support
                     Red Hat Developer Toolset (for RHEL Client)
                     Red Hat Beta
                     Red Hat Enterprise Linux Atomic Host Beta
                     Red Hat Enterprise Linux for Real Time
                     Red Hat Enterprise Linux 7 Workstation High Touch Beta
                     Red Hat OpenStack
                     Red Hat OpenStack Advanced
                     Red Hat Enterprise Linux Load Balancer (for RHEL Server)
                     Red Hat Developer Toolset (for RHEL for IBM POWER)
                     Red Hat S-JIS Support (for RHEL Server)
                     Red Hat Hardware Certification Test Suite
                     Red Hat Container Development Kit
                     Red Hat Enterprise Linux 7 for HPC Compute Node High Touch Beta
                     JBoss Enterprise Application Platform
                     Red Hat Enterprise Linux Server - Extended Update Support
                     Red Hat Enterprise Linux 7 Resilient Storage High Touch Beta
                     Oracle Java (for RHEL Workstation)
                     Red Hat Enterprise Linux Server
                     Red Hat Enterprise Linux for Power, big endian
                     Red Hat Ceph Storage MON
                     Red Hat Enterprise Linux 7 Server High Touch Beta
                     Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update Support
                     Red Hat Certification (for RHEL Server)
                     Red Hat Container Images
                     Red Hat Enterprise Linux Scalable File System (for RHEL Workstation)
                     JBoss Enterprise Application Platform - ELS
                     Red Hat Developer Toolset (for RHEL for IBM POWER) - Extended Update Support
                     Oracle Java (for RHEL Compute Node)
                     Oracle Java (for RHEL Server)
                     Red Hat Enterprise Linux 7 for IBM POWER High Touch Beta
                     Red Hat Developer Toolset (for RHEL Server EUS)
                     Red Hat Storage Server for On-premise
                     Red Hat Enterprise Linux Desktop
                     Red Hat Enterprise Linux Atomic Host HTB
                     Red Hat Ceph Storage Calamari
                     Red Hat Storage Nagios Server
                     Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
                     Red Hat EUCJP Support (for RHEL Server) - Extended Update Support
                     Red Hat Enterprise Linux 7 Load Balancer High Touch Beta
                     Red Hat Enterprise Linux Resilient Storage (for RHEL Server)
                     Red Hat Enterprise MRG Messaging 3 for RHEL 7
                     Red Hat Enterprise Linux Scalable File System (for RHEL Server) - Extended Update Support
                     Red Hat OpenShift Enterprise Infrastructure
                     Red Hat Enterprise Linux for Web Servers
                     Red Hat Container Images Beta
                     Red Hat Ceph Storage Installer
                     Red Hat Enterprise Linux Server for ARM Beta
                     Red Hat Enterprise Linux High Availability (for RHEL Server)
                     Red Hat OpenShift Enterprise Client Tools Beta
                     Red Hat OpenShift Enterprise Client Tools
                     Red Hat Enterprise Linux for SAP Hana
                     Red Hat Enterprise Linux for Power, little endian
                     Red Hat Enterprise Linux 7 for IBM z Systems High Touch Beta
                     Red Hat Developer Toolset (for RHEL Workstation)
                     JBoss Enterprise Web Server
                     Red Hat OpenStack Beta Advanced
                     Red Hat Enterprise Linux for IBM z Systems
                     Red Hat EUCJP Support (for RHEL Server)
                     Red Hat Enterprise Linux Atomic Host
                     Red Hat Enterprise Linux 7 Desktop High Touch Beta
                     Oracle Java (for RHEL Server) - Extended Update Support
                     Red Hat Enterprise Linux Resilient Storage (for RHEL Server) - Extended Update Support
                     Red Hat Enterprise Linux 7 High Availability High Touch Beta
                     Red Hat OpenShift Enterprise Application Node
                     Red Hat Enterprise Linux Scalable File System (for RHEL Server)
                     Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support
                     Red Hat Container Images HTB
                     Red Hat Enterprise Linux for Scientific Computing
                     Red Hat Enterprise Virtualization for Power, little endian
                     Red Hat OpenShift Enterprise JBoss EAP add-on Beta
                     Red Hat OpenShift Enterprise JBoss EAP add-on
                     Red Hat Ceph Storage OSD
SKU:                 ES0113909
Contract:            10169793
Account:             477931
Serial:              2540437037473543428
Pool ID:             8a85f9823e3d5e43013e3ddd4e2a0977
Provides Management: Yes
Active:              True
Quantity Used:       1
Service Level:       SELF-SUPPORT
Service Type:        L1-L3
Status Details:      Subscription has not begun -->> NOTICE the status
Subscription Type:   
Starts:              04/24/2013
Ends:                12/31/2021
System Type:         Physical

5. Observed on GUI  "Subscription management service doesnt support status details" message was displayed (PFA )

Actual results:
mismatch in compliance status message

Expected results:
On CLI , the message should change to "Subscription management service doesnt support status details"

Additional info:

Comment 1 Rehana 2015-04-20 14:08:39 UTC
Created attachment 1016390 [details]
GUI_compliance_msg

Comment 2 William Poteat 2015-05-01 17:42:48 UTC
master commit 3f537b1ee3b1032cab6ea7281c26ffa7eeb4aaae

Comment 4 Rehana 2015-05-04 06:19:45 UTC
Retested on ,

# subscription-manager version
server type: This system is currently not registered.
subscription management server: 0.9.49-1
subscription management rules: 5.15
subscription-manager: 1.14.6-1.el6
python-rhsm: 1.14.2-1.el6


[root@dhcp70-144 home]# subscription-manager identity
This system is not yet registered. Try 'subscription-manager register --help' for more information.

[root@dhcp70-144 home]# subscription-manager status
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Unknown
    

[root@dhcp70-144 home]# subscription-manager import --cert=/home/8a85f9823e3d5e43013e3ddd4e2a0977.pem
Successfully imported certificate 8a85f9823e3d5e43013e3ddd4e2a0977.pem
[root@dhcp70-144 home]# subscription-manager list --consumed
+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
Subscription Name:   Red Hat Employee Subscription
Provides:            JBoss Enterprise Web Platform
                     Red Hat Enterprise Virtualization for IBM Power
                     Red Hat Enterprise Linux Workstation
                     Red Hat Enterprise Linux 7 Addons High Touch Beta
                     Oracle Java (for RHEL Client)
                     Red Hat Storage Management Console (for RHEL Server)
                     Red Hat Enterprise Linux for Power, big endian - Extended Update Support
                     MRG Management
                     Red Hat Enterprise MRG Messaging 2
                     Oracle Java (for RHEL Compute Node) - Extended Update Support
                     Red Hat Developer Toolset (for RHEL Client)
                     Red Hat Beta
                     Red Hat Enterprise Linux Atomic Host Beta
                     Red Hat Enterprise Linux for Real Time
                     Red Hat Enterprise Linux 7 Workstation High Touch Beta
                     Red Hat OpenStack
                     Red Hat OpenStack Advanced
                     Red Hat Enterprise Linux Load Balancer (for RHEL Server)
                     Red Hat Developer Toolset (for RHEL for IBM POWER)
                     Red Hat S-JIS Support (for RHEL Server)
                     Red Hat Hardware Certification Test Suite
                     Red Hat Container Development Kit
                     Red Hat Enterprise Linux 7 for HPC Compute Node High Touch Beta
                     JBoss Enterprise Application Platform
                     Red Hat Enterprise Linux Server - Extended Update Support
                     Red Hat Enterprise Linux 7 Resilient Storage High Touch Beta
                     Oracle Java (for RHEL Workstation)
                     Red Hat Enterprise Linux Server
                     Red Hat Enterprise Linux for Power, big endian
                     Red Hat Ceph Storage MON
                     Red Hat Enterprise Linux 7 Server High Touch Beta
                     Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update Support
                     Red Hat Certification (for RHEL Server)
                     Red Hat Container Images
                     Red Hat Enterprise Linux Scalable File System (for RHEL Workstation)
                     JBoss Enterprise Application Platform - ELS
                     Red Hat Developer Toolset (for RHEL for IBM POWER) - Extended Update Support
                     Oracle Java (for RHEL Compute Node)
                     Oracle Java (for RHEL Server)
                     Red Hat Enterprise Linux 7 for IBM POWER High Touch Beta
                     Red Hat Developer Toolset (for RHEL Server EUS)
                     Red Hat Storage Server for On-premise
                     Red Hat Enterprise Linux Desktop
                     Red Hat Enterprise Linux Atomic Host HTB
                     Red Hat Ceph Storage Calamari
                     Red Hat Storage Nagios Server
                     Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
                     Red Hat EUCJP Support (for RHEL Server) - Extended Update Support
                     Red Hat Enterprise Linux 7 Load Balancer High Touch Beta
                     Red Hat Enterprise Linux Resilient Storage (for RHEL Server)
                     Red Hat Enterprise MRG Messaging 3 for RHEL 7
                     Red Hat Enterprise Linux Scalable File System (for RHEL Server) - Extended Update Support
                     Red Hat OpenShift Enterprise Infrastructure
                     Red Hat Enterprise Linux for Web Servers
                     Red Hat Container Images Beta
                     Red Hat Ceph Storage Installer
                     Red Hat Enterprise Linux Server for ARM Beta
                     Red Hat Enterprise Linux High Availability (for RHEL Server)
                     Red Hat OpenShift Enterprise Client Tools Beta
                     Red Hat OpenShift Enterprise Client Tools
                     Red Hat Enterprise Linux for SAP Hana
                     Red Hat Enterprise Linux for Power, little endian
                     Red Hat Enterprise Linux 7 for IBM z Systems High Touch Beta
                     Red Hat Developer Toolset (for RHEL Workstation)
                     JBoss Enterprise Web Server
                     Red Hat OpenStack Beta Advanced
                     Red Hat Enterprise Linux for IBM z Systems
                     Red Hat EUCJP Support (for RHEL Server)
                     Red Hat Enterprise Linux Atomic Host
                     Red Hat Enterprise Linux 7 Desktop High Touch Beta
                     Oracle Java (for RHEL Server) - Extended Update Support
                     Red Hat Enterprise Linux Resilient Storage (for RHEL Server) - Extended Update Support
                     Red Hat Enterprise Linux 7 High Availability High Touch Beta
                     Red Hat OpenShift Enterprise Application Node
                     Red Hat Enterprise Linux Scalable File System (for RHEL Server)
                     Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support
                     Red Hat Container Images HTB
                     Red Hat Enterprise Linux for Scientific Computing
                     Red Hat Enterprise Virtualization for Power, little endian
                     Red Hat OpenShift Enterprise JBoss EAP add-on Beta
                     Red Hat OpenShift Enterprise JBoss EAP add-on
                     Red Hat Ceph Storage OSD
SKU:                 ES0113909
Contract:            10169793
Account:             477931
Serial:              2540437037473543428
Pool ID:             8a85f9823e3d5e43013e3ddd4e2a0977
Provides Management: Yes
Active:              True
Quantity Used:       1
Service Level:       SELF-SUPPORT
Service Type:        L1-L3
Status Details:      Subscription management service doesn't support Status Details.                     --->> STATUS IS NOW UPDATED
Subscription Type:   
Starts:              04/24/2013
Ends:                12/31/2021
System Type:         Physical

[root@dhcp70-144 home]# subscription-manager list --installed

+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Enterprise Linux Server
Product ID:     69
Version:        6.6
Arch:           x86_64
Status:         Unknown
Status Details: 
Starts:         
Ends:           

Product Name:   Awesome OS Instance Server Bits
Product ID:     32060
Version:        6.1
Arch:           ALL
Status:         Unknown
Status Details: 
Starts:         
Ends:           


Observed that now both subscription-manager CLI and GUI displayed same compliance message " Subscription management service doesn't support Status Details" 

Marking Verified!!!

Comment 5 errata-xmlrpc 2015-07-22 06:53:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1345.html


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