Ask Your Question
0

Can't ping gateway of tenant router....

asked 2012-11-26 04:02:06 -0500

dsmith4546 gravatar image

Just installed folsom on ubuntu 12.04, using this guide. http://docs.openstack.org/folsom/basic-install/content/basic-install_intro.html (http://docs.openstack.org/folsom/basi...)

I have one controller and one compute node. I used the script provided with the install and created a private network within a tenant. L3 agent is on the controller.

When I try to ping the gateway address of the private subnet, the arp gets to eth1 on the controller, and then gets to the bridge that eth1 is in, but the "qr-1549a07f-3a" interface never responds to the arp. This probably is something simple, but I am out of ideas for tonight. qr-1549a07f-3a is up Any help would be appreciated.

root@controller:~# ifconfig qr-1549a07f-3a qr-1549a07f-3a Link encap:Ethernet HWaddr 32:a4:d3:c9:72:e8
inet addr:10.5.5.1 Bcast:10.5.5.255 Mask:255.255.255.0 inet6 addr: fe80::30a4:d3ff:fec9:72e8/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:468 (468.0 B)

root@controller:~# ovs-vsctl show 195ff79e-e01a-4e93-84bc-868d8782f284 Bridge br-ex Port "qg-2b9a29bb-4b" Interface "qg-2b9a29bb-4b" type: internal Port "eth2" Interface "eth2" Port br-ex Interface br-ex type: internal Bridge br-int Port "tap4265fa27-08" tag: 1 Interface "tap4265fa27-08" type: internal Port "eth1" Interface "eth1" Port br-int Interface br-int type: internal Port "qr-1549a07f-3a" tag: 1 Interface "qr-1549a07f-3a" type: internal ovs_version: "1.4.0+build0"

edit retag flag offensive close merge delete

19 answers

Sort by ยป oldest newest most voted
0

answered 2012-11-30 20:41:00 -0500

dsmith4546 gravatar image

Ok, this is something with the agent on the compute node. To install the openvswitch plugin on the compute node is this the only package I'm installing ---"apt-get install -y quantum-plugin-openvswitch-agent", because when I installed other quantum packages I noticed a python-pyparsing package was installed. Do I need that to successfully install and run the openvswitch agent? For some reason when I do a "ps -ef | grep quantum" on the compute node I'm not seeing it running.....

edit flag offensive delete link more
0

answered 2012-11-28 12:54:20 -0500

gongysh gravatar image

it should be: vNic->br-int->patch-tun ->patch-int ->gre gre -> patch-int->patch-tun->br-int->qr-1549a07f-3a

edit flag offensive delete link more
0

answered 2012-11-28 12:37:03 -0500

i fixed my problem by removing a incorrect ip "10.0.0.3" from br-tun root@node1:~# ovs-vsctl show 3b78ade3-870b-40d1-80cb-dc8be59a2b85 Bridge br-tun Port "gre-2" Interface "gre-2" type: gre options: {in_key=flow, out_key=flow, remote_ip="10.0.0.3"} Port "gre-9" Interface "gre-9" type: gre options: {in_key=flow, out_key=flow, remote_ip="192.168.3.142"} Port patch-int Interface patch-int type: patch options: {peer=patch-tun}

the following command fixes the problem: ovs-vsctl del-port br-tun gre-2

edit flag offensive delete link more
0

answered 2012-12-01 22:53:04 -0500

dsmith4546 gravatar image

Thanks yong sheng gong, that solved my question.

edit flag offensive delete link more
0

answered 2012-12-01 22:52:49 -0500

dsmith4546 gravatar image

Got it. Something was wrong with the ovs_quantum_plugin.ini file. There was a space before [OVS]. Thanks for that command.

edit flag offensive delete link more
0

answered 2012-12-01 01:14:46 -0500

gongysh gravatar image

you can try to run quantum-openvswitch-agent --config-file /etc/quantum.conf --config-file /etc/quantum/xxxx/ovs.ini --debug true and get the log to see what is happening.

edit flag offensive delete link more
0

answered 2012-12-05 02:00:47 -0500

dsmith4546 gravatar image

Thanks yong sheng gong, that solved my question.

edit flag offensive delete link more
0

answered 2012-12-05 02:00:33 -0500

dsmith4546 gravatar image

I got it. Final ovs configuration listed below. Thanks for the help.

Controller


root@controller:~# ovs-vsctl show 195ff79e-e01a-4e93-84bc-868d8782f284 Bridge br-ex Port "qg-2b9a29bb-4b" Interface "qg-2b9a29bb-4b" type: internal Port "eth2" Interface "eth2" Port br-ex Interface br-ex type: internal Bridge br-tun Port br-tun Interface br-tun type: internal Port patch-int Interface patch-int type: patch options: {peer=patch-tun} Bridge br-int Port "gre-1" Interface "gre-1" type: gre options: {remote_ip="10.1.1.2"} Port "tap8320bbe5-23" tag: 2 Interface "tap8320bbe5-23" type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Port "tap882a8e75-ee" tag: 1 Interface "tap882a8e75-ee" type: internal Port "tap4265fa27-08" tag: 4095 Interface "tap4265fa27-08" type: internal Port br-int Interface br-int type: internal Port "qr-1549a07f-3a" tag: 4095 Interface "qr-1549a07f-3a" type: internal ovs_version: "1.4.0+build0"

Compute Node


root@ComputeNode1:~# ovs-vsctl show 331fd29b-b70f-4f54-983a-d6749f8cf1ed Bridge br-int Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Port "qvo235c2e1a-dd" tag: 1 Interface "qvo235c2e1a-dd" Port "qvo002cc4c6-47" tag: 1 Interface "qvo002cc4c6-47" Port "qvo984554c8-98" tag: 3 Interface "qvo984554c8-98" Port br-int Interface br-int type: internal Bridge br-tun Port "gre-1" Interface "gre-1" type: gre options: {in_key=flow, out_key=flow, remote_ip="10.1.1.1"} Port patch-int Interface patch-int type: patch options: {peer=patch-tun} Port br-tun Interface br-tun type: internal ovs_version: "1.4.0+build0"

edit flag offensive delete link more
0

answered 2012-12-05 00:47:45 -0500

dsmith4546 gravatar image

I am running ubuntu 12.04, and I followed this guide for installing folsom http://docs.openstack.org/folsom/basic-install/content/basic-install_intro.html (http://docs.openstack.org/folsom/basi...)

edit flag offensive delete link more
0

answered 2012-12-04 15:41:47 -0500

dsmith4546 gravatar image

Anyone have any thoughts on this one?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-11-26 04:02:06 -0500

Seen: 482 times

Last updated: Dec 05 '12