← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1583156] Re: nova image-delete HTTP exception thrown: Unexpected API Error.

 

*** This bug is a duplicate of bug 1552533 ***
    https://bugs.launchpad.net/bugs/1552533

What version of python-glanceclient do you have installed?

** Changed in: nova
       Status: New => Incomplete

** Also affects: python-glanceclient
   Importance: Undecided
       Status: New

** This bug has been marked a duplicate of bug 1552533
   AttributeError: 'SessionClient' object has no attribute 'last_request_id'

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

Title:
  nova image-delete HTTP exception thrown: Unexpected API Error.

Status in OpenStack Compute (nova):
  Incomplete
Status in python-glanceclient:
  New

Bug description:
  when I did:   nova image-delete


  016-05-18 20:27:05.446 ^[[01;31mERROR nova.api.openstack.extensions [^[[01;36mreq-0d41d500-38d8-4e4f-b1e2-91a8ec0ec965 ^[[00;36madmin demo^[[01;31m] ^[[01;35m^[[01;31mUnexpected exception in API method^[[00m
  ^[[01;31m2016-05-18 20:27:05.446 TRACE nova.api.openstack.extensions ^[[01;35m^[[00mTraceback (most recent call last):
  ^[[01;31m2016-05-18 20:27:05.446 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m  File "/opt/stack/nova/nova/api/openstack/extensions.py", line 478, in wrapped
  ^[[01;31m2016-05-18 20:27:05.446 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m    return f(*args, **kwargs)
  ^[[01;31m2016-05-18 20:27:05.446 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m  File "/opt/stack/nova/nova/api/openstack/compute/images.py", line 87, in show
  ^[[01;31m2016-05-18 20:27:05.446 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m    image = self._image_api.get(context, id)
  ^[[01;31m2016-05-18 20:27:05.446 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m  File "/opt/stack/nova/nova/image/api.py", line 93, in get
  ^[[01;31m2016-05-18 20:27:05.446 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m    show_deleted=show_deleted)
  ^[[01;31m2016-05-18 20:27:05.446 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m  File "/opt/stack/nova/nova/image/glance.py", line 282, in show
  ^[[01;31m2016-05-18 20:27:05.446 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m    include_locations=include_locations)
  ^[[01;31m2016-05-18 20:27:05.446 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m  File "/opt/stack/nova/nova/image/glance.py", line 512, in _translate_from_glance
  ^[[01;31m2016-05-18 20:27:05.446 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m    include_locations=include_locations)
  ^[[01;31m2016-05-18 20:27:05.446 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m  File "/opt/stack/nova/nova/image/glance.py", line 596, in _extract_attributes
  ^[[01;31m2016-05-18 20:27:05.446 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m    output[attr] = getattr(image, attr) or 0
  ^[[01;31m2016-05-18 20:27:05.446 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m  File "/usr/local/lib/python2.7/dist-packages/glanceclient/openstack/common/apiclient/base.py", line 490, in __getattr__
  ^[[01;31m2016-05-18 20:27:05.446 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m    self.get()
  ^[[01;31m2016-05-18 20:27:05.446 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m  File "/usr/local/lib/python2.7/dist-packages/glanceclient/openstack/common/apiclient/base.py", line 512, in get
  ^[[01;31m2016-05-18 20:27:05.446 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m    {'x_request_id': self.manager.client.last_request_id})
  ^[[01;31m2016-05-18 20:27:05.446 TRACE nova.api.openstack.extensions ^[[01;35m^[[00mAttributeError: 'HTTPClient' object has no attribute 'last_request_id'
  ^[[01;31m2016-05-18 20:27:05.446 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m
  2016-05-18 20:27:05.448 ^[[00;36mINFO nova.api.openstack.wsgi [^[[01;36mreq-0d41d500-38d8-4e4f-b1e2-91a8ec0ec965 ^[[00;36madmin demo^[[00;36m] ^[[01;35m^[[00;36mHTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <type 'exceptions.AttributeError'>^[[00m

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


References