osdir.com


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

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
>>> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flk.linkedin.com%2Fin%2Fmanulachathurika&data=02%7C01%7Clennyb%40mellanox.com%7C9738bf5a50d1415d9c8d08d70b520612%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636990319221362361&sdata=0Ocn%2FUmAc1dWsZXyTooDt%2FSdJfIuqNXXlN3tcuVNXrE%3D&reserved=0>*
>>>
>>>
>>> blog : http://manulachathurika.blogspot.com/
>>> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmanulachathurika.blogspot.com%2F&data=02%7C01%7Clennyb%40mellanox.com%7C9738bf5a50d1415d9c8d08d70b520612%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636990319221372359&sdata=3k2mci7x0diwBG7zNbHD1wU1%2FUDEVciIwlmFH%2FW2KHc%3D&reserved=0>
>>>
>>
>>
>> --
>> Regards,
>> Manula Chathurika Thantriwatte
>> phone : (+94) 772492511
>> email : manulachathurika at gmail.com
>> Linkedin : *http://lk.linkedin.com/in/manulachathurika
>> <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
> <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
<http://lk.linkedin.com/in/manulachathurika>*
blog : http://manulachathurika.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190718/9447553d/attachment.html>