Ask Your Question
0

nova-compute cannot make vm due to keystone auth failure.

asked 2014-10-26 03:51:27 -0500

etlars gravatar image

updated 2014-10-27 11:22:08 -0500

mpetason gravatar image

in juno(ubuntu 14.04), nova-compute cannot make vm due to keystone auth failure.

in my nova-compute.log :

REQ: curl -i http://controller:35357/v2.0/tokens -X POST -H "User-Agent: python-neutronclient" -d '{"auth": {"tenantName": "service", "passwordCredentials": {"username": "neutron", "password": "REDACTED"}}}'
 http_log_req /usr/lib/python2.7/dist-packages/neutronclient/common/utils.py:138
2014-10-24 11:46:50.444 1845 DEBUG nova.openstack.common.lockutils [-] Releasing semaphore "refresh_cache-6bc711b4-5e69-418a-9a98-3ac7f18d44ec" lock /usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py:238

2014-10-24 11:46:50.445 1845 ERROR nova.compute.manager [-] [instance: 6bc711b4-5e69-418a-9a98-3ac7f18d44ec] An error occurred while refreshing the network cache.

2014-10-24 11:46:50.445 1845 TRACE nova.compute.manager [instance: 6bc711b4-5e69-418a-9a98-3ac7f18d44ec] Traceback (most recent call last):
...
2014-10-24 11:46:50.445 1845 TRACE nova.compute.manager [instance: 6bc711b4-5e69-418a-9a98-3ac7f18d44ec] **AttributeError: 'HTTPClient' object has no attribute 'connections'**

at this time, keystone-all.log shows something wrong as follow:

root@controller:~/work# tail -f /var/log/keystone/keystone-all.log

2014-10-24 11:45:32.359 2100 DEBUG keystone.middleware.core [-] **Auth token not in the request header. Will not build auth context**. process_request /usr/lib/python2.7/dist-packages/keystone/middleware/core.py:270
2014-10-24 11:45:33.426 2100 DEBUG keystone.common.wsgi [-] arg_dict: {} __call__ /usr/lib/python2.7/dist-packages/keystone/common/wsgi.py:191

plz tell me how to go further... I cannot catch up what makes this problem. thanks in advance.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
4

answered 2014-10-27 19:16:44 -0500

etlars gravatar image

updated 2014-10-27 19:17:35 -0500

I solved it by myself...

in neutron.conf, I set nova_admin_tenant_id to service as I did in icehouse or havana... but when i changed it tenant name to tenant id it works!

nova_admin_tenant_id = 37914a51643147829892437b5dea4555

edit flag offensive delete link more

Comments

thanks for posting

SGPJ gravatar imageSGPJ ( 2014-10-30 11:01:00 -0500 )edit

Did you make this change on the controller?

ethode gravatar imageethode ( 2015-03-30 22:56:04 -0500 )edit
0

answered 2017-04-05 09:10:51 -0500

kobig gravatar image

Hi Having the same issue how did you solved it ?

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

2 followers

Stats

Asked: 2014-10-26 03:27:47 -0500

Seen: 3,663 times

Last updated: Apr 05 '17