Instance is not pingable from outside in OpenStack

0 votes

Hi Guys,

I launched an instance in OpenStack. I added Ingress and Egress rule properly, but still I am not able to ping to my instance. Is there any issue with firewall or any other thing?

Thank You

Mar 17, 2020 in OpenStack by akhtar
• 38,230 points
5,802 views

1 answer to this question.

0 votes

Ho@akhtar,

There is nothing wrong. But when you launch an instance in OpenStack, it always launch in Host Only Mode. For that you have to assign gateway floating ip etc. But if you want to ping without doing all this thing you can do. For that you have to be a part of that same router. Follow the below given steps.

  • list out your instance's router id.

$ ip netns 
  • Be a part of that router
$ ip netns exec id of the router bash 

Hope you can ping your instance after this.

Thank You

answered Mar 17, 2020 by MD
• 95,440 points

To access Linux Network namespace it should be ip netns not ip netfs, @Admin please correct to ip netns.

To check Ping connectivity follow below command :

ip netns exec id-of-router ping ip-of-instance 

If you still not able to ping to your instance then, please the Network topology. whether you have properly created the private N/W. also do check log of neutron server also. 

Yes, bmangesh you are right. There was a mistake in typing.

Thank You for your contribution.
I'm in the same situation. I added a provider network and now I cannot reach my instances due to traffic not getting back successfully. Performed the "ip netns exec <router with floating ips> bash". I see all the floating IP's and routing table has the default gw as expected but I cannot ping it.

[root@openstack ~]# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         192.168.0.1     0.0.0.0         UG        0 0          0 qg-695b54d0-a7

Not sure how to troubleshoot futher (looking where the qg-695b54d0-a7 is connected - br-ex ??)

Hi,

Did you add a rule for SNAT and DNAT in your routing table? If you are using a Linux system, then you can add in your iptables.

Related Questions In OpenStack

0 votes
1 answer

How to launch one instance in OpenStack from CLI?

Hi@akhtar, You need to login to your OpenStack ...READ MORE

answered Jul 5, 2020 in OpenStack by MD
• 95,440 points
855 views
0 votes
1 answer

What is Ingress and Egress rule in OpenStack?

Hi@akhtar, Ingress means when traffic comes inside your ...READ MORE

answered Mar 3, 2020 in OpenStack by MD
• 95,440 points
3,095 views
0 votes
2 answers

What is packstack in OpenStack?

Packstack is a utility that uses Puppet ...READ MORE

answered Apr 5, 2020 in OpenStack by anonymous
1,312 views
0 votes
1 answer

What is the meaning of term “Glance” in OpenStack service?

Hi@akhtar, Glance is image service in OpenStack. The ...READ MORE

answered Mar 16, 2020 in OpenStack by MD
• 95,440 points
1,163 views
0 votes
1 answer

Can anyone explain, how nova works internally?

Hi@akhtar, Nova is comprised of multiple server process, ...READ MORE

answered Mar 17, 2020 in OpenStack by MD
• 95,440 points
1,333 views
0 votes
1 answer

How to create an instance in OpenStack?

Hi@akhtar, When we try to launch an instance ...READ MORE

answered Mar 17, 2020 in OpenStack by anonymous
• 95,440 points
2,187 views
0 votes
1 answer

How to reset error state of a instance into active in OpenStack env?

Hi@akhtar, There are some scenarios where some instances ...READ MORE

answered Mar 17, 2020 in OpenStack by MD
• 95,440 points
8,653 views
0 votes
1 answer

error: server error. Is Neutron not working properly?

Hi@akhtar, We can't say Neutron is the one ...READ MORE

answered Mar 17, 2020 in OpenStack by MD
• 95,440 points
933 views
0 votes
1 answer

Not able to launch an instance in OpenStack?

Hi@akhtar, You might get this error because you ...READ MORE

answered Mar 20, 2020 in OpenStack by MD
• 95,440 points
1,450 views
0 votes
1 answer

Failed to attach volume, systool is not installed in OpenStack.

Hi@akhtar, This warning and error occurs if you ...READ MORE

answered Mar 24, 2020 in OpenStack by MD
• 95,440 points
478 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP