← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1182867] Re: stack trace when instance_actions extension can not find instance in GET

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1182867

Title:
  stack trace when instance_actions extension can not find instance in
  GET

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  From tempest, get a stacktrace when index in instance_actions can not
  find the specified server

  SON1470184684-tenant] Caught error: Instance server-999 could not be found.
  2013-05-22 17:17:14.270 TRACE nova.api.openstack Traceback (most recent call last):
  2013-05-22 17:17:14.270 TRACE nova.api.openstack   File "/opt/stack/nova/nova/api/openstack/__init__.py", line 83, in __call__
  2013-05-22 17:17:14.270 TRACE nova.api.openstack     return req.get_response(self.application)
  2013-05-22 17:17:14.270 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
  2013-05-22 17:17:14.270 TRACE nova.api.openstack     application, catch_exc_info=False)
  2013-05-22 17:17:14.270 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application
  2013-05-22 17:17:14.270 TRACE nova.api.openstack     app_iter = application(self.environ, start_response)
  2013-05-22 17:17:14.270 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
  2013-05-22 17:17:14.270 TRACE nova.api.openstack     return resp(environ, start_response)
  2013-05-22 17:17:14.270 TRACE nova.api.openstack   File "/opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py", line 456, in __call__
  2013-05-22 17:17:14.270 TRACE nova.api.openstack     return self.app(env, start_response)
  2013-05-22 17:17:14.270 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
  2013-05-22 17:17:14.270 TRACE nova.api.openstack     return resp(environ, start_response)
  2013-05-22 17:17:14.270 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
  2013-05-22 17:17:14.270 TRACE nova.api.openstack     return resp(environ, start_response)
  2013-05-22 17:17:14.270 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
  2013-05-22 17:17:14.270 TRACE nova.api.openstack     response = self.app(environ, start_response)
  2013-05-22 17:17:14.270 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
  2013-05-22 17:17:14.270 TRACE nova.api.openstack     return resp(environ, start_response)
  2013-05-22 17:17:14.270 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
  2013-05-22 17:17:14.270 TRACE nova.api.openstack     resp = self.call_func(req, *args, **self.kwargs)
  2013-05-22 17:17:14.270 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
  2013-05-22 17:17:14.270 TRACE nova.api.openstack     return self.func(req, *args, **kwargs)
  2013-05-22 17:17:14.270 TRACE nova.api.openstack   File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 899, in __call__
  2013-05-22 17:17:14.270 TRACE nova.api.openstack     content_type, body, accept)
  2013-05-22 17:17:14.270 TRACE nova.api.openstack   File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 953, in _process_stack
  2013-05-22 17:17:14.270 TRACE nova.api.openstack     action_result = self.dispatch(meth, request, action_args)
  2013-05-22 17:17:14.270 TRACE nova.api.openstack   File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 1032, in dispatch
  2013-05-22 17:17:14.270 TRACE nova.api.openstack     return method(req=request, **action_args)
  2013-05-22 17:17:14.270 TRACE nova.api.openstack   File "/opt/stack/nova/nova/api/openstack/compute/contrib/instance_actions.py", line 87, in index
  2013-05-22 17:17:14.270 TRACE nova.api.openstack     instance = self.compute_api.get(context, server_id)
  2013-05-22 17:17:14.270 TRACE nova.api.openstack   File "/opt/stack/nova/nova/compute/api.py", line 1367, in get
  2013-05-22 17:17:14.270 TRACE nova.api.openstack     raise exception.InstanceNotFound(instance_id=instance_id)
  2013-05-22 17:17:14.270 TRACE nova.api.openstack InstanceNotFound: Instance server-999 could not be found.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1182867/+subscriptions