Bug 748889 - Need a better message for remove_distribution without providing -d
Summary: Need a better message for remove_distribution without providing -d
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-25 14:18 UTC by Preethi Thomas
Modified: 2012-02-24 20:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-24 20:13:06 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.