Bug 753057

Summary: The “All Available subscriptions” tab only displays physical pool in GUI
Product: Red Hat Enterprise Linux 5 Reporter: Suyuan Li <suli>
Component: subscription-managerAssignee: William Poteat <wpoteat>
Status: CLOSED CURRENTRELEASE QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 5.8CC: huiwang, jmolet, khong, syeghiay
Target Milestone: rc   
Target Release: 5.9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 752756 Environment:
Last Closed: 2013-01-09 17:45:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 752756    
Bug Blocks: 771748    
Attachments:
Description Flags
virt and physical sum none

Comment 1 Suyuan Li 2011-11-16 02:48:21 UTC
update Steps to Reproduce:

1. subscription-manager register --username=*** --password=***
2. subscription-manager-gui 
   press 'All Available Subscriptions' button, then press 'update'
3. check result.

and if you do as following steps, bug 753093 happen.

1. subscription-manager-gui
    click "Register System"
    Input <rhlogin> <pwd> <system_name>, and click register

2. press 'All Available Subscriptions' button, then press 'update'
3. check result.

Comment 2 William Poteat 2012-06-14 17:58:56 UTC
This shows correct behavior by build 1.0.4-1.

Comment 3 J.C. Molet 2012-06-21 19:06:19 UTC
Created attachment 593563 [details]
virt and physical sum

Tested with version:
python-rhsm-1.0.2-1.git.2.d5c3d05.el5
subscription-manager-1.0.4-1.git.1.b28337e.el5
subscription-manager-gui-1.0.4-1.git.1.b28337e.el5


As seen in the screenshot, both virtual and physical pools are shown and the 'Type' field under All available subscriptions is set to Both.

The math for the available subscriptions total checks out:
>>> 400-35+400-11+100-60+100-11 = 883

This also matches the cli output:

[root@jmolet-vm0 ~]# subscription-manager list --available
+-------------------------------------------+
    Available Subscriptions
+-------------------------------------------+

Subscription Name:    	Red Hat Enterprise Linux Server, Premium (8 sockets) (Up to
                        4 guests)
Pool Id:              	8a99f981370984da01370986406e0023
Quantity:             	40
Service Level:        	PREMIUM
Service Type:         	L1-L3
Multi-Entitlement:    	No
Ends:                 	04/26/2013
Machine Type:         	physical

Subscription Name:    	Red Hat Enterprise Linux Server, Premium (8 sockets) (Up to
                        4 guests)
Pool Id:              	8a99f981370984da0137098640900031
Quantity:             	365
Service Level:        	PREMIUM
Service Type:         	L1-L3
Multi-Entitlement:    	No
Ends:                 	04/26/2013
Machine Type:         	virtual

Subscription Name:    	Red Hat Enterprise Linux Server, Premium (8 sockets) (Up to
                        4 guests)
Pool Id:              	8a99f981370984da01370986410c0043
Quantity:             	89
Service Level:        	PREMIUM
Service Type:         	L1-L3
Multi-Entitlement:    	No
Ends:                 	04/30/2013
Machine Type:         	physical

Subscription Name:    	Red Hat Enterprise Linux Server, Premium (8 sockets) (Up to
                        4 guests)
Pool Id:              	8a99f981370984da01370986418b0051
Quantity:             	389
Service Level:        	PREMIUM
Service Type:         	L1-L3
Multi-Entitlement:    	No
Ends:                 	04/30/2013
Machine Type:         	virtual



Marking VERIFIED.

Comment 4 Bryan Kearney 2013-01-09 17:45:09 UTC
Batch change of verified bugs which must have missed making the errata.