cinder xxx-list subcommands have problems with "--sort key" optional arguments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cinderclient |
Triaged
|
Undecided
|
Unassigned |
Bug Description
When you use following cinder subcommands with "--sort <key>" optional argument, there is something wrong in help massages and valid sort-keys you can use.
1.cinder list
2.cinder --os-volume-
3.cinder --os-volume-
4.cinder --os-volume-
5.cinder --os-volume-
6.cinder backup-list
Such as:
[stack@devstack devstack]$ cinder help snapshot-list
usage: cinder snapshot-list [--all-tenants [<0|1>]] [--name <name>]
Lists all snapshots.
Optional arguments:
--all-tenants [<0|1>]
--name <name> Filters results by a name. Default=None.
--status <status> Filters results by a status. Default=None.
--volume-id <volume-id>
--marker <marker> Begin returning snapshots that appear later in the
--limit <limit> Maximum number of snapshots to return. Default=None.
--sort <key>[:<direction>]
--tenant [<tenant>] Display information from single tenant (Admin only).
But "size, availability_zone, bootable, reference" sort-keys are not supported.
These subcommands' valid sort-keys are different, but now in python-
The patch( https:/
Changed in python-cinderclient: | |
assignee: | nobody → lihaijing (lihaijing) |
Fix proposed to branch: master /review. openstack. org/446860
Review: https:/