Getting `Connection timed out` when trying to reach OpenStack with RDO endpoints

asked 2019-02-07 18:05:53 -0600

Kilmer Luiz gravatar image

In a CentOS Google Cloud Plataform VM, I have installed a OpenStack with RDO packstack. I've configured the VM's firewall to open ports used in Openstack endpoints, like 5000, used by keystone (listed with openstack catalog list. From browser (Horizon), I'm able to do whatever I want, but if I hit any endpoint directly, for example curl {ip}:5000 or hitting from Postman, I get a Connection timed out.

Am I missing something? What do I need to do to hit those endpoints?

edit retag flag offensive close merge delete


Perhaps the ports are not really open, or they are blocked somewhere between your PC and the Google VM? firewall-cmd --list-ports and tcpdump may help figuring this out.

What if you log on to the Google VM, then run curl?

Bernd Bausch gravatar imageBernd Bausch ( 2019-02-07 20:42:51 -0600 )edit

Thanks for answering and helping me. firewall-cmd --list-ports returns FirewallD is not running. So, should not be blocking me. I've never used that tcpdump package, but when I run tcpdump, I got nothing: tcpdump:. Looks empty.

Kilmer Luiz gravatar imageKilmer Luiz ( 2019-02-07 22:05:09 -0600 )edit

Using Google VM, I can curl with both internal and external IP's. The problem is that I need to use endpoits outside VM. Can't understand why I can access in browser but not with endpoits.

Kilmer Luiz gravatar imageKilmer Luiz ( 2019-02-07 22:14:48 -0600 )edit

The university network was blocking it! I created other VM in Google and curl with external IP and worked. So I connected from my 4G and worked! Thanks for helping

Kilmer Luiz gravatar imageKilmer Luiz ( 2019-02-07 22:34:27 -0600 )edit