Comment 35 for bug 1550919

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

Reviewed: https://review.opendev.org/731248
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=8b48ca672d9c0eb108c71b7f9f3f089d9ecf688a
Submitter: Zuul
Branch: stable/ussuri

commit 8b48ca672d9c0eb108c71b7f9f3f089d9ecf688a
Author: Matthew Booth <email address hidden>
Date: Wed Aug 15 14:39:48 2018 +0100

    libvirt: Don't delete disks on shared storage during evacuate

    When evacuating an instance between compute hosts on shared storage,
    during the rebuild operation we call spawn() on the destination
    compute. spawn() currently assumes that it should cleanup all
    resources on failure, which results in user data being deleted in the
    evacuate case.

    This change modifies spawn in the libvirt driver such that it only
    cleans up resources it created.

    Co-Authored-By: Lee Yarwood <email address hidden>
    Closes-Bug: #1550919
    Change-Id: I764481966c96a67d993da6e902dc9fc3ad29ee36
    (cherry picked from commit 497360b0ea970f1e68912be8229ef8c3f5454e9e)