Bug 1335056

Summary: The content host status is improper in satellite web UI.
Product: Red Hat Satellite Reporter: qianzhan
Component: WebUIAssignee: satellite6-bugs <satellite6-bugs>
WebUI sub component: Katello QA Contact: Katello QA List <katello-qa-list>
Status: CLOSED DUPLICATE Docs Contact:
Severity: unspecified    
Priority: unspecified CC: bbuckingham
Version: 6.2.0   
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-06 17:22:02 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
Consumed_subscription_in_subscription_manager_gui_is_green_and_quantity_is_1.png
none
Consumed_subscription_web_UI_status_icon_is_red_and_attached_is_0.png none

Description qianzhan 2016-05-11 08:58:25 UTC
Description of problem:
The content host status is improper in satellite web UI.

Version-Release number of selected component (if applicable):
Satellite-6.2.0-RHEL-6-20160506.0

How reproducible:
always

Steps to Reproduce:
1. Register and attach subscriptions against satellite server.
[root@dhcp-128-71 ~]# subscription-manager list --consumed
+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
Subscription Name:   CloudForms (10-pack)
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:                 MCT2358
Contract:            10752428
Account:             5584289
Serial:              1713820022325160506
Pool ID:             8ac9835e549e5fbe01549e70f0d5019e
Provides Management: Yes
Active:              True
Quantity Used:       1
Service Level:       Premium
Service Type:        L1-L3
Status Details:      Subscription is current
Subscription Type:   Standard
Starts:              02/29/2016
Ends:                02/27/2017
System Type:         Physical

2. Check the status from subscription-manager-gui: The status icon is green and 1 subscription consumed. Please see attachment 'Consumed_subscription_in_subscription_manager_GUI_is_green_and_quantity_is_1.png'

3. Check the status from satellite web UI:
The status is red and the attached quantity is '0 out of 50'. Please see attachment 'Consumed_subscription_web_UI_status_icon_is_red_and_attached_is_0.png'

Actual results:
As step 3.

Expected results:
The status in web UI should be the same with subscription-manager-gui.

Additional info:

Comment 1 qianzhan 2016-05-11 08:59:10 UTC
Created attachment 1156057 [details]
Consumed_subscription_in_subscription_manager_gui_is_green_and_quantity_is_1.png

Comment 2 qianzhan 2016-05-11 08:59:35 UTC
Created attachment 1156059 [details]
Consumed_subscription_web_UI_status_icon_is_red_and_attached_is_0.png

Comment 3 Brad Buckingham 2016-06-06 17:22:02 UTC

*** This bug has been marked as a duplicate of bug 1337522 ***