Bug 639993

Summary: Format the consumer list key-value pairs
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: z_otherAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: whayutin
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 14:20:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 647488    

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.