Merge "live-migration: Logs exception if operation failed"
This commit is contained in:
commit
666c743fdb
@ -5045,6 +5045,7 @@ class ComputeManager(manager.Manager):
|
|||||||
# Executing live migration
|
# Executing live migration
|
||||||
# live_migration might raises exceptions, but
|
# live_migration might raises exceptions, but
|
||||||
# nothing must be recovered in this version.
|
# nothing must be recovered in this version.
|
||||||
|
LOG.exception(_LE('Live migration failed.'), instance=instance)
|
||||||
with excutils.save_and_reraise_exception():
|
with excutils.save_and_reraise_exception():
|
||||||
if migration:
|
if migration:
|
||||||
migration.status = 'failed'
|
migration.status = 'failed'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user