HTTP 500 response when get_console_output or start,stop action called before host set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Zhou ShaoYu |
Bug Description
If instance host was not set, actions such as request console output or start, stop the instance cause HTTP 500 response.
2013-02-05 14:05:42 ERROR nova.api.openstack [req-36bc6ade-
2013-02-05 14:05:42 TRACE nova.api.openstack File "path/nova/
2013-02-05 14:05:42 TRACE nova.api.openstack return req.get_
2013-02-05 14:05:42 TRACE nova.api.openstack File "/usr/local/
2013-02-05 14:05:42 TRACE nova.api.openstack application, catch_exc_
2013-02-05 14:05:42 TRACE nova.api.openstack File "/usr/local/
2013-02-05 14:05:42 TRACE nova.api.openstack app_iter = application(
2013-02-05 14:05:42 TRACE nova.api.openstack File "/usr/local/
2013-02-05 14:05:42 TRACE nova.api.openstack return resp(environ, start_response)
2013-02-05 14:05:42 TRACE nova.api.openstack File "/usr/local/
2013-02-05 14:05:42 TRACE nova.api.openstack return self.app(env, start_response)
2013-02-05 14:05:42 TRACE nova.api.openstack File "/usr/local/
2013-02-05 14:05:42 TRACE nova.api.openstack return resp(environ, start_response)
2013-02-05 14:05:42 TRACE nova.api.openstack File "/usr/local/
2013-02-05 14:05:42 TRACE nova.api.openstack return resp(environ, start_response)
2013-02-05 14:05:42 TRACE nova.api.openstack File "/usr/local/
2013-02-05 14:05:42 TRACE nova.api.openstack return resp(environ, start_response)
2013-02-05 14:05:42 TRACE nova.api.openstack File "/usr/local/
2013-02-05 14:05:42 TRACE nova.api.openstack response = self.app(environ, start_response)
2013-02-05 14:05:42 TRACE nova.api.openstack File "/usr/local/
2013-02-05 14:05:42 TRACE nova.api.openstack return resp(environ, start_response)
2013-02-05 14:05:42 TRACE nova.api.openstack File "/usr/local/
2013-02-05 14:05:42 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2013-02-05 14:05:42 TRACE nova.api.openstack File "/usr/local/
2013-02-05 14:05:42 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2013-02-05 14:05:42 TRACE nova.api.openstack File "path/nova/
2013-02-05 14:05:42 TRACE nova.api.openstack content_type, body, accept)
2013-02-05 14:05:42 TRACE nova.api.openstack File "path/nova/
2013-02-05 14:05:42 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2013-02-05 14:05:42 TRACE nova.api.openstack File "path/nova/
2013-02-05 14:05:42 TRACE nova.api.openstack return method(req=request, **action_args)
2013-02-05 14:05:42 TRACE nova.api.openstack File "path/nova/
2013-02-05 14:05:42 TRACE nova.api.openstack self.compute_
2013-02-05 14:05:42 TRACE nova.api.openstack File "path/nova/
2013-02-05 14:05:42 TRACE nova.api.openstack return func(self, context, target, *args, **kwargs)
2013-02-05 14:05:42 TRACE nova.api.openstack File "path/nova/
2013-02-05 14:05:42 TRACE nova.api.openstack return function(self, context, instance, *args, **kwargs)
2013-02-05 14:05:42 TRACE nova.api.openstack File "path/nova/
2013-02-05 14:05:42 TRACE nova.api.openstack return f(self, context, instance, *args, **kw)
2013-02-05 14:05:42 TRACE nova.api.openstack File "path/nova/
2013-02-05 14:05:42 TRACE nova.api.openstack self.compute_
2013-02-05 14:05:42 TRACE nova.api.openstack File "path/nova/
2013-02-05 14:05:42 TRACE nova.api.openstack topic=_
2013-02-05 14:05:42 TRACE nova.api.openstack File "path/nova/
2013-02-05 14:05:42 TRACE nova.api.openstack 'Instance %s') % instance['uuid'])
2013-02-05 14:05:42 TRACE nova.api.openstack NovaException: Unable to find host for Instance 5116bdf5-
2013-02-05 14:05:42 TRACE nova.api.openstack-
2013-02-05 14:05:42 INFO nova.api.openstack [req-36bc6ade-
tags: | added: folsom-backport-potential |
Changed in nova: | |
milestone: | none → grizzly-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-3 → 2013.1 |
Fix proposed to branch: master /review. openstack. org/21193
Review: https:/