Make block-device-mapping more stable and clear
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
Undecided
|
Rui Chen |
Bug Description
There are some issues in "--block-
1. ValueError is raised if input don't contain "=". Sometimes the whole "server create" command is very complex, it's difficult to find out root reason directly, like this:
(openstack) server create --image cirros-
need more than 1 value to unpack
(openstack)
2. Don't support to add block device from snapshot, like: --block-
(openstack) volume snapshot list
+------
| ID | Name | Description | Status | Size |
+------
| 0c8ae9d8-
+------
(openstack) server create --image cirros-
No volume with a name or ID of '0c8ae9d8-
(openstack)
3. If input "vdb=", not add any mapping information, the server will be launched successfully, not raise error message to let use add volume/snapshot id, just ignore "--block-
(openstack) server create --image cirros-
...
4. The help message of "block-
--block-
Changed in python-openstackclient: | |
assignee: | nobody → Rui Chen (kiwik-chenrui) |
description: | updated |
Fix proposed to branch: master /review. openstack. org/438141
Review: https:/