Bug 800999 - Add new --servicelevel option to subscription-manager list --available
Summary: Add new --servicelevel option to subscription-manager list --available
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 6.3
Assignee: Michael Stead
QA Contact: Entitlement Bugs
URL:
Whiteboard:
Depends On:
Blocks: 738066
TreeView+ depends on / blocked
 
Reported: 2012-03-07 14:21 UTC by Michael Stead
Modified: 2012-06-20 13:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-20 13:06:48 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0804 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2012-06-19 19:51:31 UTC

Description Michael Stead 2012-03-07 14:21:11 UTC
Description of problem:
A --servicelevel option would allow filtering the available subscriptions by SLA.

Expected results:
When using this option, the available subscription list results will be filtered by the SLA provided.

i.e subscription-manager list --available --servicelevel Premium

This will show all available subscriptions with an SLA of 'Premium'

Comment 2 John Sefler 2012-03-07 17:05:24 UTC
Note: This new option for the subscription-manager list module should only be used in combination with --available or --consumed (in the same way that --all is tolerated only with --available)

Comment 3 Michael Stead 2012-03-19 18:11:03 UTC
Fix added in commit: a5fa07fffe9d67aa542dbeac503ef56ea7f09006

Will be available in subscription-manager-0.99.11-1+

Comment 4 Shwetha Kallesh 2012-03-20 09:16:50 UTC
Moving to verified.

RPM used:
[root@kvm-guest-04 product]# rpm -qa | grep subscription-manager
subscription-manager-gnome-0.99.10-1.git.80.a5fa07f.el6.x86_64
subscription-manager-firstboot-0.99.10-1.git.80.a5fa07f.el6.x86_64
subscription-manager-migration-data-1.12.1.1-1.git.6.ea6813e.el6.noarch
subscription-manager-migration-0.99.10-1.git.80.a5fa07f.el6.x86_64
subscription-manager-0.99.10-1.git.80.a5fa07f.el6.x86_64


[root@kvm-guest-04 product]# subscription-manager list --consumed --servicelevel Premium
+-------------------------------------------+
    Consumed Product Subscriptions
+-------------------------------------------+

Product Name:         	Clustering Bits          
Contract Number:      	7                        
Account Number:       	12331131231              
Serial Number:        	1749805726707093393      
Active:               	True                     
Quantity Used:        	1                        
Service Level:        	Premium                  
Service Type :        	Level 3                  
Begins:               	03/18/2012               
Expires:              	03/18/2013               

Product Name:         	Awesome OS Server Bits   
Contract Number:      	7                        
Account Number:       	12331131231              
Serial Number:        	1749805726707093393      
Active:               	True                     
Quantity Used:        	1                        
Service Level:        	Premium                  
Service Type :        	Level 3                  
Begins:               	03/18/2012               
Expires:              	03/18/2013          



[root@kvm-guest-04 product]# subscription-manager list --available --servicelevel Premium
+-------------------------------------------+
    Available Subscriptions
+-------------------------------------------+

Product Name:         	Awesome OS Server Bundled
Product Id:           	awesomeos-server         
Pool Id:              	00000000362ac75601362ac820dd0235
Quantity:             	5                        
Service Level:        	Premium                  
Service Type:        	Level 3                  
Multi-Entitlement:    	No                       
Expires:              	03/18/2013               
Machine Type:         	physical

Comment 6 errata-xmlrpc 2012-06-20 13:06:48 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-0804.html


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