Browse Source

Merge "Nova compute: add in log exception to help debug failures" into stable/rocky

changes/68/669168/2
Zuul 2 months ago
parent
commit
d575890399
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      nova/compute/manager.py

+ 2
- 0
nova/compute/manager.py View File

@@ -2334,6 +2334,8 @@ class ComputeManager(manager.Manager):
raise exception.BuildAbortException(instance_uuid=instance.uuid,
reason=e.format_message())
except Exception as e:
LOG.exception('Failed to build and run instance',
instance=instance)
self._notify_about_instance_usage(context, instance,
'create.error', fault=e)
tb = traceback.format_exc()

Loading…
Cancel
Save