osdir.com


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

Unable to ssh openstack instance


You can check it with
# openstack server list
# openstack port list
You need to see which port is allocated to VM


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<mailto: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<mailto: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<mailto: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<mailto:manulachathurika at gmail.com>>
Sent: Thursday, July 18, 2019 10:28 AM
To: openstack-discuss <openstack-discuss at lists.openstack.org<mailto: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<mailto: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%7Cc222291f0dcd4084510308d70b5ecf33%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636990374142258575&sdata=pTyobgYI%2BSNC8niss1UPJuuN1Bd4uDxSFM7q69ZOrH0%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%7Cc222291f0dcd4084510308d70b5ecf33%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636990374142268566&sdata=5HuiwyVeH6cQQ9GQYRzEVC0n0XhB0JuHDedBleHmD9I%3D&reserved=0>


--
Regards,
Manula Chathurika Thantriwatte
phone : (+94) 772492511
email : manulachathurika at gmail.com<mailto: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%7Cc222291f0dcd4084510308d70b5ecf33%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636990374142278559&sdata=1nJvDghxv4tqhBcJxV7QLxfwMtR86Hq3s2tKjDfIG3c%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%7Cc222291f0dcd4084510308d70b5ecf33%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636990374142278559&sdata=bwNaq8OhdTgkr%2FsqElZrjB1wDoLl3mTyS5kugD50hag%3D&reserved=0>


--
Regards,
Manula Chathurika Thantriwatte
phone : (+94) 772492511
email : manulachathurika at gmail.com<mailto: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%7Cc222291f0dcd4084510308d70b5ecf33%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636990374142288550&sdata=tMDmtw9xYfdJrqkJzYeqvs7ZvgkNa23mWqb3Itxh%2BZM%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%7Cc222291f0dcd4084510308d70b5ecf33%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636990374142288550&sdata=KNtPojNlEY2CaEfg2rqhbf3gpym4skc1qLNxXL%2FsZpU%3D&reserved=0>


--
Regards,
Manula Chathurika Thantriwatte
phone : (+94) 772492511
email : manulachathurika at gmail.com<mailto: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%7Cc222291f0dcd4084510308d70b5ecf33%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636990374142298548&sdata=NIi%2FlJL38AwASFOzci3wTDsedYB2Y6zIauB%2FQ8fX8WI%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%7Cc222291f0dcd4084510308d70b5ecf33%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636990374142298548&sdata=B5Oqiac2TFl4UDwNeni3xMo04fVQrcuBcbxFKBuU%2FHI%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190718/365b5203/attachment-0001.html>