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@gmail.com Linkedin : *http://lk.linkedin.com/in/manulachathurika <http://lk.linkedin.com/in/manulachathurika>* blog : http://manulachathurika.blogspot.com/
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@gmail.com Linkedin : *http://lk.linkedin.com/in/manulachathurika <http://lk.linkedin.com/in/manulachathurika>* blog : http://manulachathurika.blogspot.com/
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@gmail.com> Sent: Thursday, July 18, 2019 10:28 AM To: openstack-discuss <openstack-discuss@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@gmail.com<mailto:manulachathurika@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>
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@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@gmail.com> *Sent:* Thursday, July 18, 2019 10:28 AM *To:* openstack-discuss <openstack-discuss@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@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@gmail.com Linkedin : *http://lk.linkedin.com/in/manulachathurika <http://lk.linkedin.com/in/manulachathurika>* blog : http://manulachathurika.blogspot.com/
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@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@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@gmail.com> *Sent:* Thursday, July 18, 2019 10:28 AM *To:* openstack-discuss <openstack-discuss@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@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@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@gmail.com Linkedin : *http://lk.linkedin.com/in/manulachathurika <http://lk.linkedin.com/in/manulachathurika>* blog : http://manulachathurika.blogspot.com/
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@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@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@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@gmail.com> *Sent:* Thursday, July 18, 2019 10:28 AM *To:* openstack-discuss <openstack-discuss@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@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@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@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@gmail.com Linkedin : *http://lk.linkedin.com/in/manulachathurika <http://lk.linkedin.com/in/manulachathurika>* blog : http://manulachathurika.blogspot.com/
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@gmail.com> Sent: Thursday, July 18, 2019 12:03 PM To: Lenny Verkhovsky <lennyb@mellanox.com> Cc: openstack-discuss <openstack-discuss@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@gmail.com<mailto:manulachathurika@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@gmail.com<mailto:manulachathurika@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@mellanox.com<mailto:lennyb@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@gmail.com<mailto:manulachathurika@gmail.com>> Sent: Thursday, July 18, 2019 10:28 AM To: openstack-discuss <openstack-discuss@lists.openstack.org<mailto:openstack-discuss@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@gmail.com<mailto:manulachathurika@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@gmail.com<mailto:manulachathurika@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@gmail.com<mailto:manulachathurika@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@gmail.com<mailto:manulachathurika@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>
Hi,
On 18 Jul 2019, at 11:15, Lenny Verkhovsky <lennyb@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@gmail.com> Sent: Thursday, July 18, 2019 12:03 PM To: Lenny Verkhovsky <lennyb@mellanox.com> Cc: openstack-discuss <openstack-discuss@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@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@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@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@gmail.com> Sent: Thursday, July 18, 2019 10:28 AM To: openstack-discuss <openstack-discuss@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@gmail.com Linkedin : http://lk.linkedin.com/in/manulachathurika blog : http://manulachathurika.blogspot.com/
-- Regards, Manula Chathurika Thantriwatte phone : (+94) 772492511 email : manulachathurika@gmail.com Linkedin : http://lk.linkedin.com/in/manulachathurika blog : http://manulachathurika.blogspot.com/
-- Regards, Manula Chathurika Thantriwatte phone : (+94) 772492511 email : manulachathurika@gmail.com Linkedin : http://lk.linkedin.com/in/manulachathurika blog : http://manulachathurika.blogspot.com/
-- Regards, Manula Chathurika Thantriwatte phone : (+94) 772492511 email : manulachathurika@gmail.com Linkedin : http://lk.linkedin.com/in/manulachathurika blog : http://manulachathurika.blogspot.com/
— Slawek Kaplonski Senior software engineer Red Hat
Thanks all. I'm able to resolve the issue. Thanks ! On Thu, Jul 18, 2019 at 2:57 PM Slawek Kaplonski <skaplons@redhat.com> wrote:
Hi,
On 18 Jul 2019, at 11:15, Lenny Verkhovsky <lennyb@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@gmail.com> Sent: Thursday, July 18, 2019 12:03 PM To: Lenny Verkhovsky <lennyb@mellanox.com> Cc: openstack-discuss <openstack-discuss@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 <
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@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@mellanox.com> wrote: Hi, You need to create public ip, add it to network port and try to ssh to
manulachathurika@gmail.com> wrote: the image
# openstack floating ip create public # openstack floating ip set --port <portid> <floating ip>
Best Regards Lenny
From: Manula Thantriwatte <manulachathurika@gmail.com> Sent: Thursday, July 18, 2019 10:28 AM To: openstack-discuss <openstack-discuss@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@gmail.com Linkedin : http://lk.linkedin.com/in/manulachathurika blog : http://manulachathurika.blogspot.com/
-- Regards, Manula Chathurika Thantriwatte phone : (+94) 772492511 email : manulachathurika@gmail.com Linkedin : http://lk.linkedin.com/in/manulachathurika blog : http://manulachathurika.blogspot.com/
-- Regards, Manula Chathurika Thantriwatte phone : (+94) 772492511 email : manulachathurika@gmail.com Linkedin : http://lk.linkedin.com/in/manulachathurika blog : http://manulachathurika.blogspot.com/
-- Regards, Manula Chathurika Thantriwatte phone : (+94) 772492511 email : manulachathurika@gmail.com Linkedin : http://lk.linkedin.com/in/manulachathurika blog : http://manulachathurika.blogspot.com/
— Slawek Kaplonski Senior software engineer Red Hat
-- Regards, Manula Chathurika Thantriwatte phone : (+94) 772492511 email : manulachathurika@gmail.com Linkedin : *http://lk.linkedin.com/in/manulachathurika <http://lk.linkedin.com/in/manulachathurika>* blog : http://manulachathurika.blogspot.com/
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@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@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
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#bo... On Thu, Jul 18, 2019 at 5:54 PM Slawek Kaplonski <skaplons@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@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@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>
Hi, you probably checked this already but it is always good to double check that you opened the ssh rules on the security group. On Fri, 19 Jul 2019 at 12:13 Sofia Enriquez <senrique@redhat.com> wrote:
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#bo...
On Thu, Jul 18, 2019 at 5:54 PM Slawek Kaplonski <skaplons@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@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@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>
--
Telles Nobrega Senior Software Engineer Red Hat <https://www.redhat.com/> tenobreg@redhat.com @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/>
participants (5)
-
Lenny Verkhovsky
-
Manula Thantriwatte
-
Slawek Kaplonski
-
Sofia Enriquez
-
Telles Nobrega