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

Remo Mattei Remo at Italy1.com
Thu Jun 23 03:40:37 UTC 2016


Usually you need to use port 5000 iptables may block that port. 

Inviato da iPhone

> Il giorno 22 giu 2016, alle ore 18:38, Chunhai Feng <fch0528 at gmail.com> ha scritto:
> 
> 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 tohttp://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.
> 
> Thank you for all your help.
> 
> Best Regards,
> 
> Chunhai
> 
> !DSPAM:1,576b3ec4177778734420095!
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 
> 
> !DSPAM:1,576b3ec4177778734420095!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160622/a2928c79/attachment.html>


More information about the Openstack mailing list