keystoneauth1.exceptions.connection.ConnectFailure - AWS Openstack

asked 2018-09-21 02:50:44 -0600

VJ gravatar image

hi All, I have Openstack installed in an AWS EC2 instance with a Cirros image. Accessing the horizon dashboard via the Public IP/DNS lists all the API with the internal (Private IP) of 10.x.x.xxx. When running Openstack client commands from an external server, i get the below error. "keystoneauth1.exceptions.connection.ConnectFailure: Unable to establish connection to http://10.x.x.xxx:5000/v3/endpoints (http://10.x.x.xxx:5000/v3/endpoints?): HTTPConnectionPool(host='10.x.x.xxx', port=5000): Max retries exceeded with url: /v3/endpoints (Caused by NewConnectionError('<urllib3.connection.httpconnection 0x7f54acd7bac8="" at="" object="">: Failed to establish a new connection: [Errno 110] Connection timed out',))"</urllib3.connection.httpconnection>

where, the 10.x.x.xxx is the internal/private IP of Openstack (Ocata). The below is the command that fails..... "openstack --os-auth-url http://externalIP:5000/v3 --debug server list"

Here are details of my setup:- Environment - AWS EC2 with RHEL 7.x Openstack - Ocata Openstack Image - Cirros0.3.4

For some reason, Openstack seem to map the internal IP while making a call to the external IP/DNS. Have anybody come across this? Do we need to do some config changes to fix this? Please help.

edit retag flag offensive close merge delete