Bug 639993 - Format the consumer list key-value pairs
Summary: Format the consumer list key-value pairs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2010-10-04 13:59 UTC by Preethi Thomas
Modified: 2011-08-16 14:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-16 14:20:29 UTC
Embargoed:


Attachments (Terms of Use)

Description Preethi Thomas 2010-10-04 13:59:26 UTC
Description of problem:

Seems like we add as many key value pairs to the consumer as we pleases. I added up to 25 


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

Id                 	preethi.usersys.redhat.com
Description        	preethi.usersys.redhat.com
Subscribed Repos   	/pulp/api/consumers/preethi.usersys.redhat.com/repoids/
Profile            	https://preethi:443/pulp/api/consumers/preethi.usersys.redhat.com/package_profile/
Additional info    	{u'test_key': u'preethi', u'test_key10': u'preethi10', u'test_key13': u'preethi13', u'test_key12': u'preethi12', u'test_key15': u'preethi15', u'test_key14': u'preethi14', u'test_key17': u'preethi17', u'test_key16': u'preethi16', u'test_key19': u'preethi19', u'test_key18': u'preethi18', u'test_key1': u'preethi1', u'test_key11': u'preethi11', u'test_key3': u'preethi3', u'test_key2': u'preethi2', u'test_key5': u'preethi5', u'test_key4': u'preethi4', u'test_key7': u'preethi7', u'test_key6': u'preethi6', u'test_key9': u'preethi9', u'test_key8': u'preethi8', u'test_key24': u'preethi24', u'test_key25': u'preethi25', u'test_key20': u'preethi20', u'test_key21': u'preethi21', u'test_key22': u'preethi22', u'test_key23': u'preethi23'}

Comment 1 Pradeep Kilambi 2011-01-06 16:39:12 UTC
fixed! note that its very unlikely someone will have a need to add so many key,values to a repo.

commit 515f2b7f1d164e255c6011f79111e56995b7b8bc
Author: Pradeep Kilambi <pkilambi>
Date:   Thu Jan 6 11:36:34 2011 -0500

    639993 - format the key-value pair info in consumer list

$ sudo pulp-admin consumer list
+------------------------------------------+
            Consumer Information
+------------------------------------------+

Id                 	foo                      
Description        	None                     
Subscribed Repos   	/pulp/api/consumers/foo/repoids/
Additional info    	foo04  :  bar04,
 			foo01  :  bar01,
 			foo03  :  bar03,
 			foo02  :  bar02,

Comment 2 Jay Dobies 2011-01-07 19:21:58 UTC
Fixed in build 0.122.

Comment 3 Preethi Thomas 2011-01-10 14:21:49 UTC
verified

[root@preethi ~]# rpm -q pulp
pulp-0.0.122-1.fc14.noarch

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

Id                 	preethi.usersys.redhat.com
Description        	None                     
Subscribed Repos   	/pulp/api/consumers/preethi.usersys.redhat.com/repoids/
Additional info    	test_key1  :  preethi1,
 			test_key3  :  preethi3,
 			test_key2  :  preethi2,
 			test_key5  :  preethi5,
 			test_key4  :  preethi4,
 			test_key7  :  preethi7,
 			test_key6  :  preethi6,
 			test_key8  :  preethi8,
 			location  :  rdu,

Comment 4 Preethi Thomas 2011-08-16 14:20:29 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.