Bug 623589 - consumergroup: creation lists a description [ ] as empty, w/ no option to specify a description
Summary: consumergroup: creation lists a description [ ] as empty, w/ no option to spe...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Sayli Karmarkar
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-12 08:55 UTC by wes hayutin
Modified: 2015-03-23 01:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-20 16:11:25 UTC
Embargoed:


Attachments (Terms of Use)

Description wes hayutin 2010-08-12 08:55:28 UTC
[root@localhost tmp]# pulp -u test01 -p dog8code consumergroup create --id=consumergroup-test01
Creating empty consumer group
 Successfully created Consumer group [ consumergroup-test01 ] with description [  ]
[root@localhost tmp]# 


** notice; description is empty

from the consumergroup --help


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> password for access to Pulp.

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

Comment 2 Sayli Karmarkar 2010-08-12 16:37:55 UTC
I can see correct options: 

$ sudo pulp consumergroup create --help
Usage: pulp -u <username> -p <password> consumergroup create [OPTIONS]


Options:
  -h, --help            show this help message and exit
  --id=ID               consumer group id
  --description=DESCRIPTION
                        description of consumer group
  --consumerids=CONSUMERIDS
                        consumer id list to be included in this group
  -u USERNAME, --username=USERNAME
                        <REQUIRED> username for access to Pulp.  Default user
                        admin is included with base install.
  -p PASSWORD, --password=PASSWORD
                        <REQUIRED> password for access to Pulp.

I don't think help in the bug report was consumergroup create help, because it should not have --consumerid=CONSUMERID as an option.

Comment 3 wes hayutin 2010-08-12 17:39:07 UTC
indeed


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


Options:
  -h, --help            show this help message and exit
  --id=ID               consumer group id
  --description=DESCRIPTION
                        description of consumer group
  --consumerids=CONSUMERIDS
                        consumer id list to be included in this group
  -u USERNAME, --username=USERNAME
                        <REQUIRED> username for access to Pulp.  Default user
                        admin is included with base install.
  -p PASSWORD, --password=PASSWORD
                        <REQUIRED> password for access to Pulp.
[root@localhost pulp]#

Comment 4 Preethi Thomas 2010-10-20 16:11:25 UTC
Closed after review.


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