Authorization Failed: Unable to establish connection to h ttp://controller/v2.0/tokens from other computers
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=h ttp://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 h ttp://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 h ttp://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.