summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-08-10 10:08:43 +0000
committerGerrit Code Review <review@openstack.org>2012-08-10 10:08:43 +0000
commit55cf5c308508435eb40f3d45bbe9b4e4e0ff3ea5 (patch)
tree0d23862157472ac8c61c6cc7d79ffde0b05b08e5 /nova
parent7219577ba48df211713cab655cdd296a07f35773 (diff)
parentadb98d50d2af36fc6215cbec63fe89e3e67d8fa2 (diff)
downloadnova-55cf5c308508435eb40f3d45bbe9b4e4e0ff3ea5.tar.gz
nova-55cf5c308508435eb40f3d45bbe9b4e4e0ff3ea5.tar.xz
nova-55cf5c308508435eb40f3d45bbe9b4e4e0ff3ea5.zip
Merge "Add error log for live migration."
Diffstat (limited to 'nova')
-rw-r--r--nova/virt/libvirt/driver.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/nova/virt/libvirt/driver.py b/nova/virt/libvirt/driver.py
index 63d92af56..57459b0c0 100644
--- a/nova/virt/libvirt/driver.py
+++ b/nova/virt/libvirt/driver.py
@@ -2491,8 +2491,10 @@ class LibvirtDriver(driver.ComputeDriver):
None,
FLAGS.live_migration_bandwidth)
- except Exception:
+ except Exception as e:
with excutils.save_and_reraise_exception():
+ LOG.error(_("Live Migration failure: %(e)s") % locals(),
+ instance=instance_ref)
recover_method(ctxt, instance_ref, dest, block_migration)
# Waiting for completion of live_migration.