keystoneclinet Authentication failed:Unable to communicate with identity service
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\client.py", line 205, in authenticate
token)
File "C:\Python27\lib\site-packages\python_keystoneclient-0.2.3-py2.7.egg\keystoneclient\v2_0\client.py", line 180, in get_raw_token_from_identity_service
"%s" % e)
AuthorizationFailure: Authorization Failed: Unable to communicate with identity service: <html>
<head>
<title>Gateway Timeout 504</title>
<body> </body>
</head>
</html>
. (HTTP 504)
Will you please check your firewall settings? seems your url is not reachable.