Unable to ssh openstack instance

Slawek Kaplonski skaplons at redhat.com
Thu Jul 18 20:50:21 UTC 2019


Hi,

It seems that 172.24.4.147 is “fixed IP” of Your instance. What network type are You using there? Usually tenant network is some tunnel network type, like VxLAN or GRE. In such case this network is isolated and You will not have access to it directly from host.
You can try to do SSH to such IP address from DHCP or router namespace. DHCP namespace for Your network will be created on node where neutron-dhcp-agent is running and its name will be something like “qdhcp-<network_uuid>”.
For router it’s similar, namespace will be where neutron-l3-agent which is hosting Your router is running and name of namespace will be like “qrouter-<router_uuid>”

If You connected FIP to the instance, and You have some provider network used as external net (vlan or flat) than such IPs should be probably reachable from Your host - but this depends on Your network configuration on Your host(s).

> On 18 Jul 2019, at 09:25, Manula Thantriwatte <manulachathurika at gmail.com> wrote:
> 
> Hi All,
> 
> I'm trying to ssh openstack image I have created using cirros image. But I'm getting following error.
> 
> ssh: connect to host 172.24.4.147 port 22: No route to host
> 
> But when I go to the instance console I'm able to login. 
> 
> For the security groups I have enable port 22.
> 
> I have associated floating IP as well.
> 
> How to resolve this?
> 
> Thanks !
> 
> -- 
> Regards,
> Manula Chathurika Thantriwatte
> phone : (+94) 772492511
> email : manulachathurika at gmail.com
> Linkedin : http://lk.linkedin.com/in/manulachathurika 
> blog : http://manulachathurika.blogspot.com/
> <Screenshot from 2019-07-18 12-53-25.png><Screenshot from 2019-07-18 12-54-51.png>

— 
Slawek Kaplonski
Senior software engineer
Red Hat




More information about the openstack-discuss mailing list