weird tunnel behaviour with openvswitch 2.0.1 dkms module + saucy 3.11 kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openvswitch (Ubuntu) |
Fix Released
|
Critical
|
James Page |
Bug Description
I wrote this up here - http://
Firstly, outbound GRE packets are sent just fine. On a machine running
1.10.2, they are received and processed correctly.
Inbound GRE packets are not received though.
tcpdump shows them on the physical interface(eth2) and the local
bridged (br-untagged) but they don't hit br-tun at all:
ovs-ofctl dump-flows br-tun
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=471.219s, table=0, n_packets=483, n_bytes=39986,
idle_age=1, priority=
cookie=0x0, duration=470.535s, table=0, n_packets=0, n_bytes=0,
idle_age=470, priority=
...
note the n_packets=0 on in_port 2, which is the gre port:
...
2(gre-
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
oddly but perhaps unrelated?, that port name is truncated -
Bridge br-tun
Port br-tun
Port "gre-10.10.16.175"
out_key=flow, remote_
Port patch-int
The kernel datapath doesn't bring up the incoming flow - for instance,
on 1.10.2 we'd see:
# ovs-appctl dpif/dump-flows br-tun
tunnel(
packets:3963, bytes:166446, used:0.756s,
actions:
in_port(
packets:0, bytes:0, used:4.610s, actions:drop
#
but on 2.0.1 we see:
# ovs-appctl dpif/dump-flows br-tun
#
There's nothing in iptables-save to suggest we're filtering GRE (and
in fact just replacing the openvswitch module without rebooting or
running iptables commands).
I'm not sure how/where the incoming GRE packets are handled - I
suspect it's in-kernel and somewhat inaccessible for debugging...
We'd like to get the dkms datapath working so we can support NXVLAN which still requires the openvswitch supplied module; I haven't tried plain 2.1 at this point. I guess the first thing is to see if you can reproduce this, or if it's an oddity in my environment.
Related branches
Changed in openvswitch (Ubuntu): | |
assignee: | nobody → James Page (james-page) |
status: | Confirmed → In Progress |
importance: | Undecided → Critical |
Status changed to 'Confirmed' because the bug affects multiple users.