Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ClientException: Unknown Error (HTTP 500)

Checked hundreds of links but cannot get passed the Verify step http://docs.openstack.org/liberty/install-guide-rdo/nova-verify.html

2 weeks trying to resolve this

[root@controller ~]# nova --debug service-list DEBUG (session:198) REQ: curl -g -i -X GET http://localhost:35357/v3 -H "Accept: application/json" -H "User-Agent: python-keystoneclient" INFO (connectionpool:203) Starting new HTTP connection (1): localhost DEBUG (connectionpool:383) "GET /v3 HTTP/1.1" 200 249 DEBUG (session:215) RESP: [200] content-length: 249 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 connection: Keep-Alive date: Mon, 07 Mar 2016 16:37:02 GMT content-type: application/json x-openstack-request-id: req-87acdce7-d923-4476-a0fa-041c427dcc62 RESP BODY: {"version": {"status": "stable", "updated": "2015-03-30T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.4", "links": [{"href": "http://localhost:35357/v3/", "rel": "self"}]}}

DEBUG (base:188) Making authentication request to http://localhost:35357/v3/auth/tokens DEBUG (connectionpool:383) "POST /v3/auth/tokens HTTP/1.1" 201 2257 DEBUG (session:198) REQ: curl -g -i -X GET http://controller:8774/v2/ -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}56d1aa512298043d912ebe3112429d94a554a317" INFO (connectionpool:203) Starting new HTTP connection (1): controller DEBUG (connectionpool:383) "GET /v2/ HTTP/1.1" 500 114 DEBUG (session:215) RESP: [500] date: Mon, 07 Mar 2016 16:37:02 GMT connection: keep-alive content-type: text/plain; charset=UTF-8 content-length: 114 x-compute-request-id: req-c018bfe1-c44d-4d0c-9c5a-47138ff13900 RESP BODY: 500 Internal Server Error

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

DEBUG (shell:905) Unknown Error (HTTP 500) (Request-ID: req-c018bfe1-c44d-4d0c-9c5a-47138ff13900) Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 903, in main OpenStackComputeShell().main(argv) File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 737, in main api_version = api_versions.discover_version(self.cs, api_version) File "/usr/lib/python2.7/site-packages/novaclient/api_versions.py", line 253, in discover_version client) File "/usr/lib/python2.7/site-packages/novaclient/api_versions.py", line 235, in _get_server_version_range version = client.versions.get_current() File "/usr/lib/python2.7/site-packages/novaclient/v2/versions.py", line 62, in get_current return self._get_current() File "/usr/lib/python2.7/site-packages/novaclient/v2/versions.py", line 49, in _get_current return self._get(url, "version") File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 164, in _get _resp, body = self.api.client.get(url) File "/usr/lib/python2.7/site-packages/keystoneclient/adapter.py", line 170, in get return self.request(url, 'GET', **kwargs) File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 93, in request raise exceptions.from_response(resp, body, url, method) ClientException: Unknown Error (HTTP 500) (Request-ID: req-c018bfe1-c44d-4d0c-9c5a-47138ff13900) ERROR (ClientException): Unknown Error (HTTP 500) (Request-ID: req-c018bfe1-c44d-4d0c-9c5a-47138ff13900)

ClientException: Unknown Error (HTTP 500)

Checked hundreds of links but cannot get passed the Verify step http://docs.openstack.org/liberty/install-guide-rdo/nova-verify.html

2 weeks trying to resolve this

[root@controller ~]# nova --debug service-list
DEBUG (session:198) REQ: curl -g -i -X GET http://localhost:35357/v3 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
INFO (connectionpool:203) Starting new HTTP connection (1): localhost
DEBUG (connectionpool:383) "GET /v3 HTTP/1.1" 200 249
DEBUG (session:215) RESP: [200] content-length: 249 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 connection: Keep-Alive date: Mon, 07 Mar 2016 16:37:02 GMT content-type: application/json x-openstack-request-id: req-87acdce7-d923-4476-a0fa-041c427dcc62 
RESP BODY: {"version": {"status": "stable", "updated": "2015-03-30T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.4", "links": [{"href": "http://localhost:35357/v3/", "rel": "self"}]}}

"self"}]}} DEBUG (base:188) Making authentication request to http://localhost:35357/v3/auth/tokens DEBUG (connectionpool:383) "POST /v3/auth/tokens HTTP/1.1" 201 2257 DEBUG (session:198) REQ: curl -g -i -X GET http://controller:8774/v2/ -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}56d1aa512298043d912ebe3112429d94a554a317" INFO (connectionpool:203) Starting new HTTP connection (1): controller DEBUG (connectionpool:383) "GET /v2/ HTTP/1.1" 500 114 DEBUG (session:215) RESP: [500] date: Mon, 07 Mar 2016 16:37:02 GMT connection: keep-alive content-type: text/plain; charset=UTF-8 content-length: 114 x-compute-request-id: req-c018bfe1-c44d-4d0c-9c5a-47138ff13900 RESP BODY: 500 Internal Server Error

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

operation. DEBUG (shell:905) Unknown Error (HTTP 500) (Request-ID: req-c018bfe1-c44d-4d0c-9c5a-47138ff13900) Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 903, in main OpenStackComputeShell().main(argv) File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 737, in main api_version = api_versions.discover_version(self.cs, api_version) File "/usr/lib/python2.7/site-packages/novaclient/api_versions.py", line 253, in discover_version client) File "/usr/lib/python2.7/site-packages/novaclient/api_versions.py", line 235, in _get_server_version_range version = client.versions.get_current() File "/usr/lib/python2.7/site-packages/novaclient/v2/versions.py", line 62, in get_current return self._get_current() File "/usr/lib/python2.7/site-packages/novaclient/v2/versions.py", line 49, in _get_current return self._get(url, "version") File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 164, in _get _resp, body = self.api.client.get(url) File "/usr/lib/python2.7/site-packages/keystoneclient/adapter.py", line 170, in get return self.request(url, 'GET', **kwargs) File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 93, in request raise exceptions.from_response(resp, body, url, method) ClientException: Unknown Error (HTTP 500) (Request-ID: req-c018bfe1-c44d-4d0c-9c5a-47138ff13900) ERROR (ClientException): Unknown Error (HTTP 500) (Request-ID: req-c018bfe1-c44d-4d0c-9c5a-47138ff13900)

req-c018bfe1-c44d-4d0c-9c5a-47138ff13900)