summaryrefslogtreecommitdiffstats
path: root/nova/virt/hyperv/livemigrationutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/virt/hyperv/livemigrationutils.py')
-rw-r--r--nova/virt/hyperv/livemigrationutils.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/nova/virt/hyperv/livemigrationutils.py b/nova/virt/hyperv/livemigrationutils.py
index 2563e1182..9fce5343a 100644
--- a/nova/virt/hyperv/livemigrationutils.py
+++ b/nova/virt/hyperv/livemigrationutils.py
@@ -155,8 +155,10 @@ class LiveMigrationUtils(object):
LOG.debug(_("Replacing host resource "
"%(old_disk_path)s with "
- "%(new_disk_path)s on planned VM %(vm_name)s") %
- locals())
+ "%(new_disk_path)s on planned VM %(vm_name)s"),
+ {'old_disk_path': old_disk_path,
+ 'new_disk_path': new_disk_path,
+ 'vm_name': vm_name})
sasd.HostResource = [new_disk_path]
updated_resource_setting_data.append(sasd.GetText_(1))