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

** Changed in: nova
     Assignee: (unassigned) => Elhay Efrat (elhayefrat)

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

Title:
  nova image-list returns 500 error

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  I am installing liberty release on centos7 with one controller and one
  compute node. nova service-list and nova endpoints work fine. But,
  nova image-list returns the following error.

  ERROR(ClientException) : Unexpected API Error. Please report this at 
http://bugs.launchpad.net/nova and attach the Nova API log if possible.
  <class 'glanceclient.exc.HTTPInternalServerError'> (HTTP 500) (Request-ID: 
...)

  glance image-list works fine. 
  Pls, help me out.

  the nova-api.log is following.

  2015-12-14 16:29:56.071 9986 INFO nova.osapi_compute.wsgi.server 
[req-496b5df0-e28f-486b-8386-96f704433daf 504f2af1b9044a3e97bc69e80daf5809 
8de4c51458804564b79932efa364524b - - -] 192.168.219.11 "GET /v2/ HTTP/1.1" 
status: 200 len: 572 time: 0.0285130
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions 
[req-e65f8242-8d2c-43f1-af66-362f3161b655 504f2af1b9044a3e97bc69e80daf5809 
8de4c51458804564b79932efa364524b - - -] Unexpected exception in API method
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions Traceback 
(most recent call last):
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, 
in wrapped
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     return 
f(*args, **kwargs)
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/api/openstack/compute/images.py", line 
145, in detail
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     
**page_params)
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/image/api.py", line 68, in get_all
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     return 
session.detail(context, **kwargs)
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/nova/image/glance.py", line 284, in detail
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     for 
image in images:
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 254, in list
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     for 
image in paginate(params, return_request_id):
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 238, in 
paginate
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     images, 
resp = self._list(url, "images")
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 63, in _list
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     resp, 
body = self.client.get(url)
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 280, in get
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     return 
self._request('GET', url, **kwargs)
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 272, in 
_request
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     resp, 
body_iter = self._handle_response(resp)
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 93, in 
_handle_response
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     raise 
exc.from_response(resp, resp.content)
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions 
HTTPInternalServerError: 500 Internal Server Error: The server has either erred 
or is incapable of performing the requested operation. (HTTP 500)
  2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions 
  2015-12-14 16:30:01.685 9986 INFO nova.api.openstack.wsgi 
[req-e65f8242-8d2c-43f1-af66-362f3161b655 504f2af1b9044a3e97bc69e80daf5809 
8de4c51458804564b79932efa364524b - - -] HTTP exception thrown: Unexpected API 
Error. Please report this at http://bugs.launchpad.net/nova/ and attach the 
Nova API log if possible.
  <class 'glanceclient.exc.HTTPInternalServerError'>
  2015-12-14 16:30:01.687 9986 INFO nova.osapi_compute.wsgi.server 
[req-e65f8242-8d2c-43f1-af66-362f3161b655 504f2af1b9044a3e97bc69e80daf5809 
8de4c51458804564b79932efa364524b - - -] 192.168.219.11 "GET 
/v2/8de4c51458804564b79932efa364524b/images/detail HTTP/1.1" status: 500 len: 
445 time: 5.4028652

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to