summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorMichael Still <mikal@stillhq.com>2012-04-12 11:42:57 +1000
committerMichael Still <mikal@stillhq.com>2012-04-26 08:06:52 +1000
commit467b76b7a2081ffce0f1f0a52ba4d8cf7bbb53bd (patch)
treedea35e61054b7a8359147c23c3204319ac91c0e1 /nova/api
parentca4aee67e3ef851c64150af39aa7dca3d2cab349 (diff)
downloadnova-467b76b7a2081ffce0f1f0a52ba4d8cf7bbb53bd.tar.gz
nova-467b76b7a2081ffce0f1f0a52ba4d8cf7bbb53bd.tar.xz
nova-467b76b7a2081ffce0f1f0a52ba4d8cf7bbb53bd.zip
Ensure all messages include instance.
Change-Id: I6d870cd8cba796c26d7893f132c85510bd8f6d43
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/compute/servers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/compute/servers.py b/nova/api/openstack/compute/servers.py
index ef7e29ac0..c4a76da49 100644
--- a/nova/api/openstack/compute/servers.py
+++ b/nova/api/openstack/compute/servers.py
@@ -877,7 +877,7 @@ class Controller(wsgi.Controller):
common.raise_http_conflict_for_instance_invalid_state(state_error,
'reboot')
except Exception, e:
- LOG.exception(_("Error in reboot %s"), e)
+ LOG.exception(_("Error in reboot %s"), e, instance=instance)
raise exc.HTTPUnprocessableEntity()
return webob.Response(status_int=202)