Bug 1703768

Summary: Status Details on subscription-manager-gui does not consist with CLI
Product: Red Hat Enterprise Linux 7 Reporter: qianzhan
Component: subscription-managerAssignee: Jiri Hnidek <jhnidek>
Status: CLOSED ERRATA QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: low Docs Contact:
Priority: high    
Version: 7.7CC: cdonnell, csnyder, jhnidek, jomurphy, jsefler
Target Milestone: rcKeywords: Regression, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: subscription-manager-1.24.7-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 12:57:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Status_Details_on_gui_does_not_consist_with_cli.png
none
status_details_on_gui_consists_with_cli.png none

Description qianzhan 2019-04-28 08:10:22 UTC
Description of problem:
Status Details on subscription-manager-gui does not consist with CLI

Version-Release number of selected component (if applicable):
subscription-manager-1.24.4-1.el7.x86_64
tfm-rubygem-katello-3.10.0.46-1.el7sat.noarch
katello-3.10.0-0.6.rc1.el7sat.noarch
candlepin-2.5.15-1.el7sat.noarch

How reproducible:
always

Steps to Reproduce:
1. Register RHEL-7.7-20190424.0 against Satellite6.5-snapshot25.0, and auto-attach.

2. Check status details in CLI, it shows 'current' status:
[root@dhcp-129-232 ~]# subscription-manager list --con
+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
Subscription Name:   Red Hat Enterprise Linux Server, Premium (Physical or Virtual Nodes)
Provides:            Red Hat CodeReady Linux Builder for x86_64
                     Red Hat Enterprise Linux Atomic Host
                     Red Hat Enterprise Linux Atomic Host Beta
                     Red Hat Container Images
                     Red Hat Developer Tools (for RHEL Server)
                     Red Hat Developer Tools Beta (for RHEL Server)
                     Red Hat Container Images Beta
                     Red Hat Developer Toolset (for RHEL Server)
                     Red Hat Enterprise Linux High Performance Networking (for RHEL Server) - Extended Update Support
                     Red Hat Enterprise Linux for x86_64
                     Red Hat Enterprise Linux Resilient Storage (for RHEL Server) - Extended Update Support
                     dotNET on RHEL (for RHEL Server)
                     Red Hat Enterprise Linux Server - Extended Update Support
                     Red Hat Enterprise Linux Scalable File System (for RHEL Server) - Extended Update Support
                     dotNET on RHEL Beta (for RHEL Server)
                     Red Hat Beta
                     Red Hat EUCJP Support (for RHEL Server) - Extended Update Support
                     Oracle Java (for RHEL Server)
                     Red Hat Software Collections (for RHEL Server)
                     Oracle Java (for RHEL Server) - Extended Update Support
                     Red Hat S-JIS Support (for RHEL Server) - Extended Update Support
                     Red Hat Software Collections Beta (for RHEL Server)
                     Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update Support
                     Red Hat Ansible Engine
                     Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support
                     Red Hat Enterprise Linux Server
SKU:                 RH00003
Contract:            11844895
Account:             6190160
Serial:              6480353684417860618
Pool ID:             8a90c4a86a49825e016a5290cbc919a1
Provides Management: No
Active:              True
Quantity Used:       1
Service Level:       Premium
Service Type:        L1-L3
Status Details:      Subscription is current
Subscription Type:   Instance Based
Starts:              01/30/2019
Ends:                01/30/2020
System Type:         Physical


[root@dhcp-129-232 ~]# subscription-manager status
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Current

System Purpose Status: Matched



3. Check the status details of consumed subscription on subscription-manager-gui, and it shows message 'Subscription management service doesn't support Status Details'. 

Actual results:
As step 3.

Expected results:
The status details on gui should be same with that of CLI.

Additional info:
Please refer attachment 'Status_Details_on_gui_does_not_consist_with_cli.png'

Comment 2 qianzhan 2019-04-28 08:10:47 UTC
Created attachment 1559596 [details]
Status_Details_on_gui_does_not_consist_with_cli.png

Comment 3 Chris Snyder 2019-04-29 18:25:01 UTC
Crag,

Is this a regression? Does the same status details message show against Sat 6.4?

Comment 4 Craig Donnelly 2019-04-29 18:52:18 UTC
Chris,

This is a regression from RHEL 7.6 + Satellite 6.4.2. (subscription-manager-1.21.10-2.el7)

When checking 'Status Details:' on this config with a valid subscription, it reports: 'Subscription is current.'

Comment 8 qianzhan 2019-05-29 01:23:39 UTC
This bug still exists on subscription-manager-1.24.6-1.el7.x86_64 against Satellite6.5.0.

Failed to verify this bug, so move it from ON_QA to NEW.

Comment 9 Chris Snyder 2019-05-29 13:30:07 UTC
Hi qianzhan,

This bug was not fixed until subscription-manager version: subscription-manager-1.24.7-1

Please retest with that version.

Comment 10 qianzhan 2019-05-30 03:33:04 UTC
(In reply to Chris Snyder from comment #9)
> Hi qianzhan,
> 
> This bug was not fixed until subscription-manager version:
> subscription-manager-1.24.7-1
> 
> Please retest with that version.

Okay, Chris. I will wait for RHEL7.7 compose after RHEL-7.7-20190528.3 to verify this bug.

Comment 11 qianzhan 2019-06-10 06:10:53 UTC
Verified on RHEL-7.7-20190606.1 against Satellite6.6-snapshot6.0:
subscription-manager-1.24.10-1.el7.x86_64
fm-rubygem-katello-3.12.0.rc2-11.master.el7sat.noarch
katello-3.12.0-0.5.master.el7sat.noarch
candlepin-2.6.6-1.el7sat.noarch

Please refer attachment 'status_details_on_gui_consists_with_cli.png'.

Comment 12 qianzhan 2019-06-10 06:11:30 UTC
Created attachment 1578925 [details]
status_details_on_gui_consists_with_cli.png

Comment 14 errata-xmlrpc 2019-08-06 12:57:32 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://access.redhat.com/errata/RHBA-2019:2008