Bug 579913 - IT candlepin, list --available should list the product ID and the product name
Summary: IT candlepin, list --available should list the product ID and the product name
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Pradeep Kilambi
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks: ent2
TreeView+ depends on / blocked
 
Reported: 2010-04-06 22:04 UTC by wes hayutin
Modified: 2015-05-14 15:31 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-04 14:48:07 UTC
Embargoed:


Attachments (Terms of Use)

Description wes hayutin 2010-04-06 22:04:18 UTC
Description of problem:

Looks like it would be very difficult for a customer to parse the following

[root@whayutin ~]# subscription-manager-cli list --available
 	productId                 	endDate                   	id         	quantity                  
------------------------------------------------------------------------------------------------
	MCT0982                   	2011-04-06T11:11:01.681-04:00 	73         	1                        
	MCT0696                   	2011-04-06T11:11:01.681-04:00 	74         	1                        


The information does seem to be available
[root@whayutin ~]# subscription-manager-cli list --consumed
 	Product Consumed 	activeSubscription 	endDate                   	startDate                 
----------------------------------------------------------------------------------------------------------------
	Red Hat Directory Server 	True       	2010-04-05 15:11:01       	2011-04-06


Can we please add column for name or description? I understand there are probably business or technical reasons for only listing the productID currently.

This bug should track those issues.
Thanks

Comment 1 James Bowes 2010-05-12 14:10:09 UTC
Reassigning to prad. I think the recent changes prad made should address this?

Comment 3 wes hayutin 2010-08-10 16:23:08 UTC
[root@client01-rhel6-beta2 src]# ./subscription-manager-cli list --available
cf13da3d-e2de-4e2c-b804-0a764d7d9f9d
+-------------------------------------------+
    Available Subscriptions
+-------------------------------------------+


ProductName:       	Red Hat Enterprise Linux Server (Academic Edition)
ProductId:         	SYS0062                  
PoolId:            	501                      
Quantity:          	1                        
Expires:           	2010-11-15

Comment 4 John Sefler 2011-05-04 14:48:07 UTC
Group move of VERIFIED Entitlement/'client tools' component bugs to CLOSED CURRENT_RELEASE since these bugs have already been included in Alpha and Beta releases for Entitlements.

Going forward, the RHEL/subscription-manager component is a better classification for these types of bugs.


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