summaryrefslogtreecommitdiff
path: root/nova/virt/hyperv/pathutils.py
diff options
context:
space:
mode:
authorClaudiu Belu <cbelu@cloudbasesolutions.com>2015-06-16 03:37:50 +0300
committerClaudiu Belu <cbelu@cloudbasesolutions.com>2015-06-16 05:43:42 +0300
commit615d8682bbae443b679b010973d6d9b1ed489328 (patch)
treec74d5b8db20933870422f6e6c8c031bc64eefc5c /nova/virt/hyperv/pathutils.py
parent50e77aa9b8b864ba867a80d74e525aa55010a942 (diff)
downloadnova-615d8682bbae443b679b010973d6d9b1ed489328.tar.gz
Hyper-V: Fixes live migration configdrive copy operation
Fixes the configdrive copy destination. Change-Id: I0a8d0b5cac99bef4c32959d7dff3117a9bb3c61d Closes-Bug: #1465443
Diffstat (limited to 'nova/virt/hyperv/pathutils.py')
-rw-r--r--nova/virt/hyperv/pathutils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/virt/hyperv/pathutils.py b/nova/virt/hyperv/pathutils.py
index d178eccbb4..31d31c5c36 100644
--- a/nova/virt/hyperv/pathutils.py
+++ b/nova/virt/hyperv/pathutils.py
@@ -78,6 +78,7 @@ class PathUtils(object):
# shutil.copy(...) but still 20% slower than a shell copy.
# It can be replaced with Win32 API calls to avoid the process
# spawning overhead.
+ LOG.debug('Copying file from %s to %s', src, dest)
output, ret = utils.execute('cmd.exe', '/C', 'copy', '/Y', src, dest)
if ret:
raise IOError(_('The file copy from %(src)s to %(dest)s failed')