Comment 7 for bug 1492121

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

Reviewed: https://review.openstack.org/220410
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=d8d594c264fe5bcfd3ec97698e6c9820e54aa8a0
Submitter: Jenkins
Branch: master

commit d8d594c264fe5bcfd3ec97698e6c9820e54aa8a0
Author: Gary Kotton <email address hidden>
Date: Thu Sep 3 23:25:11 2015 -0700

    VMware: ensure that instance is deleted when volume is missing

    In the event that the volume is missing, the volume detachment fails,
    we need to make sure that the instance deletion is done.

    If this is not done then we will have the following:
    1. Nova instance is deleted
    2. Volume will still be in 'in-use' state
    3. Backend VM will still be on the VC

    In the event that a StorageError error is raised then we will
    proceed to delete the instance.

    All other exceptions will be raised so as to not delete the cinder
    volume.

    Change-Id: I99c59cb94d487322011071d24504dd9401879dba
    Closes-bug: #1492121