Bug 998879

Summary: The status detail display error message in the GUI after the system has fully subscribed to the instance base subscription
Product: [Retired] Subscription Asset Manager Reporter: Liushihui <shihliu>
Component: candlepinAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED DUPLICATE QA Contact: SAM QE List <sam-qe-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.3CC: ckozak, liliu, sgao, shihliu
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-20 15:36:24 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
rhsm.log after run step4 and step5 none

Description Liushihui 2013-08-20 09:39:57 UTC
Description of problem:
After fully subscribe to the instance base subscription , the installed product status display "Unknown"

Version-Release number of selected component (if applicable):
subscription-manager-1.8.20-1.el5
virt-who-0.7-9.el5

How reproducible:
Always

Steps to Reproduce:
1. Registered to SAM server(10.66.12.119)
# subscription-manager register --username=admin --password=admin
2. Host subscribe to the instance base subscription(SKU:RH00003)
# subscription-manager subscribe --pool=8ac28da34095cf7a014095d3887400d9 --quantity=2
3. Check the consumed subscription 
# subscription-manager list --consumed
+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
Subscription Name: Red Hat Enterprise Linux Server, Premium
Provides:          Red Hat Enterprise Linux High Performance Networking (for RHEL Server) - Extended Update Support
                   Red Hat Enterprise Linux Server - Extended Update Support
                   Red Hat Enterprise Linux Server
                   Red Hat EUCJP Support (for RHEL Server) - Extended Update Support
                   Red Hat Enterprise Linux Resilient Storage (for RHEL Server) - Extended Update Support
                   Red Hat Software Collections (for RHEL Server)
                   Red Hat Beta
                   Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update Support
                   Red Hat Enterprise Linux Scalable File System (for RHEL Server) - Extended Update Support
                   Red Hat Software Collections Beta (for RHEL Server)
                   Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support
                   Red Hat S-JIS Support (for RHEL Server) - Extended Update Support
SKU:               RH00003
Contract:          10023540
Account:           5226325
Serial:            2678419616465863318
Pool ID:           8ac28da34095cf7a014095d3887400d9
Active:            True
Quantity Used:     2
Service Level:     Premium
Service Type:      L1-L3
Status Details:    
Starts:            07/12/2013
Ends:              07/11/2014

4.In the GUI, check "My subscription" tab, choose "Red Hat Enterprise Linux Server, Premium", see the status detail in the subscription Details

5.Check the subsciption status
# subscription-manager status
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Unknown

please see the rhsm log in the attachment after run step4 and step5

Actual results:
After step4, The status detail display"Subscription manager service doesn't support status details"
After step5, The status display "Unknown"

Expected results:
After step4, According to the gss test plan. you can see "In the GUI, My Subscriptions should include 1 attached Instance-Based subscription that is compliant (no warning icon is present and the Status Details should be empty)."
https://tcms.engineering.redhat.com/case/293490/?from_plan=9162#document
After step5, The status should display "current"

Additional info:
If it test against the stage candlepin ,it hasn't this problem. 
After step4,the status detail display "Subscription is Current"
After step5, teh status display"Current"

Comment 1 Liushihui 2013-08-20 09:41:38 UTC
Created attachment 788399 [details]
rhsm.log after run step4 and step5

Comment 2 Carter Kozak 2013-08-20 15:36:24 UTC

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