summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-01-19 18:20:51 +0000
committerGerrit Code Review <review@openstack.org>2012-01-19 18:20:51 +0000
commit44791896f4de5670d529db6ab45c9908eae58e75 (patch)
tree79ef3f4a74897eba62afdd5aa27705d9a3c2d3d9 /nova
parent02502f577481b77435f5cd15b253336205c90ba4 (diff)
parentc51c68c0163af9ae3e5795435a240589597c9648 (diff)
Merge "Log uuid when instances fail to spawn."
Diffstat (limited to 'nova')
-rw-r--r--nova/virt/xenapi/vmops.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/xenapi/vmops.py b/nova/virt/xenapi/vmops.py
index 65c38112a..73ed79bad 100644
--- a/nova/virt/xenapi/vmops.py
+++ b/nova/virt/xenapi/vmops.py
@@ -232,7 +232,7 @@ class VMOps(object):
except (self.XenAPI.Failure, OSError, IOError) as spawn_error:
LOG.exception(_("instance %s: Failed to spawn"),
- instance.id, exc_info=sys.exc_info())
+ instance.uuid, exc_info=sys.exc_info())
LOG.debug(_('Instance %s failed to spawn - performing clean-up'),
instance.id)
self._handle_spawn_error(vdis, spawn_error)