The --block-device-mapping option in server create doesn't behave as documented
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
New
|
Undecided
|
Unassigned |
Bug Description
server create --help says:
--block-
However,
server create --block-
returns the following error:
No volume with a name or ID of 'e0db26d8-
Looking at the code in openstackclient
if volume:
# When booting from volume, for now assume no other mappings
# This device value is likely KVM-specific
else:
for dev_map in parsed_
if dev_vol:
it is clear that it isn't parsing the mapping as described in the documentation, but rather simply looking it up as if it was a volume name or ID.