diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-08-10 10:08:43 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-08-10 10:08:43 +0000 |
| commit | 55cf5c308508435eb40f3d45bbe9b4e4e0ff3ea5 (patch) | |
| tree | 0d23862157472ac8c61c6cc7d79ffde0b05b08e5 | |
| parent | 7219577ba48df211713cab655cdd296a07f35773 (diff) | |
| parent | adb98d50d2af36fc6215cbec63fe89e3e67d8fa2 (diff) | |
| download | nova-55cf5c308508435eb40f3d45bbe9b4e4e0ff3ea5.tar.gz nova-55cf5c308508435eb40f3d45bbe9b4e4e0ff3ea5.tar.xz nova-55cf5c308508435eb40f3d45bbe9b4e4e0ff3ea5.zip | |
Merge "Add error log for live migration."
| -rw-r--r-- | nova/virt/libvirt/driver.py | 4 |
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. |
