commit 3f315000755732c4780dae03ef65f67d3f87e8f7
Author: Kevin L. Mitchell <email address hidden>
Date: Fri Jul 27 16:26:24 2012 -0500
Allow _destroy_vdis if a mapping has no VDI
In _destroy_vdis() in the xenapi vmops.py, a list of VDIs to not
destroy is collected. If one of the block device mappings does
not have a corresponding VDI, however, _destroy_vdis() fails
(KeyError('vdi_uuid') is raised). This interferes with
instance deletion. The problem is corrected by skipping mappings
for which the connection_info data does not contain 'vdi_uuid'.
Reviewed: https:/ /review. openstack. org/10436 github. com/openstack/ nova/commit/ 3f315000755732c 4780dae03ef65f6 7d3f87e8f7
Committed: http://
Submitter: Jenkins
Branch: master
commit 3f315000755732c 4780dae03ef65f6 7d3f87e8f7
Author: Kevin L. Mitchell <email address hidden>
Date: Fri Jul 27 16:26:24 2012 -0500
Allow _destroy_vdis if a mapping has no VDI
In _destroy_vdis() in the xenapi vmops.py, a list of VDIs to not 'vdi_uuid' ) is raised). This interferes with
destroy is collected. If one of the block device mappings does
not have a corresponding VDI, however, _destroy_vdis() fails
(KeyError(
instance deletion. The problem is corrected by skipping mappings
for which the connection_info data does not contain 'vdi_uuid'.
Fixes bug 1030143.
Change-Id: I5125d557ab799f cf572f665523cd0 7a893ad3b90