Bug 674849 - consumer delete does not validate against consumer names
Summary: consumer delete does not validate against consumer names
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Sayli Karmarkar
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-02-03 14:32 UTC by Preethi Thomas
Modified: 2015-03-23 01:10 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Preethi Thomas 2011-02-03 14:32:03 UTC
Description of problem:
[root@preethi ~]# rpm -q pulp
pulp-0.0.134-1.fc14.noarch
[root@preethi ~]# pulp-admin consumer list
+------------------------------------------+
            Consumer Information
+------------------------------------------+

Id                      ppreethi                 
Description             None                     
Subscribed Repos        []                       
Additional info                 

[root@preethi ~]# pulp-client consumer delete --id=preethi
Successfully deleted consumer [preethi]

[root@preethi ~]# pulp-client consumer delete --id=preethi
Successfully deleted consumer [preethi]

Comment 1 Sayli Karmarkar 2011-02-04 07:10:28 UTC
$ sudo pulp-admin consumer delete --id=foo
error: operation failed: Consumer [foo] does not exist

Comment 2 Jay Dobies 2011-02-04 19:24:00 UTC
Fixed in 0.135.

Comment 3 Preethi Thomas 2011-02-07 19:34:09 UTC
[root@preethi ~]# rpm -q pulp
pulp-0.0.135-1.fc14.noarch
[root@preethi ~]# 
[root@preethi ~]# 
[root@preethi ~]# 
[root@preethi ~]# pulp-admin consumer list
+------------------------------------------+
            Consumer Information
+------------------------------------------+

Id                 	client1                  
Description        	None                     
Subscribed Repos   	['f14']                  
Additional info    	                         

[root@preethi ~]# pulp-client consumer delete --id=preethi
error: operation failed: Consumer [preethi] does not exist

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

pulp-0.0.223-4.

Comment 5 Preethi Thomas 2011-08-16 12:21:13 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.