Unable to ssh openstack instance
Slawek Kaplonski
skaplons at redhat.com
Thu Jul 18 09:27:21 UTC 2019
Hi,
> On 18 Jul 2019, at 11:15, Lenny Verkhovsky <lennyb at mellanox.com> wrote:
>
> You can check it with
> # openstack server list
> # openstack port list
> You need to see which port is allocated to VM
You can check that with command like:
nova interface-list <vm_id>
>
>
> From: Manula Thantriwatte <manulachathurika at gmail.com>
> Sent: Thursday, July 18, 2019 12:03 PM
> To: Lenny Verkhovsky <lennyb at mellanox.com>
> Cc: openstack-discuss <openstack-discuss at lists.openstack.org>
> Subject: Re: Unable to ssh openstack instance
>
> Hi Lenny,
>
> When I trying to associate floating IP it asking port. What would be the default port for this ?
>
> Thanks !
>
> On Thu, Jul 18, 2019 at 2:26 PM Manula Thantriwatte <manulachathurika at gmail.com> wrote:
> Hi Lenny,
>
> Got it. Need to source openrc file in devstack folder.
>
> Thanks !
>
> On Thu, Jul 18, 2019 at 2:17 PM Manula Thantriwatte <manulachathurika at gmail.com> wrote:
> Hi Lenny,
>
> When I run the above command it asking password. OS password and OpenStack admin password didn't work. Also I haven't set any password when installing DevStack.
>
> Is there a default password for this ?
>
> Thanks !
>
> On Thu, Jul 18, 2019 at 1:10 PM Lenny Verkhovsky <lennyb at mellanox.com> wrote:
> Hi,
> You need to create public ip, add it to network port and try to ssh to the image
>
> # openstack floating ip create public
> # openstack floating ip set --port <portid> <floating ip>
>
> Best Regards
> Lenny
>
> From: Manula Thantriwatte <manulachathurika at gmail.com>
> Sent: Thursday, July 18, 2019 10:28 AM
> To: openstack-discuss <openstack-discuss at lists.openstack.org>
> Subject: Unable to ssh openstack instance
>
> 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/
>
>
> --
> Regards,
> Manula Chathurika Thantriwatte
> phone : (+94) 772492511
> email : manulachathurika at gmail.com
> Linkedin : http://lk.linkedin.com/in/manulachathurika
> blog : http://manulachathurika.blogspot.com/
>
>
> --
> Regards,
> Manula Chathurika Thantriwatte
> phone : (+94) 772492511
> email : manulachathurika at gmail.com
> Linkedin : http://lk.linkedin.com/in/manulachathurika
> blog : http://manulachathurika.blogspot.com/
>
>
> --
> Regards,
> Manula Chathurika Thantriwatte
> phone : (+94) 772492511
> email : manulachathurika at gmail.com
> Linkedin : http://lk.linkedin.com/in/manulachathurika
> blog : http://manulachathurika.blogspot.com/
—
Slawek Kaplonski
Senior software engineer
Red Hat
More information about the openstack-discuss
mailing list