Comment 2 for bug 1425502

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

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

commit 24488387a1e1817e82a1a7a3c1d9d9c7bdf5d165
Author: Vipin Balachandran <email address hidden>
Date: Thu Feb 5 16:37:38 2015 +0530

    VMware: Handle missing vmdk during volume detach

    During volume detach, volume's shadow VM might need to
    be relocated if storage DRS moved the Nova instance along
    with volume's vmdk. The shadow VM relocate will fail with
    FileNotFoundException if SDRS moved the volume vmdk instead
    of copying it to the new location. This patch fixes the
    problem by removing the virtual disk device of shadow VM if
    relocate failed due to missing vmdk file. After removing the
    device, relocate is attempted again.

    Closes-Bug: #1425502
    Change-Id: I40a25abe1ce96f1dc7d78ec46c948c8db451632b