From 63ba0e4a18e1a456c97f3b86ad882e0910f75335 Mon Sep 17 00:00:00 2001 From: Claudiu Belu Date: Thu, 27 Aug 2015 20:29:36 +0300 Subject: [PATCH] live-migration: Logs exception if operation failed Live-migration can fail silently, without proper logging, making it hard to determine the cause of the failure. Closes-Bug: #1489874 Change-Id: Ib70dafd6fe2658ae9a1a43d177f4ed2c99a10c04 --- nova/compute/manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 3447654ebd71..bed2318bcdae 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -5005,6 +5005,7 @@ class ComputeManager(manager.Manager): # Executing live migration # live_migration might raises exceptions, but # nothing must be recovered in this version. + LOG.exception(_LE('Live migration failed.'), instance=instance) with excutils.save_and_reraise_exception(): if migration: migration.status = 'failed'