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.
Reviewed: https:/ /review. openstack. org/291733 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=9740e18a31c 0682d2852ac7452 42c69475d89113
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9740e18a31c0682 d2852ac745242c6 9475d89113
Author: Claudiu Belu <email address hidden>
Date: Fri Mar 11 16:09:52 2016 +0200
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: Ia42ed873924999 d57336a105bcaa2 b856f3a3a9d
Closes-Bug: #1555699