Bug 623592 - consumergroup: unable to add_consumer
Summary: consumergroup: unable to add_consumer
Status: CLOSED NOTABUG
Alias: None
Product: Pulp
Classification: Retired
Component: z_other   
(Show other bugs)
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Sayli Karmarkar
QA Contact: wes hayutin
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-12 09:01 UTC by wes hayutin
Modified: 2015-03-23 01:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-08-12 19:03:23 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description wes hayutin 2010-08-12 09:01:18 UTC
commit bf585b29f96375917499d850d93859e00088c4fd

[root@localhost tmp]# pulp -u test01 -p dog8code consumergroup add_consumer --consumerid=consumerid-test01 id=consumergroup-test01
group id required. Try --help

[root@localhost tmp]# pulp -u test01 -p dog8code consumergroup add_consumer --consumerid=consumerid-test01 consumergroup-test01
group id required. Try --help

[root@localhost tmp]# pulp -u test01 -p dog8code consumergroup add_consumer --consumerid=consumerid-test01 --help
Usage: pulp -u <username> -p <password> consumergroup add_consumer [OPTIONS]


Options:
  -h, --help            show this help message and exit
  --consumerid=CONSUMERID
                        Consumer Identifier
  --id=GROUPID          Consumer Group Identifier
  -u USERNAME, --username=USERNAME
                        <REQUIRED> username for access to Pulp.  Default user
                        admin is included with base install.
  -p PASSWORD, --password=PASSWORD
                        <REQUIRED

Comment 1 wes hayutin 2010-08-12 09:02:27 UTC
commit bf585b29f96375917499d850d93859e00088c4fd

Comment 2 Sayli Karmarkar 2010-08-12 18:23:22 UTC
Seems like a user error. Option should be "--id=" and not "id=".


[root@pulp-server pulp]# pulp-admin -u admin -p admin consumergroup add_consumer --id=mygroup --consumerid=myclient
 Successfully added Consumer [myclient] to Group [mygroup]

Comment 3 wes hayutin 2010-08-12 19:03:23 UTC
lol. crap.. sorry Sayli


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