Comment 2 for bug 1030143

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/10436
Committed: http://github.com/openstack/nova/commit/3f315000755732c4780dae03ef65f67d3f87e8f7
Submitter: Jenkins
Branch: master

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'.

    Fixes bug 1030143.

    Change-Id: I5125d557ab799fcf572f665523cd07a893ad3b90