I'm using a public cloud for Openstack and created an instance of ubuntu. When I tried to ssh (or) ping to the IP address available there, it says "No route to host found" and "Host Unreachable". How to fix it?
Asked
Active
Viewed 2,111 times
2 Answers
0
Are you sure that a DNS record was automatically created when starting VM in your Openstack cloud? You could check this via dig command.

vania-pooh
- 2,933
- 4
- 24
- 42
0
By default all OpenStack environments have security group rules which block all inbound packets to guests. If you want to be able to ssh / ping your created guests you should run the following.
openstack security group rule create --proto icmp --dst-port 0 default
openstack security group rule create --proto tcp --dst-port 22 default
^^^ The above part is from this link
If you get an error for the network name then you can use the id of each of your networks.

zx485
- 28,498
- 28
- 50
- 59

Trevor McCasland
- 51
- 4