← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1281936] [NEW] A v3 API request of "GET /versions/:(id)" occurs "Unexpected API Error."

 

Public bug reported:

When I request a v3 API request of "GET /versions/:(id)" occurs "Unexpected API Error.".
--------------------
$ curl -i 'http://192.168.1.36:8774/v3/versions/123' -X GET -H "X-Auth-Project-Id: demo" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: <TOKEN>"

HTTP/1.1 500 Internal Server Error
Content-Length: 193
Content-Type: application/json; charset=UTF-8
X-Compute-Request-Id: req-baf6f903-b3f1-4c80-9e59-93f1440609a4
Date: Wed, 19 Feb 2014 07:08:13 GMT

{"computeFault": {"message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<type 'exceptions.TypeError'>", "code": 500}}
--------------------

nova-api logged an error:
--------------------
2014-02-19 16:14:37.075 ERROR nova.api.openstack.extensions [req-282a97a5-8f42-4410-a8dd-ff97457d0241 admin demo] Unexpected exception in API method
2014-02-19 16:14:37.075 TRACE nova.api.openstack.extensions Traceback (most recent call last):
2014-02-19 16:14:37.075 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/api/openstack/extensions.py", line 472, in wrapped
2014-02-19 16:14:37.075 TRACE nova.api.openstack.extensions     return f(*args, **kwargs)
2014-02-19 16:14:37.075 TRACE nova.api.openstack.extensions TypeError: show() got an unexpected keyword argument 'id'
2014-02-19 16:14:37.075 TRACE nova.api.openstack.extensions 
--------------------

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  A v3 API  request of "GET /versions/:(id)" occurs "Unexpected API
  Error."

Status in OpenStack Compute (Nova):
  New

Bug description:
  When I request a v3 API request of "GET /versions/:(id)" occurs "Unexpected API Error.".
  --------------------
  $ curl -i 'http://192.168.1.36:8774/v3/versions/123' -X GET -H "X-Auth-Project-Id: demo" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: <TOKEN>"

  HTTP/1.1 500 Internal Server Error
  Content-Length: 193
  Content-Type: application/json; charset=UTF-8
  X-Compute-Request-Id: req-baf6f903-b3f1-4c80-9e59-93f1440609a4
  Date: Wed, 19 Feb 2014 07:08:13 GMT

  {"computeFault": {"message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<type 'exceptions.TypeError'>", "code": 500}}
  --------------------

  nova-api logged an error:
  --------------------
  2014-02-19 16:14:37.075 ERROR nova.api.openstack.extensions [req-282a97a5-8f42-4410-a8dd-ff97457d0241 admin demo] Unexpected exception in API method
  2014-02-19 16:14:37.075 TRACE nova.api.openstack.extensions Traceback (most recent call last):
  2014-02-19 16:14:37.075 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/api/openstack/extensions.py", line 472, in wrapped
  2014-02-19 16:14:37.075 TRACE nova.api.openstack.extensions     return f(*args, **kwargs)
  2014-02-19 16:14:37.075 TRACE nova.api.openstack.extensions TypeError: show() got an unexpected keyword argument 'id'
  2014-02-19 16:14:37.075 TRACE nova.api.openstack.extensions 
  --------------------

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


Follow ups

References