From 467b76b7a2081ffce0f1f0a52ba4d8cf7bbb53bd Mon Sep 17 00:00:00 2001 From: Michael Still Date: Thu, 12 Apr 2012 11:42:57 +1000 Subject: Ensure all messages include instance. Change-Id: I6d870cd8cba796c26d7893f132c85510bd8f6d43 --- nova/api/openstack/compute/servers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova/api') 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) -- cgit