Ask Your Question
0

ClientException: The server has either erred or is incapable of performing the requested operation.

asked 2014-04-24 17:26:59 -0500

django gravatar image

updated 2014-04-25 13:51:05 -0500

nova image-list command fails. I would really appreciate any help

root@os-ctrlr:/home/localadmin# nova --debug --insecure image-list
.
.
.
DEBUG (connectionpool:283) "GET /v2/ebdf720acfa749b48297d57d5270c890/images/detail HTTP/1.1" 500 128
RESP: [500] {'date': 'Thu, 24 Apr 2014 22:03:35 GMT', 'content-length': '128', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-2db5bda7-25fc-448f-83be-90c19aa14abb'}
RESP BODY: {"computeFault": {"message": "The server has either erred or is incapable of performing the requested operation.", "code": 500}}

DEBUG (shell:737) The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-2db5bda7-25fc-448f-83be-90c19aa14abb)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 734, in main
    OpenStackComputeShell().main(map(strutils.safe_decode, sys.argv[1:]))
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 670, in main
    args.func(self.cs, args)
  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/shell.py", line 798, in do_image_list
    image_list = cs.images.list(limit=limit)
  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/images.py", line 55, in list
    return self._list('/images%s%s' % (detail, query), 'images')
  File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 61, in _list
    _resp, body = self.api.client.get(url)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 229, in get
    return self._cs_request(url, 'GET', **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 213, in _cs_request
    **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 195, in _time_request
    resp, body = self.request(url, method, **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 189, in request
    raise exceptions.from_response(resp, body, url, method)
ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-2db5bda7-25fc-448f-83be-90c19aa14abb)
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-2db5bda7-25fc-448f-83be-90c19aa14abb)

error shown in /var/log/nova-api.log

2014-04-25 18:47:51.342 ERROR nova.api.openstack [req-4e465ea4-14bc-4294-947c-00401b27c666 a0cb1b21fbed4e3d82cc6ffc51783126 ebdf720acfa749b48297d57d5270c890] Caught er
ror: 'GreenSocket' object has no attribute 'close'
2014-04-25 18:47:51.342 16886 TRACE nova.api.openstack Traceback (most recent call last):
2014-04-25 18:47:51.342 16886 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 81, in __call__
2014-04-25 18:47:51.342 16886 TRACE nova.api.openstack     return req.get_response(self.application)
2014-04-25 18:47:51.342 16886 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
2014-04-25 18:47:51.342 16886 TRACE nova.api.openstack     application, catch_exc_info=False)
2014-04-25 18:47:51.342 16886 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application
2014-04-25 18:47:51.342 16886 TRACE nova.api.openstack     app_iter = application(self.environ, start_response)
2014-04-25 18:47:51.342 16886 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-04-25 18:47:51.342 16886 TRACE nova.api.openstack     return resp(environ, start_response ...
(more)
edit retag flag offensive close merge delete

Comments

You don't need to post your entire keystone token in your question; it takes up too much space. Since you're getting an error response from nova, the first place to check for additional information is the server log. What do you see in /var/log/nova/*.log that corresponds to the failed request?

larsks gravatar imagelarsks ( 2014-04-25 13:34:10 -0500 )edit

Update with nova-api.log

django gravatar imagedjango ( 2014-04-25 13:52:01 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-04-25 14:19:57 -0500

larsks gravatar image

Now we have an actual error message:

AttributeError: 'GreenSocket' object has no attribute 'close'

This problem is detailed in bug 1266974. You need an updated version of the "eventlet" python module.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-04-24 17:26:59 -0500

Seen: 6,087 times

Last updated: Apr 25 '14