commit 426d394b77584bb0f9be89e4a11df937448a5087
Author: Andrew Laski <email address hidden>
Date: Fri Aug 8 12:59:24 2014 -0400
Prepend /dev/ to root_device_name in get_next_device_name
Because the API docs for booting an instance from a volume have shown to
use 'vda' for a long time, and it has worked, there may be instances
with root_device_name = 'vda'. These instances will fail a check in
get_next_device_name when attempting to attach another volume, making
that impossible. Another patch fixes new block_device_mappings by
prepending /dev/ when the root_device_name is populated, but this will
allow incorrectly populated instances to attach volumes.
Reviewed: https:/ /review. openstack. org/112975 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=426d394b775 84bb0f9be89e4a1 1df937448a5087
Committed: https:/
Submitter: Jenkins
Branch: master
commit 426d394b77584bb 0f9be89e4a11df9 37448a5087
Author: Andrew Laski <email address hidden>
Date: Fri Aug 8 12:59:24 2014 -0400
Prepend /dev/ to root_device_name in get_next_ device_ name
Because the API docs for booting an instance from a volume have shown to next_device_ name when attempting to attach another volume, making mappings by
use 'vda' for a long time, and it has worked, there may be instances
with root_device_name = 'vda'. These instances will fail a check in
get_
that impossible. Another patch fixes new block_device_
prepending /dev/ when the root_device_name is populated, but this will
allow incorrectly populated instances to attach volumes.
Change-Id: I709a195c7e3f55 9315a2c307de62c bae8b72ac46
Partial-Bug: #1337821