Bug 672888

Summary: pulp-admin consumer delete --id= deletes all consumers
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: z_otherAssignee: Sayli Karmarkar <skarmark>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: cperry, mmccune, skarmark
Target Milestone: ---Keywords: Triaged
Target Release: Sprint 20   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 672881 Environment:
Last Closed: 2011-08-16 12:07:01 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 2011-01-26 16:46:26 UTC
[root@preethi ~]# rpm -q pulp
pulp-0.0.131-1.fc14.noarch



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

Id                 	preethi.usersys.redhat.com
Description        	None                     
Subscribed Repos   	['test']                 
Additional info    	state  :  nc,
 			location  :  rdu,


Id                 	10.16.79.205             
Description        	None                     
Subscribed Repos   	[]                       
Additional info    	state  :  nc,            

[root@preethi ~]# pulp-admin consumer delete
Usage: pulp-admin <options> consumer delete <options>

pulp-admin: error: Option --id is required; please see --help
[root@preethi ~]# pulp-admin consumer delete --id=
Successfully deleted consumer []

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

Comment 1 Sayli Karmarkar 2011-01-28 20:11:10 UTC
Fixed along with the fix for bug #672881.

Comment 2 Sayli Karmarkar 2011-01-28 20:14:39 UTC
$ sudo pulp-admin consumer delete --id=
Usage: pulp-admin <options> consumer delete <options>

pulp-admin: error: --id option requires an argument

Comment 3 Jay Dobies 2011-02-02 20:07:17 UTC
Fixed in 0.134.

Comment 4 Preethi Thomas 2011-02-03 18:05:01 UTC
verified

[root@preethi perf]# pulp-admin consumer delete --id=
Usage: pulp-admin <options> consumer delete <options>

pulp-admin: error: --id option requires an argument
[root@preethi perf]# rpm -q pulp
pulp-0.0.134-1.fc14.noarch

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

pulp-0.0.223-4.

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

pulp-0.0.223-4.