osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unable to ssh openstack instance


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