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 |
Changed in python-openstackclient: | |
status: | New → In Progress |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7a7bb06377c96f7
Author: Rui Chen <email address hidden>
Date: Fri Feb 24 16:48:05 2017 +0800
Make block-device-
The patch fix the following issues:
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.
2. Don't support to add block device from snapshot, like:
--block-
vdb=
novaclient, but not in osc.
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-
4. The help message of "block-
to add some details about how to add <type>, <delete_
contains.
Change-Id: Ib7f7a654c3dc2a
Depends-On: Ib37913891bbf7a
Closes-Bug: #1667266
Changed in python-openstackclient: | |
status: | In Progress → Fix Released |
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-openstackclient 3.12.0 | #3 |
This issue was fixed in the openstack/
Fix proposed to branch: master /review. openstack. org/438141
Review: https:/