Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Keystone - Unable to establish connection

Hello everyone,

In the past days I am struggling with keystone client, I need to get the list of tenants and performing keystone tenant-list results in the following error:

Unable to establish connection to http://192.168.0.2:35357/v2.0/tenants.

If the query is executed inside the server it returns the right values, but from outside (my computer for example) I get the above error. Does someone has an idea of what could be the issue?

Debugging keystone I could notice that the token is being generated but the query is not being performed:

DEBUG:keystoneclient.session:REQ: curl -i -X GET http://192.168.0.2:35357/v2.0/tenants -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: 614292a25121408e974d715f44fce6e2" INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 192.168.0.2.