Bug 748889

Summary: Need a better message for remove_distribution without providing -d
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: z_otherAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: pkilambi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-24 20:13:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Preethi Thomas 2011-10-25 14:18:51 UTC
Description of problem:

root@preethi ~]# pulp-admin repo remove_distribution --id=f14
Error: Distribution id [None] does not exists in repo [f14] to perform a remove
[root@preethi ~]# 


It should say -d is required 

Example for add_distribution it says

[root@preethi ~]# pulp-admin repo add_distribution --id=f14
Error: At least one distribution id is required to perform an association.
[root@preethi ~]# 




Version-Release number of selected component (if applicable):

[root@preethi ~]# rpm -q pulp
pulp-0.0.241-1.fc15.noarch
[root@preethi ~]#

Comment 2 Jeff Ortel 2011-10-27 03:22:32 UTC
build 0.242-2

Comment 3 Preethi Thomas 2011-10-27 19:08:37 UTC
verified
[root@qeblade25 ~]# rpm -q pulp
pulp-0.0.242-2.el6.noarch

[root@qeblade25 ~]# pulp-admin -u admin -p admin repo remove_distribution --id=f14-new-clone
Error: At least one distribution id is required to perform a remove.
[root@qeblade25 ~]#

Comment 4 Preethi Thomas 2012-02-24 20:13:06 UTC
Pulp v1.0 is released
Closed Current Release.