keystoneclinet Authentication failed:Unable to communicate with identity service

asked 2014-09-11 01:35:01 -0600

anonymous user


updated 2014-09-12 18:33:13 -0600

smaffulli gravatar image

I tried creating a demo tenant using keystoneclient API in Icehouse openstack. But I was getting Authentication error:

I manually executed get token it was working fine with same credentials but not sure why its was failing when I tried through API. Below is error log:

File "C:\Python27\lib\site-packages\python_keystoneclient-0.2.3-py2.7.egg\keystoneclient\", line 205, in authenticate
  File "C:\Python27\lib\site-packages\python_keystoneclient-0.2.3-py2.7.egg\keystoneclient\v2_0\", line 180, in get_raw_token_from_identity_service
    "%s" % e)
AuthorizationFailure: Authorization Failed: Unable to communicate with identity service: <html>
<title>Gateway Timeout 504</title>
<body> </body>
. (HTTP 504)
edit retag flag offensive close merge delete


Will you please check your firewall settings? seems your url is not reachable.

lafada gravatar imagelafada ( 2014-09-11 01:48:17 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-09-11 02:09:24 -0600

sirisha gravatar image

Are you working under a proxy? In the error message it is saying that "Gateway Timeout 504".

manually executed get-token command means?

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-09-11 01:35:01 -0600

Seen: 846 times

Last updated: Sep 12 '14