Comment 0 for bug 1330825

Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

Traceback:
2014-06-17T05:29:04.736950+00:00 err: ERROR Not Found: Instance could not be found (HTTP 404) (Request-ID: req-9f25178b-c483-4ad5-9236-fd8ac7c4dcae)
Traceback (most recent call last):
  File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/volumes/tables.py", line 120, in get_attachment_name
    server = api.nova.server_get(request, server_id)
  File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py", line 489, in server_get
    return Server(novaclient(request).servers.get(instance_id), request)
  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 370, in get
    return self._get("/servers/%s" % base.getid(server), "server")
  File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 140, in _get
    _resp, body = self.api.client.get(url)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 229, in get
    return self._cs_request(url, 'GET', **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 213, in _cs_request
    **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 195, in _time_request
    resp, body = self.request(url, method, **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 189, in request
    raise exceptions.from_response(resp, body, url, method)
NotFound: Instance could not be found (HTTP 404) (Request-ID: req-9f25178b-c483-4ad5-9236-fd8ac7c4dcae)

It is only reproducable under high load. Disabling debug mode for Horizon will cause the issue to go away. Perhaps one solution is tuning down the level of debugging to only the services we care about most.