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 and changes the rpcapi to send the volume_id.
Reviewed: https:/ /review. openstack. org/14077 github. com/openstack/ nova/commit/ dcabd6159abcdcc d99e55495ec0059 26465007a8
Committed: http://
Submitter: Jenkins
Branch: master
commit dcabd6159abcdcc d99e55495ec0059 26465007a8
Author: MotoKen <email address hidden>
Date: Fri Oct 5 14:34:32 2012 +0800
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 and changes the rpcapi to send the volume_id.
Fixes bug 1062033
Change-Id: I8f08b568619fef a99850de0bee7d6 05749d53b0a