← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1321186] Re: nova can't show or delete queued image for AttributeError

 

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

-- 
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/1321186

Title:
  nova can't show or delete queued image for AttributeError

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) icehouse series:
  Fix Released

Bug description:
  steps to reproduce:
  1. run "glance image-create" to create a queued image
  2. run "nova image-delete <image-id>"

  it returns:
  Delete for image b31aa5dd-f07a-4748-8f15-398346887584 failed: The server has either erred or is incapable of performing the requested operation. (HTTP 500)

  the traceback in log file is:

  Traceback (most recent call last):
    File "/opt/stack/nova/nova/api/openstack/__init__.py", line 125, in __call__
      return req.get_response(self.application)
    File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
      application, catch_exc_info=False)
    File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application
      app_iter = application(self.environ, start_response)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
      return resp(environ, start_response)
    File "/opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py", line 632, in __call__
      return self.app(env, start_response)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
      return resp(environ, start_response)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
      return resp(environ, start_response)
    File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
      response = self.app(environ, start_response)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
      return resp(environ, start_response)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
      resp = self.call_func(req, *args, **self.kwargs)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
      return self.func(req, *args, **kwargs)
    File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 917, in __call__
      content_type, body, accept)
    File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 983, in _process_stack
      action_result = self.dispatch(meth, request, action_args)
    File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 1067, in dispatch
      return method(req=request, **action_args)
    File "/opt/stack/nova/nova/api/openstack/compute/images.py", line 139, in show
      image = self._image_service.show(context, id)
    File "/opt/stack/nova/nova/image/glance.py", line 277, in show
      base_image_meta = _translate_from_glance(image)
    File "/opt/stack/nova/nova/image/glance.py", line 462, in _translate_from_glance
      image_meta = _extract_attributes(image)
    File "/opt/stack/nova/nova/image/glance.py", line 530, in _extract_attributes
      output[attr] = getattr(image, attr)
    File "/opt/stack/python-glanceclient/glanceclient/openstack/common/apiclient/base.py", line 462, in __getattr__
      return self.__getattr__(k)
    File "/opt/stack/python-glanceclient/glanceclient/openstack/common/apiclient/base.py", line 464, in __getattr__
      raise AttributeError(k)
  AttributeError: disk_format

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


References