Ask Your Question

stryker's profile - activity

2015-08-24 09:43:37 -0500 received badge  Famous Question (source)
2015-08-22 01:44:10 -0500 received badge  Notable Question (source)
2015-08-21 22:44:02 -0500 received badge  Popular Question (source)
2015-08-21 10:47:36 -0500 received badge  Nice Question (source)
2015-08-21 09:48:13 -0500 received badge  Student (source)
2015-08-21 09:44:47 -0500 asked a question OpenStack Kilo nova image-list HTTP 500 but glance works

Hi,

I have seen there have been quite a few questions with regards to this error / fault, however, none of them seem to help me in any way.

I'm installing OpenStack Kilo on Ubuntu 14.04.3 LTS.

When running "nova image-list" outputs the following:

nova image-list
ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-af55cd26-ff4c-473b-a0c0-77170c2f7672)

Where as "glance image-list" outputs as you'd expect.

I have set debug and verbose to true on glance-api.conf, glance-registry.conf and nova.conf. However, I am unable to find anything myself.

nova-api.log:

2015-08-21 13:44:07.242 3803 DEBUG keystoneclient.session [-] REQ: curl -g -i -X GET http://controller1.local:35357/v3/auth/tokens -H "X-Subject-Token: {SHA1}bd6100882575edf494364f279bdc560a17f8bf17" -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}a7426a3961fbe56825a3eb0591fbd36898cd55a0" _http_log_request /usr/lib/python2.7/dist-packages/keystoneclient/session.py:195
2015-08-21 13:44:07.279 3803 DEBUG keystoneclient.session [-] RESP: [200] content-length: 2320 x-subject-token: {SHA1}bd6100882575edf494364f279bdc560a17f8bf17 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.7 (Ubuntu) connection: Keep-Alive date: Fri, 21 Aug 2015 13:44:07 GMT x-openstack-request-id: req-24ba7708-65c3-458d-8732-5d83433194f1 content-type: application/json x-distribution: Ubuntu 
RESP BODY: {"token": {"methods": ["password"], "roles": [{"id": "0f9fff04a78f421b86b081e2e9ab7cc3", "name": "admin"}], "expires_at": "2015-08-21T14:44:07.232196Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "1722f24100534db4a8965603789e45aa", "name": "admin"}, "catalog": "<removed>", "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id": "b57b02f6e7f34fc083f650b4bc7c0535", "name": "admin"}, "audit_ids": ["3vga4k0VT16P2dzFHd9O6A"], "issued_at": "2015-08-21T13:44:07.232244Z"}}
 _http_log_response /usr/lib/python2.7/dist-packages/keystoneclient/session.py:223
2015-08-21 13:44:07.281 3803 DEBUG nova.api.openstack.wsgi [req-af55cd26-ff4c-473b-a0c0-77170c2f7672 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Calling method '<bound method Controller.detail of <nova.api.openstack.compute.images.Controller object at 0x7f2b61b0b410>>' _process_stack /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:783
2015-08-21 13:44:07.434 3803 ERROR nova.api.openstack [req-af55cd26-ff4c-473b-a0c0-77170c2f7672 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Caught error: HTTPInternalServerError (HTTP 500)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack Traceback (most recent call last):
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 125, in __call__
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return req.get_response(self.application)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1320, in send
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     application, catch_exc_info=False)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1284, in call_application
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     app_iter = application(self.environ, start_response)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return resp(environ, start_response)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 634, in ...
(more)