Not able to ping Compute Node and no Internet from VM

asked 2013-09-07 05:17:10 -0500

srikanth1239 gravatar image

Hi Everyone,

I am using Folsom from Jan 2013, it is in production from Feb 2013, I came across issues, So i started to implement Grizzly on Centos 6.4..

Successfully completed the installation, uploaded cloud image from Ubuntu to glance, i am able to launch the VM and able to SSH with PEM Key.. But i am not able to access internet and not able to ping Compute Node from VM but able to ping Controller Node..

Controller Node: 10.0.0.2

Running all services except Compute

Compute Node: 10.0.0.5

Running only Compute service

VM Private VLAN: 192.168.100.0/24

Floating IP Range: 10.0.0.0/26

Please help me out how to fix this issue, i tried my level best, but i was not able to solve it..

Any help will be appreciated..

Regards

Srikanth. Mergu

edit retag flag offensive close merge delete

8 answers

Sort by » oldest newest most voted
0

answered 2013-09-07 15:17:25 -0500

Sorry, the email attachment can't show here. You can get the file through the following link!

http://openstack.jp/assets/files/20121222/quantumunderthehood20121208-121208020414-phpapp02.pdf (http://openstack.jp/assets/files/2012...)

edit flag offensive delete link more
0

answered 2013-09-07 14:24:43 -0500

This file is good for reference. Hopes help you.

2013/9/7 Srikanth Mergu question235302@answers.launchpad.net

Question #235302 on OpenStack Compute (nova) changed: https://answers.launchpad.net/nova/+question/235302 (https://answers.launchpad.net/nova/+q...)

Srikanth Mergu posted a new comment: Hi Liuan,

I checked iptables on both controller node and compute node as well.. i didn't find any chain like "quantum-l3-agent-POSTROUTING"..

Arun,

Ifconfig of Controller node:


br100 Link encap:Ethernet HWaddr 00:1C:C0:EE:EF:53 inet addr:192.168.100.1 Bcast:192.168.100.255 Mask:255.255.255.0 inet6 addr: fe80::843a:51ff:feb9:d5de/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:356304 errors:0 dropped:0 overruns:0 frame:0 TX packets:260649 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:54807311 (52.2 MiB) TX bytes:285122807 (271.9 MiB)

eth0 Link encap:Ethernet HWaddr 00:1C:C0:EE:EF:53 inet6 addr: fe80::21c:c0ff:feee:ef53/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:802566 errors:0 dropped:0 overruns:0 frame:0 TX packets:472817 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:391982517 (373.8 MiB) TX bytes:305316689 (291.1 MiB) Interrupt:20 Memory:e0300000-e0320000

lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:1511953 errors:0 dropped:0 overruns:0 frame:0 TX packets:1511953 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:681697782 (650.1 MiB) TX bytes:681697782 (650.1 MiB)


Ifconfig of Compute node

br100 Link encap:Ethernet HWaddr D4:AE:52:C6:F3:33 inet addr:10.0.0.5 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::143c:3eff:fe4f:c6a6/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:281724 errors:0 dropped:0 overruns:0 frame:0 TX packets:83225 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:50088324 (47.7 MiB) TX bytes:20341064 (19.3 MiB)

em1 Link encap:Ethernet HWaddr D4:AE:52:C6:F3:33 inet6 addr: fe80::d6ae:52ff:fec6:f333/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:707824 errors:0 dropped:0 overruns:0 frame:0 TX packets:237920 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:364367368 (347.4 MiB) TX bytes:40142290 (38.2 MiB)

lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:58 errors:0 dropped:0 overruns:0 frame:0 TX packets:58 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen ...

(more)
edit flag offensive delete link more
0

answered 2013-09-07 05:34:39 -0500

Srikanth, Can you please attach the following output?

1)ifconfig output for controller and compute node 2) ovs-vsctl show output on controller and compute node

Thanks Arun

edit flag offensive delete link more
0

answered 2013-09-07 11:57:01 -0500

Srikanth, I had faced the same problem, but I just get a temporary solution for my problem and maybe can help you.

1) check the iptables in Controller Node 2) look up the chain of quantum-l3-agent-POSTROUTING , if the rule of this chain is like this, "1 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 ! ctstate DNAT" 3) delete the rule and try to ping the outside world.

That works for me. But I need to frequently delete the rule!

edit flag offensive delete link more
0

answered 2013-09-07 12:25:13 -0500

srikanth1239 gravatar image

Hi Liuan,

I checked iptables on both controller node and compute node as well.. i didn't find any chain like "quantum-l3-agent-POSTROUTING"..

Arun,

Ifconfig of Controller node:


br100 Link encap:Ethernet HWaddr 00:1C:C0:EE:EF:53 inet addr:192.168.100.1 Bcast:192.168.100.255 Mask:255.255.255.0 inet6 addr: fe80::843a:51ff:feb9:d5de/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:356304 errors:0 dropped:0 overruns:0 frame:0 TX packets:260649 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:54807311 (52.2 MiB) TX bytes:285122807 (271.9 MiB)

eth0 Link encap:Ethernet HWaddr 00:1C:C0:EE:EF:53 inet6 addr: fe80::21c:c0ff:feee:ef53/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:802566 errors:0 dropped:0 overruns:0 frame:0 TX packets:472817 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:391982517 (373.8 MiB) TX bytes:305316689 (291.1 MiB) Interrupt:20 Memory:e0300000-e0320000

lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:1511953 errors:0 dropped:0 overruns:0 frame:0 TX packets:1511953 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:681697782 (650.1 MiB) TX bytes:681697782 (650.1 MiB)


Ifconfig of Compute node

br100 Link encap:Ethernet HWaddr D4:AE:52:C6:F3:33 inet addr:10.0.0.5 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::143c:3eff:fe4f:c6a6/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:281724 errors:0 dropped:0 overruns:0 frame:0 TX packets:83225 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:50088324 (47.7 MiB) TX bytes:20341064 (19.3 MiB)

em1 Link encap:Ethernet HWaddr D4:AE:52:C6:F3:33 inet6 addr: fe80::d6ae:52ff:fec6:f333/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:707824 errors:0 dropped:0 overruns:0 frame:0 TX packets:237920 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:364367368 (347.4 MiB) TX bytes:40142290 (38.2 MiB)

lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:58 errors:0 dropped:0 overruns:0 frame:0 TX packets:58 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:7818 (7.6 KiB) TX bytes:7818 (7.6 KiB)

virbr0 Link encap:Ethernet HWaddr 52:54:00:A2:A2:71 inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST ...

(more)
edit flag offensive delete link more
0

answered 2013-09-07 14:23:20 -0500

Hi Srikanth,

I am curious about which plugin do you use to configure the virtual network, linux bridge or openvswitch?

The 2nd question: If you want to use openvswitch, you should first install openvswtich. But directly install openvwsitch in CentOS 6.4 may get strange problems like the host reboot suddenly. If you get the problem like me, you should try to upgrade the kernel then reinstall the openvswitch. That works for me.

The 1st question: The ifconfig has showed there are no other virtual devices for public network and private network. I have a great pdf file of introducing how to configure virtual network under quantum. I send to your email for your reference.

Hopes you can solve your problem.

An

edit flag offensive delete link more
0

answered 2013-09-10 16:16:03 -0500

srikanth1239 gravatar image

Hi Luan,

The document what you shared is really good and easy to understand..

All i noticed is VM is not able to reach to the Gateway of LAN(10.0.0.0/24 i.e 10.0.0.1).. But it is able to reach Controller Node(eth0-10.0.0.2 & eth1-10.0.0.11).. As per my knowledge controller is not routing the traffic properly to the destination.. Kindly help me to complete this..

Thanks & Regards Srikanth. M

edit flag offensive delete link more
0

answered 2013-12-13 11:23:34 -0500

LinkedIn

I'd like to add you to my professional network on LinkedIn.

  • an

an liu Student at Huazhong University of Science and Technology China

Confirm that you know an liu: https://www.linkedin.com/e/24cq7x-hp5ckzx3-34/isd/18666264615/arHFHgvY/?hs=false&tok=2lBmJ-P7cHJS01 (https://www.linkedin.com/e/24cq7x-hp5...)


You are receiving Invitation to Connect emails. Click to unsubscribe: http://www.linkedin.com/e/24cq7x-hp5ckzx3-34/X-JD8dUM3i9bzgh3WJYm-ZUJ9WNHLn2TYNi-QZnLusQBzEheijWdcE/goo/question235302%40answers%2Elaunchpad%2Enet/20061/I6089220931_1/?hs=false&tok=3rBmCvyGEHJS01 (http://www.linkedin.com/e/24cq7x-hp5c...)

(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-09-07 05:17:10 -0500

Seen: 113 times

Last updated: Dec 13 '13