The block device name will not be reserved in current implementation
due to missing volume_id in block_device_mapping. This will cause
block_device.instance_block_mapping does not return the ebs device
which should be reserved.
This patch adds the volume_id to block_device_mapping while reserving
block device name.
Reviewed: https:/ /review. openstack. org/14754 github. com/openstack/ nova/commit/ d59f6adf8d14758 0c30f376004da2e e7da7990c9
Committed: http://
Submitter: Jenkins
Branch: stable/folsom
commit d59f6adf8d14758 0c30f376004da2e e7da7990c9
Author: Vishvananda Ishaya <email address hidden>
Date: Thu Nov 1 11:56:25 2012 -0700
Fix reserve_ block_device_ name while attach volume
The block device name will not be reserved in current implementation mapping. This will cause device. instance_ block_mapping does not return the ebs device
due to missing volume_id in block_device_
block_
which should be reserved.
This patch adds the volume_id to block_device_ mapping while reserving
block device name.
Fixes bug 1062033
(Similar to dcabd6159abcdcc d99e55495ec0059 26465007a8 and 26930db2a1afed5 a0f5ced4d1c015 which fixed the issue in
66f1a34cabc
trunk)
Change-Id: I8f08b568619fef a99850de0bee7d6 05749d53b0a