← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1542436] Re: Nova API error when getting image list

 

Thanks for taking the time to file a bug! That message can be a little
misleading, unfortunately. Try troubelshooting your setup through
#openstack or the mailing list first. If you discover more information
that indicates this is a bug and not a configuration issue, then feel
free to update this issue.

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

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

Title:
  Nova API error when getting image list

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  I'm going through the openstack.org install for CentOS7

  I ran >: nova image-list

  and got an error asking me to report it.  I should have been given the
  list of images available.

  rpm -qa|grep nova

  openstack-nova-common-12.0.1-1.el7.noarch
  openstack-nova-api-12.0.1-1.el7.noarch
  python-novaclient-2.30.1-1.el7.noarch
  python-nova-12.0.1-1.el7.noarch
  openstack-nova-cert-12.0.1-1.el7.noarch
  openstack-nova-novncproxy-12.0.1-1.el7.noarch
  openstack-nova-scheduler-12.0.1-1.el7.noarch
  openstack-nova-conductor-12.0.1-1.el7.noarch
  openstack-nova-console-12.0.1-1.el7.noarch

  
  2016-02-05 10:07:32.990 2691 INFO nova.osapi_compute.wsgi.server [req-6c5b5c34-e597-4081-aac4-d34b9c0a5e30 b5ab4370e06644d68c6ecd76ba93024c 488fefb6bd5b4689809c8d37a7f91929 - - -] 127.0.0.1 
  "GET /v2/ HTTP/1.1" status: 200 len: 576 time: 2.1554089
  2016-02-05 10:07:33.416 2691 INFO nova.osapi_compute.wsgi.server [req-651601fb-9c92-4788-a76e-7703fad40637 b5ab4370e06644d68c6ecd76ba93024c 488fefb6bd5b4689809c8d37a7f91929 - - -] 127.0.0.1 
  "GET /v2/488fefb6bd5b4689809c8d37a7f91929/os-services HTTP/1.1" status: 200 len: 1235 time: 0.2256131
  2016-02-05 10:08:04.905 2688 INFO nova.osapi_compute.wsgi.server [req-b617c112-d24f-4db9-92ec-4e33fa4f9513 b5ab4370e06644d68c6ecd76ba93024c 488fefb6bd5b4689809c8d37a7f91929 - - -] 127.0.0.1 
  "GET /v2/ HTTP/1.1" status: 200 len: 576 time: 1.6992910
  2016-02-05 10:08:32.078 2690 INFO nova.osapi_compute.wsgi.server [req-b330bd8b-0e83-4c22-b4c2-1c3a088f66df b5ab4370e06644d68c6ecd76ba93024c 488fefb6bd5b4689809c8d37a7f91929 - - -] 127.0.0.1 
  "GET /v2/ HTTP/1.1" status: 200 len: 576 time: 0.4813519
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions [req-1314c729-6e60-4e8b-8fec-522fcc5050db b5ab4370e06644d68c6ecd76ba93024c 488fefb6bd5b4689809c8d37a7f91929 - - -] Unexpected
   exception in API method
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions Traceback (most recent call last):
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/images.py", line 145, in detail
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions     **page_params)
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/image/api.py", line 68, in get_all
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions     return session.detail(context, **kwargs)
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 284, in detail
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions     for image in images:
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 254, in list
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions     for image in paginate(params, return_request_id):
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 238, in paginate
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions     images, resp = self._list(url, "images")
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 63, in _list
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions     resp, body = self.client.get(url)
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 280, in get
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions     return self._request('GET', url, **kwargs)
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 272, in _request
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions     resp, body_iter = self._handle_response(resp)
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 93, in _handle_response
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions     raise exc.from_response(resp, resp.content)
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions HTTPInternalServerError: 500 Internal Server Error: The server has either erred or is incapable of performing the requested o
  peration. (HTTP 500)
  2016-02-05 10:08:35.991 2690 ERROR nova.api.openstack.extensions 
  2016-02-05 10:08:35.999 2690 INFO nova.api.openstack.wsgi [req-1314c729-6e60-4e8b-8fec-522fcc5050db b5ab4370e06644d68c6ecd76ba93024c 488fefb6bd5b4689809c8d37a7f91929 - - -] HTTP exception th
  rown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'glanceclient.exc.HTTPInternalServerError'>
  2016-02-05 10:08:36.000 2690 INFO nova.osapi_compute.wsgi.server [req-1314c729-6e60-4e8b-8fec-522fcc5050db b5ab4370e06644d68c6ecd76ba93024c 488fefb6bd5b4689809c8d37a7f91929 - - -] 127.0.0.1 
  "GET /v2/488fefb6bd5b4689809c8d37a7f91929/images/detail HTTP/1.1" status: 500 len: 445 time: 3.8279209
  2016-02-05 10:08:50.508 2690 INFO nova.osapi_compute.wsgi.server [req-f5239c84-ca91-4a52-90df-1c30ab25c7b2 b5ab4370e06644d68c6ecd76ba93024c 488fefb6bd5b4689809c8d37a7f91929 - - -] 127.0.0.1 
  "GET /v2/ HTTP/1.1" status: 200 len: 576 time: 0.1051960
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions [req-86e155bc-0866-4a5c-a48d-134df0115a32 b5ab4370e06644d68c6ecd76ba93024c 488fefb6bd5b4689809c8d37a7f91929 - - -] Unexpected
   exception in API method
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions Traceback (most recent call last):
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/images.py", line 145, in detail
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions     **page_params)
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/image/api.py", line 68, in get_all
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions     return session.detail(context, **kwargs)
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 284, in detail
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions     for image in images:
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 254, in list
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions     for image in paginate(params, return_request_id):
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 238, in paginate
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions     images, resp = self._list(url, "images")
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 63, in _list
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions     resp, body = self.client.get(url)
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 280, in get
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions     return self._request('GET', url, **kwargs)
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 272, in _request
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions     resp, body_iter = self._handle_response(resp)
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 93, in _handle_response
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions     raise exc.from_response(resp, resp.content)
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions HTTPInternalServerError: 500 Internal Server Error: The server has either erred or is incapable of performing the requested o
  peration. (HTTP 500)
  2016-02-05 10:08:54.320 2690 ERROR nova.api.openstack.extensions 
  2016-02-05 10:08:54.321 2690 INFO nova.api.openstack.wsgi [req-86e155bc-0866-4a5c-a48d-134df0115a32 b5ab4370e06644d68c6ecd76ba93024c 488fefb6bd5b4689809c8d37a7f91929 - - -] HTTP exception th
  rown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'glanceclient.exc.HTTPInternalServerError'>
  2016-02-05 10:08:54.322 2690 INFO nova.osapi_compute.wsgi.server [req-86e155bc-0866-4a5c-a48d-134df0115a32 b5ab4370e06644d68c6ecd76ba93024c 488fefb6bd5b4689809c8d37a7f91929 - - -] 127.0.0.1 
  "GET /v2/488fefb6bd5b4689809c8d37a7f91929/images/detail HTTP/1.1" status: 500 len: 445 time: 3.7173059

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


References