get_vnc_console returns 500 error if called before host is assigned
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Russell Bryant |
Bug Description
There exists a window between a server create is done and when the host is assigned by the scheduler that a request to get the vnc console will result in a 500 error.
An exception similar to this will be seen in the logs:
2012-08-16 21:42:43 TRACE nova.api.openstack Traceback (most recent call last):
2012-08-16 21:42:43 TRACE nova.api.openstack File "/home/
2012-08-16 21:42:43 TRACE nova.api.openstack return req.get_
2012-08-16 21:42:43 TRACE nova.api.openstack File "/home/
2012-08-16 21:42:43 TRACE nova.api.openstack application, catch_exc_
2012-08-16 21:42:43 TRACE nova.api.openstack File "/home/
2012-08-16 21:42:43 TRACE nova.api.openstack app_iter = application(
2012-08-16 21:42:43 TRACE nova.api.openstack File "/home/
2012-08-16 21:42:43 TRACE nova.api.openstack return resp(environ, start_response)
2012-08-16 21:42:43 TRACE nova.api.openstack File "/home/
2012-08-16 21:42:43 TRACE nova.api.openstack return self.app(env, start_response)
2012-08-16 21:42:43 TRACE nova.api.openstack File "/home/
2012-08-16 21:42:43 TRACE nova.api.openstack return resp(environ, start_response)
2012-08-16 21:42:43 TRACE nova.api.openstack File "/home/
2012-08-16 21:42:43 TRACE nova.api.openstack return resp(environ, start_response)
2012-08-16 21:42:43 TRACE nova.api.openstack File "/home/
2012-08-16 21:42:43 TRACE nova.api.openstack response = self.app(environ, start_response)
2012-08-16 21:42:43 TRACE nova.api.openstack File "/home/
2012-08-16 21:42:43 TRACE nova.api.openstack return resp(environ, start_response)
2012-08-16 21:42:43 TRACE nova.api.openstack File "/home/
2012-08-16 21:42:43 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2012-08-16 21:42:43 TRACE nova.api.openstack File "/home/
2012-08-16 21:42:43 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2012-08-16 21:42:43 TRACE nova.api.openstack File "/home/
2012-08-16 21:42:43 TRACE nova.api.openstack content_type, body, accept)
2012-08-16 21:42:43 TRACE nova.api.openstack File "/home/
2012-08-16 21:42:43 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2012-08-16 21:42:43 TRACE nova.api.openstack File "/home/
2012-08-16 21:42:43 TRACE nova.api.openstack return method(req=request, **action_args)
2012-08-16 21:42:43 TRACE nova.api.openstack File "/home/
2012-08-16 21:42:43 TRACE nova.api.openstack console_type)
2012-08-16 21:42:43 TRACE nova.api.openstack File "/home/
2012-08-16 21:42:43 TRACE nova.api.openstack return func(self, context, target, *args, **kwargs)
2012-08-16 21:42:43 TRACE nova.api.openstack File "/home/
2012-08-16 21:42:43 TRACE nova.api.openstack instance=instance, console_
2012-08-16 21:42:43 TRACE nova.api.openstack File "/home/
2012-08-16 21:42:43 TRACE nova.api.openstack topic=_
2012-08-16 21:42:43 TRACE nova.api.openstack File "/home/
2012-08-16 21:42:43 TRACE nova.api.openstack 'Instance %s') % instance['uuid'])
2012-08-16 21:42:43 TRACE nova.api.openstack NovaException: Unable to find host for Instance 1a3f3a81-
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Russell Bryant (russellb) |
Changed in nova: | |
milestone: | none → folsom-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-rc1 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/11574
Review: https:/