Comment 5 for bug 1555699

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to compute-hyperv (stable/liberty)

Reviewed: https://review.openstack.org/320570
Committed: https://git.openstack.org/cgit/openstack/compute-hyperv/commit/?id=7527a1f4d60a804f54cba7a7da706bf66863d789
Submitter: Jenkins
Branch: stable/liberty

commit 7527a1f4d60a804f54cba7a7da706bf66863d789
Author: Claudiu Belu <email address hidden>
Date: Thu Mar 17 03:35:51 2016 -0700

    hyper-v: Copies back files on failed migration

    On cold migration, the contents of the instance folder are
    copied to the new host. The original folder cannot be removed
    because the VM configuration files cannot be deleted until the VM
    is destroyed.

    Because of this, when the migration fails to copy the files, it will
    try to revert this through folder renaming. Since the original folder
    still exists, an exception is raised.

    Change-Id: Ia42ed873924999d57336a105bcaa2b856f3a3a9d
    Closes-Bug: #1555699
    (cherry picked from commit 7fb627c317d93b041b76263740f5729dade05b39)