Bug 958775 - Consumed list does not display complete information when you consume a future subscription
Summary: Consumed list does not display complete information when you consume a future...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Carter Kozak
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel510
TreeView+ depends on / blocked
 
Reported: 2013-05-02 11:52 UTC by Shwetha Kallesh
Modified: 2014-09-15 00:08 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
No description necessary
Clone Of:
Environment:
Last Closed: 2013-09-30 23:07:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1332 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2013-09-30 22:49:24 UTC

Description Shwetha Kallesh 2013-05-02 11:52:20 UTC
Description of problem:
Consumed list does not display complete information when you consume a future subscription

Version-Release number of selected component (if applicable):
[root@localhost ~]# subscription-manager version
server type: RHN Classic and Red Hat Subscription Management
subscription management server: 0.8.5-1
subscription-manager: 1.8.6-1.git.27.f8647f0.el5
python-rhsm: 1.8.9-1.git.7.214419e.el5


How reproducible:


Steps to Reproduce:
1.[root@localhost ~]# subscription-manager list --avail --ondate 2014-05-03
+-------------------------------------------+
    Available Subscriptions
+-------------------------------------------+
Subscription Name: RAM Limiting Package (2GB stackable)
SKU:               ram-2gb-stackable
Pool ID:           8ac6818a3e5ce3e2013e5ce4dbe5050f
Quantity:          14
Service Level:     
Service Type:      
Multi-Entitlement: Yes
Ends:              04/21/2015
System Type:       Physical

Subscription Name: Awesome OS Server Bundled
SKU:               awesomeos-server
Pool ID:           8ac6818a3e5ce3e2013e5ce4e7f40828
Quantity:          14
Service Level:     Premium
Service Type:      Level 3
Multi-Entitlement: No
Ends:              04/21/2015
System Type:       Physical

Subscription Name: Awesome OS for x86_64
SKU:               awesomeos-x86_64
Pool ID:           8ac6818a3e5ce3e2013e5ce4e29a067e
Quantity:          14
Service Level:     
Service Type:      
Multi-Entitlement: Yes
Ends:              04/21/2015
System Type:       Physical

[root@localhost ~]# subscription-manager attach --pool 8ac6818a3e5ce3e2013e5ce4dbe5050f
Successfully attached a subscription for: RAM Limiting Package (2GB stackable)

[root@localhost ~]# subscription-manager list --consumed
+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
'8ac6818a3e5e1463013e5e4532a5039c'

  
Actual results:


Expected results:


Additional info:

Comment 1 RHEL Program Management 2013-05-02 11:58:57 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 Carter Kozak 2013-05-03 20:07:39 UTC
commit 21708456e33986f066801452f5813b9f84fa3c13
Author: ckozak <ckozak>
Date:   Fri May 3 15:34:57 2013 -0400

    958775: correct info for future subscriptions

Comment 4 Sharath Dwaral 2013-05-22 16:01:11 UTC
Version:

BREW Build

# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.8.7-1
subscription-manager: 1.8.8-1.el5
python-rhsm: 1.8.11-1.el5_9

Steps:

Registering to standalone candlepin

# subscription-manager register
Username: testuser1
Password: 
Organization: admin
The system has been registered with ID: 5e076570-818f-4bf8-bdcc-4a754d010d4a

# subscription-manager list --avail --ondate 2014-05-03
+-------------------------------------------+
    Available Subscriptions
+-------------------------------------------+
Subscription Name: Multi-Attribute (non-stackable) (24 cores, 6 sockets, 8GB RAM)
SKU:               non-stacked-multiattr
Pool ID:           8a90f8333eccde1f013eccdf618e036e
Quantity:          10
Service Level:     Super
Service Type:      Level 3
Multi-Entitlement: No
Ends:              05/21/2014
System Type:       Physical

Subscription Name: RAM Limiting Package (2GB stackable)
SKU:               ram-2gb-stackable
Pool ID:           8a90f8333eccde1f013eccdf661904bd
Quantity:          5
Service Level:     
Service Type:      
Multi-Entitlement: Yes
Ends:              05/21/2014
System Type:       Physical

Subscription Name: RAM Limiting Package (4GB stackable)
SKU:               ram-4gb-stackable
Pool ID:           8a90f8333eccde1f013eccdf667804d1
Quantity:          10
Service Level:     
Service Type:      
Multi-Entitlement: Yes
Ends:              05/21/2014
System Type:       Physical

# subscription-manager subscribe --pool 8a90f8333eccde1f013eccdf65f704b3
Successfully attached a subscription for: RAM Limiting Package (2GB stackable)

# subscription-manager list --consumed
+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
Subscription Name: RAM Limiting Package (2GB stackable)
Provides:          RAM Limiting Product
SKU:               ram-2gb-stackable
Contract:          157
Account:           12331131231
Serial Number:     2424926916387373576
Pool ID:           8a90f8333eccde1f013eccdf65f704b3
Active:            True
Quantity Used:     1
Service Level:     
Service Type:      
Status Details:    
Starts:            05/21/2013
Ends:              05/21/2014


VERIFIED

Comment 6 errata-xmlrpc 2013-09-30 23:07:21 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-1332.html


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