cinder manageable-list does not support marker and raise 500 error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
wangxiyuan | ||
python-cinderclient |
Fix Released
|
Undecided
|
wangxiyuan |
Bug Description
cinder manageable-list is used to list all manageable volumes on a cinder host. Marker can be specified with this by using --marker<volume id> as a argument. It should return volumes that appear later in the volume list than that represented by this volume id but Cinder return HTTP 500 error.
-------
usage: cinder manageable-list [--detailed <detailed>] [--marker <marker>]
Lists all manageable volumes.
Positional arguments:
<host> Cinder host on which to list manageable volumes; takes
Optional arguments:
--detailed <detailed>
--marker <marker> Begin returning volumes that appear later in the
--limit <limit> Maximum number of volumes to return. Default=None.
--offset <offset> Number of volumes to skip after marker. Default=None.
--sort <key>[:<direction>]
-------
cinder manageable-list controller@lvm#lvm --sort size --marker bc545d26-
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-d1606041-
Changed in cinder: | |
assignee: | nobody → Prerna Dembla (prerna.dembla) |
Changed in cinder: | |
status: | New → Confirmed |
tags: | added: bugsmash |
Changed in cinder: | |
importance: | Undecided → Medium |
Changed in cinder: | |
assignee: | Prerna Dembla (prerna.dembla) → wangxiyuan (wangxiyuan) |
Changed in python-cinderclient: | |
assignee: | nobody → wangxiyuan (wangxiyuan) |
Test with master branch, the 500 error doesn't raise now. But the marker in cinder is "reference", not volume_id. And the reference in cinder is a dict. But the maker which users pass is always string. So seems that it doesn't work.