> On Nov 30, 2016, at 8:50 PM, Ben Pfaff <b...@ovn.org> wrote:
> On Wed, Nov 30, 2016 at 06:58:57PM -0800, Jarno Rajahalme wrote:
>>> On Nov 30, 2016, at 8:41 AM, Ben Pfaff <b...@ovn.org> wrote:
>>> On Wed, Nov 30, 2016 at 12:05:46PM +0100, Thomas Morin wrote:
>>>> Hi Ben,
>>>> 2016-11-30, Ben Pfaff:
>>>>> Do you have any idea what in your OpenFlow pipeline might do that,
>>>>> i.e. is there anything especially tricky in the OpenFlow flows?
>>>>> Are you willing to show us your OpenFlow flow table?
>>>> The setup involves three OVS bridges connected with patch-ports: br-int --
>>>> br-tun -- br-mpls, with the traffic that triggers the assert being
>>>> by br-int with a NORMAL action (ie. MAC learning).
>>>> The flows in this setup aren't particularly tricky, I think, although I'm
>>>> not sure what qualifies as tricky or non-tricky :)
>>>> Anyway, since yesterday I managed to identify the event that trigger the
>>>> assert, by adding more logging before the assert and displaying the actions
>>>> assert would fail....
>>>> 2016-11-29T14:44:40.126Z|00002|odp_util(revalidator45)|WARN| base_flow:
>>>> 2016-11-29T14:44:40.126Z|00003|odp_util(revalidator45)|WARN| flow:
>>>> 2016-11-29T14:44:40.126Z|00004|odp_util(revalidator45)|WARN| masks:
>>>> 2016-11-29T14:44:40.126Z|00005|odp_util(revalidator45)|WARN| actions:
>> push_mpls clears L3/L4, while pop_mpls re-populates them, and then
>> processing the output to port 1 hits the assert?
> That's what I'm thinking too.
> Jarno, is this something you have time to look into? It'd be great, if
> you do. I'm way behind.
I’m looking at this.
Based on the trace given it seems that:
1. Packet is received on br-int port 32, which outputs it via NORMAL action
over a patch port to another bridge. The only patch-port on br-int is 2
(patch-tun). The NORMAL action adds dl_vlan=1.
2. br-tun receives the packet on in_port 1 (patch-int), and outputs it on it’s
port 2 (patch-to-mpls)
3. br-mpls receives the packet on it’s in_port 2 (patch-to-tun), does pop_vlan,
and outputs to it’s port 21 (ipvpn-pp-out), which is also an patch port.
4. br-mpls (?) receives the packet on it’s in_port 20 (ipvpn-pp-in), does
All this generates a megaflow:
This is only the beginning part of the trouble-some megaflow, in which br-int
sends the packet also to another port (vlan 3), and as part of that pops the
MPLS and restores the original ethernet addresses. Maybe this would happen with
the trace too, if you flushed MACs before the trace?
The patch ports 21 and 20 appear to be in the same bridge and patched to each
other. Is this the case?
The crashing megaflow has in_port=5,dl_vlan=3. Is this also on br-int?
Also, OVS 2.6 is a little bit less aggressive about avoiding recirculation
after mpls operations, and I’d be interested to know if your case fails the
same way with OVS 2.6?
dev mailing list