[Openstack] GRE tunneling Quantum, Openvswitch, traffic not allowed

Robert van Leeuwen Robert.vanLeeuwen at spilgames.com
Mon Nov 19 11:19:14 UTC 2012


Hi,

I'm currently setting up GRE tunnelling. ( Scientific Linux 6.3, Folsom, openvswitch 1.7.1 ) 
The flow trough the br-tun is not allowed because the quantum-ovs-agent sets the flow of the br-tun to drop:
ovs-ofctl dump-flows br-tun
NXST_FLOW reply (xid=0x4):
 cookie=0x0, duration=1264.414s, table=0, n_packets=2271, n_bytes=96966, idle_age=1, priority=1 actions=drop

The GRE tunnel starts to work if I manually set following:
"ovs-ofctl add-flow br-tun action=normal"

Result: "tcpdump -ni eth1 proto gre"
11:54:03.591397 IP 172.16.8.163 > 172.16.8.162: GREv0, key=0x0, length 54: ARP, Request who-has 10.0.1.12 (fa:16:3e:e3:ac:4d) tell 10.0.1.11, length 28
11:54:03.591846 IP 172.16.8.162 > 172.16.8.163: GREv0, key=0x0, length 54: ARP, Reply 10.0.1.12 is-at fa:16:3e:e3:ac:4d, length 28

A patch interface is created on both the bt-int and br-tun:
Bridge br-int
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}

Bridge br-tun
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}

There also seems to be traffic going across the patch devices according to "ovs-dpctl show -s"

Is there something else I am missing?

My ovs-agent config:
[OVS]
tenant_network_type = gre
enable_tunneling = True
tunnel_id_ranges = 1:1000
local_ip = 10.10.10.10
integration_bridge = br-int
tunnel_bridge = br-tun

Thanks,
Robert van Leeuwen



More information about the Openstack mailing list