Bug 691415 - pulp-client is schizophrenic about --id option
Summary: pulp-client is schizophrenic about --id option
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: unspecified
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
: Sprint 22
Assignee: Sayli Karmarkar
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-03-28 14:01 UTC by dgao
Modified: 2015-03-23 01:10 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description dgao 2011-03-28 14:01:36 UTC
[root@pulp-nightly ~]# pulp-client consumer bind --repoid=foo
Usage: pulp-client <options> consumer bind <options>

pulp-client: error: Option --id is required; please see --help
[root@pulp-nightly ~]# pulp-client consumer bind --repoid=foo --id=fred
Usage: pulp-client <options> consumer bind <options>

pulp-client: error: no such option: --id
[root@pulp-nightly ~]# pulp-client consumer bind --help
Usage: pulp-client <options> consumer bind <options>

Options:
  -h, --help       show this help message and exit
  --repoid=REPOID  repo identifier (required)
[root@pulp-nightly ~]#

Comment 1 Pradeep Kilambi 2011-03-28 14:14:22 UTC
this looks like a regression due to

commit d4610da78c6d644d916f22e9e48a5cd6971a5585

Comment 2 Sayli Karmarkar 2011-03-28 16:28:30 UTC
Fixed.

$ sudo pulp-client consumer bind --repoid=foo --help
Usage: pulp-client <options> consumer bind <options>

Options:
  -h, --help       show this help message and exit
  --repoid=REPOID  repo identifier (required)

$ sudo pulp-client consumer bind --repoid=test3 
Successfully subscribed consumer [consumer4] to repo [test3]


$ sudo pulp-admin consumer bind --repoid=foo --help
Usage: pulp-admin <options> consumer bind <options>

Options:
  -h, --help       show this help message and exit
  --id=ID          consumer identifier eg: foo.example.com (required)
  --repoid=REPOID  repo identifier (required)

$ sudo pulp-admin consumer bind --repoid=test2 --id=consumer1 
Successfully subscribed consumer [consumer1] to repo [test2]


Fixed for "unbind", "history" and "delete" actions as well.

Comment 3 Jeff Ortel 2011-03-29 17:32:41 UTC
Build: 0.158

Comment 4 Preethi Thomas 2011-03-30 19:45:09 UTC
[root@preethi ~]# rpm -q pulp
pulp-0.0.158-1.fc14.noarch


[root@preethi ~]# pulp-admin consumer bind --id=pulp-client --repoid=f14
Successfully subscribed consumer [pulp-client] to repo [f14]



[root@preethi ~]# pulp-admin consumer unbind --id=pulp-client --repoid=f14
Successfully unsubscribed consumer [pulp-client] from repo [f14]



[root@10 ~]# pulp-client consumer bind --repoid=f14
Successfully subscribed consumer [pulp-client] to repo [f14]

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

pulp-0.0.223-4.

Comment 6 Preethi Thomas 2011-08-16 12:20:52 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.