When server create --volume used root device_name always 'vda'
Bug #1647406 reported by
Nikita Gerasimov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
Undecided
|
Nikita Gerasimov |
Bug Description
openstackclient
Instead of it we cat use block_device_
Changed in python-openstackclient: | |
status: | New → Confirmed |
assignee: | nobody → Dean Troyer (dtroyer) |
assignee: | Dean Troyer (dtroyer) → Nikita Gerasimov (nikita-gerasimov) |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/407111 /git.openstack. org/cgit/ openstack/ python- openstackclient /commit/ ?id=95c8661f86e 74c9d5217869a74 0da11350f1f0eb
Committed: https:/
Submitter: Jenkins
Branch: master
commit 95c8661f86e74c9 d5217869a740da1 1350f1f0eb
Author: Nikita Gerasimov <email address hidden>
Date: Mon Dec 5 20:47:40 2016 +0300
Switch server create to block_device_ mapping_ v2
Current compute_ client. servers. create( ) relies on block_device_ mapping device_ mapping" format require device_ mapping_ v2" format is more friendly mapping_ v2 appear in python-novaclient 2.16.0,
arg which is legacy[1]. "block_
device_name which is leads to hard-coded hack in --volume key handler
to KVM specific. "block_
to hypervisiors.
Support of block_device_
openstackclient require at least 2.29.0
Makes options --volume and --block- device- mapping work simultaneously. device- mapping data even if --volume used.
Appends --block-
After bug 1383338 only --volume was taken when both are used.
[1]http:// docs.openstack. org/developer/ nova/block_ device_ mapping. html
NOTE(dtroyer): I moved the new test_boot_ from_volume( ) functional 856ec76a5770df3 c6bd18a3eba to test our
test to Ie51b1c375c5940
previous behaviour. The only changes required to support the new
behaviour should be that the empty_volume is now attached in that test.
Change-Id: I7bac3d870dd9ca 404093142f8bce2 2a62e49180d
Closes-Bug: 1647406
Closes-Bug: 1497845