Bug 761133 - Subscription Assistant dialog neglects to assist compliance of Partially Subscribed products.
Summary: Subscription Assistant dialog neglects to assist compliance of Partially Subs...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.8
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 5.8
Assignee: John Sefler
QA Contact: IDM QE LIST
URL:
Whiteboard:
: 740759 (view as bug list)
Depends On:
Blocks: 715031 772956
TreeView+ depends on / blocked
 
Reported: 2011-12-07 18:28 UTC by John Sefler
Modified: 2012-02-21 06:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
No description necessary
Clone Of:
Environment:
Last Closed: 2012-02-21 06:43:41 UTC
Target Upstream Version:


Attachments (Terms of Use)
partially subscribed products are now included in the Subscription Assistant dialog (95.53 KB, image/png)
2011-12-21 19:45 UTC, John Sefler
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0154 0 normal SHIPPED_LIVE subscription-manager bug fix update 2012-02-20 15:06:04 UTC

Description John Sefler 2011-12-07 18:28:27 UTC
Description of problem:
Although the Subscription Assistant tool has evolved to assist subscribing to multi-entitlement pools with a positive quantity, the Subscription Assistant only works on products that are "Not Subscribed".  Products that are already "Partially Subscribed" are not being considered by the Subscription Assistant tool.

Version-Release number of selected component (if applicable):
[root@jsefler-onprem-5server ~]# rpm -q subscription-manager-gnome
subscription-manager-gnome-0.98.5-1.el5


How reproducible:


Steps to Reproduce:
1.Partially subscribe to an already installed product using a multi-entitlement pool.
2.Start the Subscription Assistant

  
Actual results:
The partially subscribed product is excluded from the Products list

Expected results:
Since the partially subscribed product is not fully compliant, the subscription assistant should help find pools that will provide for the partial socket coverage.


Additional info:

Comment 2 Devan Goodwin 2011-12-19 14:40:10 UTC
*** Bug 740759 has been marked as a duplicate of this bug. ***

Comment 3 Devan Goodwin 2011-12-19 16:14:32 UTC
As it stands now, adding partially valid products to this screen is just going to be confusing. The list of products out of compliance on the given date shows only two pieces of information, the name of the product, and the end date.

It will be very hard to convey that this is partially valid with just this information, so how do we want to represent that you are completing a partially valid subscription here? 

Perhaps the best would be to just display the status icon beside the installed product name (red or yellow), would this be sufficient?

Comment 4 Devan Goodwin 2011-12-20 20:29:08 UTC
Fixed in subscription-manager.git:

master: 559ef21dd8bde82a7bcb0e7b5f8ccc4868a77ada

RHEL-5.8: 175b4db6aa82003b1872182d57b0746c91ba4801

Comment 5 John Sefler 2011-12-21 19:45:01 UTC
Created attachment 549074 [details]
partially subscribed products are now included in the Subscription Assistant dialog

[root@jsefler-onprem-5server ~]# rpm -qa | grep subscription-manager
subscription-manager-gnome-0.98.9-1.git.3.4f81890.el5_7
subscription-manager-firstboot-0.98.9-1.git.3.4f81890.el5_7
subscription-manager-migration-0.98.9-1.git.3.4f81890.el5_7
subscription-manager-0.98.9-1.git.3.4f81890.el5_7

Status icons have newly been included in the rows of the installed products in the Subscription Assistant.

[root@jsefler-onprem-5server ~]# ls /etc/pki/product/
100000000000002.pem  37060.pem
[root@jsefler-onprem-5server ~]# subscription-manager facts --list | grep cpu_socket
cpu.cpu_socket(s): 4
lscpu.cpu_socket(s): 4

[root@jsefler-onprem-5server ~]# subscription-manager register --username testuser1 --password password --org admin
The system has been registered with id: c914366c-6011-466b-84c3-1375e4c42bda 

[root@jsefler-onprem-5server ~]# subscription-manager list --avail | egrep "Awesome OS for x86_64 *$" -A7
ProductName:          	Stackable with Awesome OS for x86_64
ProductId:            	stackable-with-awesomeos-x86_64
PoolId:               	8a90f857345e267001345e2769c102e4
Quantity:             	5                        
Multi-Entitlement:    	No                       
Expires:              	01/18/2013               
MachineType:          	physical                 

ProductName:          	Awesome OS for x86_64    
ProductId:            	awesomeos-x86_64         
PoolId:               	8a90f857345e267001345e2769fd02f9
Quantity:             	10                       
Multi-Entitlement:    	Yes                      
Expires:              	01/18/2013               
MachineType:          	physical                 

ProductName:          	Awesome OS for x86_64    
ProductId:            	awesomeos-x86_64         
PoolId:               	8a90f857345e267001345e276a210304
Quantity:             	5                        
Multi-Entitlement:    	Yes                      
Expires:              	01/18/2013               
MachineType:          	physical                 

--
ProductName:          	Stackable with Awesome OS for x86_64
ProductId:            	stackable-with-awesomeos-x86_64
PoolId:               	8a90f857345e267001345e2769a102da
Quantity:             	10                       
Multi-Entitlement:    	No                       
Expires:              	01/18/2013               
MachineType:          	physical                 

[root@jsefler-onprem-5server ~]# subscription-manager subscribe --pool 8a90f857345e267001345e2769fd02f9 --quantity 1
Successfully consumed a subscription from the pool with id 8a90f857345e267001345e2769fd02f9

[root@jsefler-onprem-5server ~]# subscription-manager list --installed
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
ProductName:          	Awesome OS for x86_64 Bits
Version:              	3.11                     
Arch:                 	x86_64                   
Status:               	Partially Subscribed     
Starts:               	11/19/2011               
Expires:              	01/18/2013               

ProductName:          	Awesome OS Server Bits   
Version:              	6.1                      
Arch:                 	ALL                      
Status:               	Not Subscribed           
Starts:               	None                     
Expires:              	None  

[root@jsefler-onprem-5server ~]# 

^^^ ALL OF THIS LOOKS GOOD.  NOW START UP THE GUI AND CLICK THE "Update" BUTTON SEE attached screenshot.
[root@jsefler-onprem-5server ~]# subscription-manager-gui&

1. VERIFIED.. The partially subscribed product circled is now listed in the Subscription Assistant dialog.
2. VERIFIED.. The default quantity suggested in the subscription assistant for the yellow product is just enough to complete the socket coverage.

Moving to VERIFIED

Comment 6 William Poteat 2012-01-23 15:45:18 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No description necessary

Comment 7 errata-xmlrpc 2012-02-21 06:43:41 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.

http://rhn.redhat.com/errata/RHBA-2012-0154.html


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