The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.
Bug 1846300 - [OSP16.1][OVN][MTU] IPv6 traffic ignores logical switch external_ids neutron:mtu and logical router port gateway_mtu settings
Summary: [OSP16.1][OVN][MTU] IPv6 traffic ignores logical switch external_ids neutron:...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: OVN
Version: FDP 20.B
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: lorenzo bianconi
QA Contact: Zhiqiang Fang
URL:
Whiteboard:
: 1839847 (view as bug list)
Depends On: 1839847
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-11 10:39 UTC by lorenzo bianconi
Modified: 2023-02-06 16:49 UTC (History)
10 users (show)

Fixed In Version: ovn2.13-20.06.1-2.el7fdn
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1839847
Environment:
Last Closed: 2020-08-18 11:23:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
reproduce commands (3.79 KB, text/plain)
2020-07-31 15:48 UTC, Zhiqiang Fang
no flags Details
pcap - old ovn version - ipv6 is not fragmented (6.21 KB, application/vnd.tcpdump.pcap)
2020-07-31 15:49 UTC, Zhiqiang Fang
no flags Details
pcap - on new ovn version - ipv6 is fragmented (6.30 KB, application/vnd.tcpdump.pcap)
2020-07-31 15:50 UTC, Zhiqiang Fang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-712 0 None None None 2023-02-06 16:49:17 UTC
Red Hat Product Errata RHBA-2020:3488 0 None None None 2020-08-18 11:24:15 UTC

Comment 3 Zhiqiang Fang 2020-07-31 15:46:17 UTC
We reproduce the issue on this diagram: client0 (netns) --> ls1 --> lr1 --> ls2 --> server0 (netns) 
"gateway_mtu =1300" is set on logical_router_port lr1ls2 (towards server side) 


On old version:

[root@wsfd-advnetlab35 bz1846300]# rpm -qa | egrep "ovn|openv"
openvswitch2.13-2.13.0-29.el7fdp.x86_64
openvswitch-selinux-extra-policy-1.0-15.el7fdp.noarch
ovn2.13-2.13.0-34.el7fdp.x86_64
ovn2.13-host-2.13.0-34.el7fdp.x86_64
ovn2.13-central-2.13.0-34.el7fdp.x86_64

We noticed,
 - There was no MTU too big notification for ipv6.
 - The ICMP packet that server received is not fragmented and it is same as original full size. (packet#12 in reproduced_oldversion.pcap attached)
  2000::1 2001::1 ICMPv6 1362 Echo (ping) request id=0xf0c1, seq=1, hop limit=63 (reply in 13)

On new version:
[root@wsfd-advnetlab35 bz1846300]# rpm -qa | egrep "ovn|openv"
openvswitch2.13-2.13.0-29.el7fdp.x86_64
ovn2.13-central-20.06.1-2.el7fdn.x86_64
openvswitch-selinux-extra-policy-1.0-15.el7fdp.noarch
ovn2.13-host-20.06.1-2.el7fdn.x86_64
ovn2.13-20.06.1-2.el7fdn.x86_64

We noticed,
 - There is a notification of mtu too big when we send the first ping
    From 2000::a icmp_seq=1 Packet too big: mtu=1300
 
 -  ICMP6 packets that server received after the first ping are fragmented. (packet#12 and 13 in repro_fixed_newversion.pcap attached)
  2000::1 2001::1 IPv6 1310 IPv6 fragment (off=0 more=y ident=0xf262b866 nxt=58)
  2000::1 2001::1 ICMPv6 122 Echo (ping) request id=0xf9c9, seq=1, hop limit=63 (reply in 14)


As below is the first ping results on new version (20.06.1-2.el7fdn).
+ ip netns exec client0 ping 192.168.2.1 -c 1
PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.
64 bytes from 192.168.2.1: icmp_seq=1 ttl=63 time=1001 ms

--- 192.168.2.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1001.689/1001.689/1001.689/0.000 ms
+ ip netns exec client0 ping 192.168.2.1 -c 1 -s 1300
PING 192.168.2.1 (192.168.2.1) 1300(1328) bytes of data.
From 192.168.1.254 icmp_seq=1 Frag needed and DF set (mtu = 1300)

--- 192.168.2.1 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

+ ip netns exec client0 ping6 2001::1 -c 1
PING 2001::1(2001::1) 56 data bytes

--- 2001::1 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

+ ip netns exec client0 ping6 2001::1 -c 1 -s 1300
PING 2001::1(2001::1) 1300 data bytes
From 2000::a icmp_seq=1 Packet too big: mtu=1300

--- 2001::1 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms


The reproduce script reproduce_script.sh is also attached below.

Comment 4 Zhiqiang Fang 2020-07-31 15:48:52 UTC
Created attachment 1703121 [details]
reproduce commands

Comment 5 Zhiqiang Fang 2020-07-31 15:49:50 UTC
Created attachment 1703122 [details]
pcap - old ovn version - ipv6 is not fragmented

Comment 6 Zhiqiang Fang 2020-07-31 15:50:38 UTC
Created attachment 1703123 [details]
pcap - on new ovn version - ipv6 is fragmented

Comment 8 errata-xmlrpc 2020-08-18 11:23:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (ovn2.13 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:3488

Comment 9 Miro Tomaska 2023-02-06 16:47:31 UTC
*** Bug 1839847 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.