cinder list --group_id should be --group-id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cinderclient |
In Progress
|
Undecided
|
Robert Ellis |
Bug Description
cinder list takes a group id argument, but this argument is group_id and not group-id. As far as I can see, most options use - and not _.
# cinder help list
usage: cinder list [--group_id <group_id>] [--all-tenants [<0|1>]]
# cinder help create
usage: cinder create [--consisgroup-id <consistencygro
Creates a volume.
Positional arguments:
<size> Size of volume, in GiBs. (Required unless snapshot-id
Optional arguments:
--consisgroup-id <consistencygro
--group-id <group-id>
# cinder help group-snapshot-list
usage: cinder group-snapshot-list [--all-tenants [<0|1>]] [--status <status>]
Lists all group snapshots.
Optional arguments:
--all-tenants [<0|1>]
--status <status> Filters results by a status. Default=None. This option
--group-id <group_id>
description: | updated |
Changed in python-cinderclient: | |
assignee: | nobody → Robert Ellis (bob-ellis42) |
Changed in python-cinderclient: | |
status: | New → Incomplete |
Changed in python-cinderclient: | |
status: | Incomplete → In Progress |
Which version of Openstack was this seen in? I have just checked the latest Pike devstack, and at least with my configuration the group-id is not an argument for create or list. If it was pike, then I may need a different configuration.