Unable to ssh openstack instance

Sofia Enriquez senrique at redhat.com
Fri Jul 19 15:09:27 UTC 2019


Hi Manula,

This guide really helps me when testing things with Devstack[1].
Hope it can help you too.

Sofia

[1]
https://docs.openstack.org/networking-ovn/latest/contributor/testing.html#booting-vms

On Thu, Jul 18, 2019 at 5:54 PM Slawek Kaplonski <skaplons at redhat.com>
wrote:

> 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
>
>
>

-- 

L. Sofía Enriquez

she/her

Associate Software Engineer

Red Hat PnT <https://www.redhat.com>

IRC: @enriquetaso
@RedHat <https://twitter.com/redhat>   Red Hat
<https://www.linkedin.com/company/red-hat>  Red Hat
<https://www.facebook.com/RedHatInc>
<https://www.redhat.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190719/95f7a218/attachment-0001.html>


More information about the openstack-discuss mailing list