Ask Your Question
0

ClientException: Unknown Error (HTTP 500)

asked 2016-03-07 10:53:52 -0500

acatenac gravatar image

updated 2016-03-08 01:04:27 -0500

Checked hundreds of links but cannot get passed the Verify step http://docs.openstack.org/liberty/ins...

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)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-07 19:42:06 -0500

Mohit gravatar image

This might work - set or update admin_auth_url = http://localhost:35357/v2.0 on /etc/nova/nova.conf Restart the openstack services and check.

edit flag offensive delete link more

Comments

No luck so far have tried every possible combination

acatenac gravatar imageacatenac ( 2016-03-09 12:39:43 -0500 )edit

Same here!

Naushad gravatar imageNaushad ( 2016-05-27 02:43:33 -0500 )edit

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: 2016-03-07 10:53:52 -0500

Seen: 956 times

Last updated: Mar 08 '16