Bug 669505 - "Subscribed Repos" in `pulp-admin consumer list` isn't very useful
Summary: "Subscribed Repos" in `pulp-admin consumer list` isn't very useful
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
: 646976 (view as bug list)
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-01-13 20:10 UTC by Jay Dobies
Modified: 2011-08-16 12:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-16 12:07:11 UTC
Embargoed:


Attachments (Terms of Use)

Description Jay Dobies 2011-01-13 20:10:02 UTC
$ pulp-admin consumer list
+------------------------------------------+
            Consumer Information
+------------------------------------------+

Id                 	client1                  
Description        	None                     
Subscribed Repos   	/pulp/api/consumers/client1/repoids/
Additional info    	                         



We're not really doing much for the user by showing them a URL for "Subscribed Repos". Since we show the repo IDs in consumer info, we should either:
 a. remove the URL from the list output since we don't give them an easy way to retrieve it
 b. show the repo IDs in list as we do in info


For comparison, here is the `consumer info` output:

$ pulp-admin consumer info --id client1
+------------------------------------------+
            Consumer Information
+------------------------------------------+

Id                 	client1                  
Description        	None                     
Subscribed Repos   	['repo1']                
Additional info    	{}

Comment 1 Jay Dobies 2011-01-13 20:23:59 UTC
*** Bug 646976 has been marked as a duplicate of this bug. ***

Comment 2 Sayli Karmarkar 2011-01-14 23:04:48 UTC
Fixed.
$ sudo pulp-admin consumer list
+------------------------------------------+
            Consumer Information
+------------------------------------------+

Id                 	consumer1                
Description        	None                     
Subscribed Repos   	[u'example']             
Additional info    	usage  :  dev-workstation,
 			foo  :  bar2,
 			location  :  rdu,

Comment 3 Jay Dobies 2011-01-17 14:22:58 UTC
Fixed in 0.125.

Comment 4 Preethi Thomas 2011-01-18 20:36:31 UTC
verified

[root@preethi ~]# rpm -q pulp
pulp-0.0.129-1.fc14.noarch
[root@preethi ~]# pulp-admin consumer list
+------------------------------------------+
            Consumer Information
+------------------------------------------+

Id                 	preethi.usersys.redhat.com
Description        	None                     
Subscribed Repos   	[]                       
Additional info    	                         

[root@preethi ~]# pulp-client consumer bind --repoid=f14
Successfully subscribed consumer [preethi.usersys.redhat.com] to repo [f14]

[root@preethi ~]# pulp-admin consumer list
+------------------------------------------+
            Consumer Information
+------------------------------------------+

Id                 	preethi.usersys.redhat.com
Description        	None                     
Subscribed Repos   	['f14']                  
Additional info    	                         

[root@preethi ~]# pulp-client consumer bind --repoid=f13
Successfully subscribed consumer [preethi.usersys.redhat.com] to repo [f13]

[root@preethi ~]# pulp-admin consumer list
+------------------------------------------+
            Consumer Information
+------------------------------------------+

Id                 	preethi.usersys.redhat.com
Description        	None                     
Subscribed Repos   	['f13', 'f14']           
Additional info

Comment 5 Preethi Thomas 2011-08-16 12:07:11 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 6 Preethi Thomas 2011-08-16 12:20:55 UTC
Closing with Community Release 15

pulp-0.0.223-4.


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