Bug 812373 - Terminology Change to Subscription-Manager list --installed & --consumed
Summary: Terminology Change to Subscription-Manager list --installed & --consumed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: William Poteat
QA Contact: Entitlement Bugs
URL:
Whiteboard:
Depends On:
Blocks: 771748 827225
TreeView+ depends on / blocked
 
Reported: 2012-04-13 14:29 UTC by Matt Reid
Modified: 2013-01-08 03:50 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-08 03:50:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0033 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2013-01-08 08:38:27 UTC

Description Matt Reid 2012-04-13 14:29:23 UTC
Description of problem:
Within the GUI of Subscription-Manager we always refer to the bookends of a date range as Starts and Ends, but in the output of list --available and --consumed we refer to them as Starts and Expires. We should change Expires to Ends to maintain consistency throughout Sub-Man and also match RHSM Web.
--consumed goes one step farther and says Begins/Expires, so Begins should be changed to Starts.

Version-Release number of selected component (if applicable):
subscription-manager-1.0.0-1.git.19.46c8d80

Additional info:
Sample Output:
    [root@candlepin-vm po]# subscription-manager list --installed
    +-------------------------------------------+
    Installed Product Status
    +-------------------------------------------+
    Product Name: Awesome OS Server Bits
    Product ID: 37060
    Version: 6.1
    Arch: ALL
    Status: Subscribed
    Starts: 03/19/2012
    Expires: 03/19/2013
    
    [root@candlepin-vm po]# subscription-manager list --consumed
    +-------------------------------------------+
    Consumed Product Subscriptions
    +-------------------------------------------+
    
    Product Name: Clustering Bits
    Contract Number: 36
    Account Number: 12331131231
    Serial Number: 2543650778294820470
    Active: True
    Quantity Used: 1
    Service Level: Standard
    Service Type : L1-L3
    Begins: 03/19/2012
    Expires: 03/19/2013

Comment 1 RHEL Program Management 2012-04-17 02:08:47 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 2 Alex Wood 2012-05-23 20:28:23 UTC
commit 73dd0ee27ad0987ccf6802764b42af70c1560037
Author: William Poteat <wpoteat>
Date:   Thu May 17 11:36:17 2012 -0400

    812373: Terminology change for list --installed and --consumed

Comment 3 Sharath Dwaral 2012-06-20 21:51:41 UTC
Version

RHEL 5.9

# rpm -qa | grep subscription-manager
subscription-manager-migration-1.0.4-1.git.0.0fe81f8.el5
subscription-manager-1.0.4-1.git.0.0fe81f8.el5
subscription-manager-migration-data-1.11.1.1-1.git.2.c7fbafe.el5
subscription-manager-gui-1.0.4-1.git.0.0fe81f8.el5
subscription-manager-firstboot-1.0.4-1.git.0.0fe81f8.el5

# rpm -qa | grep python-rhsm
python-rhsm-1.0.2-1.git.1.4659671.el5

Actual Results:

# subscription-manager list --available
+-------------------------------------------+
    Available Subscriptions
+-------------------------------------------+

Subscription Name:    	Awesome OS Modifier
Pool Id:              	8a90f8fd37ec135d0137ec1447b1024a
Quantity:             	5
Service Level:        	
Service Type:         	
Multi-Entitlement:    	No
Ends:                 	06/13/2013
Machine Type:         	physical

Subscription Name:    	Awesome OS Server Bundled
Pool Id:              	8a90f8fd37ec135d0137ec14485c025c
Quantity:             	5
Service Level:        	Premium
Service Type:         	Level 3
Multi-Entitlement:    	No
Ends:                 	06/13/2013
Machine Type:         	physical


# subscription-manager list --consumed
+-------------------------------------------+
   Consumed Product Subscriptions
+-------------------------------------------+

Subscription Name:    	Awesome OS Server Bundled (2 Sockets, Standard Support)
Provides:             	Load Balancing Bits
                      	Clustering Bits
                      	Awesome OS Server Bits
                      	Shared Storage Bits
                      	Management Bits
                      	Large File Support Bits
Contract:             	37
Account:              	12331131231
Serial Number:        	8191748435881357156
Active:               	True
Quantity Used:        	1
Service Level:        	Standard
Service Type:         	L1-L3
Starts:               	06/13/2012
Ends:                 	06/13/2013



Expected Results:
As above


> Moving bug to Verified State

Comment 5 errata-xmlrpc 2013-01-08 03:50:35 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-2013-0033.html


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