compute service list error 500 [closed]

asked 2017-05-19 10:40:32 -0600

kurotsu gravatar image

updated 2017-05-20 21:12:59 -0600

hi all,

It's my first insall and I am stuck.

i'm using this doc for install https://docs.openstack.org/newton/ins...

when i finish nova steps install and try to verify with openstack compute service list return error 500 :

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

I have already checked service api enpoint

ID | RegionOne | nova         | compute      | True    | internal  | http://controller:8774/v2.1/%(tenant_id)s    
ID | RegionOne | nova         | compute      | True    | public  | http://controller:8774/v2.1/%(tenant_id)s  
ID | RegionOne | nova         | compute      | True    | admin  | http://controller:8774/v2.1/%(tenant_id)s

Here my keystone log:

2017-05-19 17:10:32.351 1939 INFO keystone.common.wsgi [req-a593c4dc-acf6-4fa1-8a90-5d23370a77a0 - - - - -] GET http://controller:35357/v3/  
2017-05-19 17:10:32.362 1940 INFO keystone.common.wsgi [req-b2817236-6886-4a81-a8c6-ef02238fccfe - - - - -] POST http://controller:35357/v3/auth/tokens   
2017-05-19 17:10:32.560 1938 INFO keystone.common.wsgi [req-d954066e-f078-4803-876e-0857ad4b1a7a - - - - -] POST http://controller:35357/v3/auth/tokens

here nova-api log:

2017-05-19 17:10:32.718 2663 WARNING keystoneauth.identity.generic.base [-] Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.  
2017-05-19 17:10:32.719 2663 ERROR nova.api.openstack [-] Caught error: Could not determine a suitable URL for the plugin  
2017-05-19 17:10:32.719 2663 ERROR nova.api.openstack Traceback (most recent call last):  
2017-05-19 17:10:32.719 2663 ERROR nova.api.openstack   File "/usr/lib/python2.7/site- packages/nova/api/openstack/__init__.py", line 89, in __call__  
2017-05-19 17:10:32.719 2663 ERROR nova.api.openstack     return req.get_response(self.application)  
2017-05-19 17:10:32.719 2663 ERROR nova.api.openstack   File "/usr/lib/python2.7/site-packages/webob/request.py", line 1299, in send  
2017-05-19 17:10:32.719 2663 ERROR nova.api.openstack     application, catch_exc_info=False)  
2017-05-19 17:10:32.719 2663 ERROR nova.api.openstack   File "/usr/lib/python2.7/site-packages/webob/request.py", line 1263, in call_application  
2017-05-19 17:10:32.719 2663 ERROR nova.api.openstack     app_iter = application(self.environ, start_response)  
2017-05-19 17:10:32.719 2663 ERROR nova.api.openstack   File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__  
2017-05-19 17:10:32.719 2663 ERROR nova.api.openstack     return resp(environ, start_response)  
2017-05-19 17:10:32.719 2663 ERROR nova.api.openstack   File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__  
2017-05-19 17:10:32.719 2663 ERROR nova.api.openstack     resp = self.call_func(req, *args, **self.kwargs)  
2017-05-19 17:10:32.719 2663 ERROR nova.api.openstack   File "/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func  
2017-05-19 17:10:32.719 2663 ERROR nova.api.openstack     return self.func(req, *args, **kwargs)  
2017-05-19 17:10:32.719 2663 ERROR nova.api.openstack   File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 320, in __call__  
2017-05-19 17:10:32.719 2663 ERROR nova.api.openstack     response = self.process_request(req)  
2017-05-19 17:10:32.719 2663 ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by kurotsu
close date 2017-05-26 17:44:54.234849

Comments

I think you either misconfigured the keystone_authtoken section in nova.conf, or you misconfigured Keystone. If you can successfully obtain a token (openstack token issue), it's probably the former.

If you enable debug logging for Nova, perhaps it tells you what URL it tries to access.

Bernd Bausch gravatar imageBernd Bausch ( 2017-05-20 21:12:22 -0600 )edit

thx I was wrong on the number of ports auth_url in nova.conf.... thanks for the help

kurotsu gravatar imagekurotsu ( 2017-05-23 04:35:45 -0600 )edit