Ask Your Question

How to reach Openstack API endpoint from Openstack's VM

asked 2017-02-28 05:34:57 -0500

surabhi gravatar image

Hi, We need help in reaching Openstack's endpoint from its VM. Our openstack's identity endpoint is at and VM's floating IP is Now, we need to reachidentity endpoint from VM. It pings the host IP but cant reach the endpoint. Kindly, help in solving the issue Thanks in advance!!

edit retag flag offensive close merge delete


Test doing curl to endpoint with -v to see where connection is dropped. Maybe the response from keystone is denied by security groups

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-02-28 06:28:03 -0500 )edit

By host ip do you mean where keystone is listening?, if not is it able to ping the controller where keystone daemon is running?

rahulunair gravatar imagerahulunair ( 2017-02-28 14:05:27 -0500 )edit

yeah host IP is where keystone is. I have all in one singlenode openstack kilo setup.

surabhi gravatar imagesurabhi ( 2017-02-28 22:00:26 -0500 )edit

Thank you eduardo........ will try dat and post the result!

surabhi gravatar imagesurabhi ( 2017-02-28 22:01:27 -0500 )edit

output :- curl -vv * Trying * connect to port 5000 failed: Connection refused * Failed to connect to port 5000: Connection refused * Closing connection 0 curl: (7) Failed to connect to port 5000: Connection refused

surabhi gravatar imagesurabhi ( 2017-03-01 02:37:33 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2017-03-02 01:38:57 -0500

SangeethKumar gravatar image

Please check with port 5000 is open to access the machine. Try with another instance running in same network with private IP, If it works fine, probably issue with your firewall settings.

edit flag offensive delete link more


where to check with the port 5000 in host or in VM? If it is a firewall issue what has to be done to reach endpoint? We have edited VM's secgroup with 5000 port egress(Allowing to connect outside VM) Please help us in solving the issue,,,,

surabhi gravatar imagesurabhi ( 2017-03-14 04:33:53 -0500 )edit

answered 2017-03-01 17:21:05 -0500

DrEdWilliams gravatar image

Check your security groups assigned to the instances to see if the right port (5000) is allowed out of the VM. Successful ping means the network connection is there, but inability to reach a specific port means that there is a firewall is in the way -- either the security around the VMs that openstack provides, or something else (like firewalld?).

edit flag offensive delete link more


OK thank you I will check with the port then.

surabhi gravatar imagesurabhi ( 2017-03-01 21:53:11 -0500 )edit

checked with security groups by modifying and adding right port 5000, then also its not reaching endpoint from its VM. Please, help us to solve this issue as we are really stuck in this!!!!

surabhi gravatar imagesurabhi ( 2017-03-12 23:40:34 -0500 )edit

Kindly help us regarding this issue, tried all the above solutions but not successfull. Please, clearly explain how to reach openstack's endpoint from its VM.

surabhi gravatar imagesurabhi ( 2017-04-19 23:49:10 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2017-02-28 05:34:57 -0500

Seen: 604 times

Last updated: Mar 02 '17