Authorization Failed: Unable to establish connection to http://controller/v2.0/tokens from other computers

asked 2016-06-22 14:49:17 -0500

fch0528 gravatar image

Hi all,

I am facing a keystone authentication failure problem for several days.

For the same command (Let's say, keystone --debug --os-username=admin --os-password=nova --os-auth-url=http://10.155.136.40:35357/v2.0 token-get), if I run it locally on the controller node, it can get the token. However, if I execute it on another server which has installed python-keystoneclient, it shows errors as below:

DEBUG:keystoneclient.session:REQ: curl -i -X POST http://10.155.136.40:35357/v2.0/tokens -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient" -d '{"auth": {"passwordCredentials": {"username": "admin", "password": "nova"}}}' INFO:urllib3.connectionpool:Starting new HTTP connection (1): 10.155.136.40 Authorization Failed: Unable to establish connection to http://10.155.136.40:35357/v2.0/tokens

I can login the dashboard successfully, and the keystone service is enabled. But I do not understand "identity (native backend)", does it matter? Otherwise, everything works fine locally on the controller node. Current server can ping the controller successfully, and there is no firewall service on.

edit retag flag offensive close merge delete