Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.

Bug 1702331

Summary: [OVN] Fragmentation support
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Numan Siddique <nusiddiq>
Component: ovn2.11Assignee: Numan Siddique <nusiddiq>
Status: CLOSED ERRATA QA Contact: haidong li <haili>
Severity: medium Docs Contact:
Priority: medium    
Version: FDP 19.CCC: amuller, apevec, bcafarel, chrisw, ctrautma, dalvarez, djuran, dsneddon, ekuris, fhallal, haili, jishi, lhh, lmartins, majopela, pvauter, qding, rbryant, rhos-maint, rsafrono, tredaelli
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovn2.11-2.11.0-16.el8fdp Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1547074 Environment:
Last Closed: 2019-06-05 14:58:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1547074, 1553839, 1702564    
Bug Blocks: 1685634    

Comment 9 haidong li 2019-05-23 10:11:23 UTC
This bug is verified on the latest version:
root@dell-per730-57 ~]# uname -a
Linux dell-per730-57.rhts.eng.pek2.redhat.com 4.18.0-83.el8.x86_64 #1 SMP Tue May 7 11:26:15 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[root@dell-per730-57 ~]# rpm -qa | grep ovn
ovn2.11-2.11.0-16.el8fdp.x86_64
ovn2.11-host-2.11.0-16.el8fdp.x86_64
kernel-kernel-networking-openvswitch-ovn-1.0-121.noarch
ovn2.11-central-2.11.0-16.el8fdp.x86_64
[root@dell-per730-57 ~]# rpm -qa | grep openvswitch
openvswitch2.11-2.11.0-9.el8fdp.x86_64
openvswitch-selinux-extra-policy-1.0-11.el8fdp.noarch
kernel-kernel-networking-openvswitch-ovn-1.0-121.noarch
[root@dell-per730-57 ~]# 

[root@dell-per730-57 ~]# ovn-nbctl show
switch 1885fd1a-b9f5-4322-b450-d8605c45214d (s3)
    port hv0_vm01_vnet1
        addresses: ["00:de:ad:00:01:01 172.16.103.12"]
    port hv0_vm00_vnet1
        addresses: ["00:de:ad:00:00:01 172.16.103.11"]
    port s3_r1
        type: router
        addresses: ["00:de:ad:ff:01:03 172.16.103.1"]
        router-port: r1_s3
    port ln_port
        type: localnet
        addresses: ["unknown"]
switch 4a50cb0f-f2ab-4eee-8107-f984813dd1ae (s2)
    port hv1_vm01_vnet1
        addresses: ["00:de:ad:01:01:01 172.16.102.12"]
    port s2_r1
        type: router
        addresses: ["00:de:ad:ff:01:02 172.16.102.1"]
        router-port: r1_s2
    port hv1_vm00_vnet1
        addresses: ["00:de:ad:01:00:01 172.16.102.11"]
router 814c911c-1993-4e23-aaff-4c303bdf0b12 (r1)
    port r1_s2
        mac: "00:de:ad:ff:01:02"
        networks: ["172.16.102.1/24"]
    port r1_s3
        mac: "00:de:ad:ff:01:03"
        networks: ["172.16.103.1/24"]
[root@dell-per730-57 ~]# 
[root@dell-per730-57 ~]# ovn-sbctl show
Chassis "hv1"
    hostname: "dell-per730-57.rhts.eng.pek2.redhat.com"
    Encap geneve
        ip: "20.0.0.25"
        options: {csum="true"}
    Port_Binding "hv1_vm00_vnet1"
    Port_Binding "hv1_vm01_vnet1"
Chassis "hv0"
    hostname: "dell-per730-19.rhts.eng.pek2.redhat.com"
    Encap geneve
        ip: "20.0.0.26"
        options: {csum="true"}
    Port_Binding "cr-r1_s3"
    Port_Binding "hv0_vm00_vnet1"
    Port_Binding "hv0_vm01_vnet1"
[root@dell-per730-57 ~]# ovs-vsctl show
7c0585d9-1eec-460c-a329-ca2702de263c
    Bridge br-int
        fail_mode: secure
        Port "hv1_vm01_vnet1"
            Interface "hv1_vm01_vnet1"
        Port "hv1_vm00_vnet1"
            Interface "hv1_vm00_vnet1"
        Port "ovn-hv0-0"
            Interface "ovn-hv0-0"
                type: geneve
                options: {csum="true", key=flow, remote_ip="20.0.0.26"}
        Port br-int
            Interface br-int
                type: internal
    ovs_version: "2.11.0"
[root@dell-per730-57 ~]# 
[root@dell-per730-57 ~]# ovn-nbctl get logical_router_port r1_s3 options:gateway_mtu
"1500"
[root@dell-per730-57 ~]# 
[root@dell-per730-57 ~]# virsh list
 Id    Name                           State
----------------------------------------------------
 2     hv1_vm00                       running
 3     hv1_vm01                       running

[root@dell-per730-57 ~]# virsh console hv1_vm00
Connected to domain hv1_vm00
Escape character is ^]

[root@localhost ~]# 
root@localhost ~]# ping -s 5000 172.16.103.11
PING 172.16.103.11 (172.16.103.11) 5000(5028) bytes of data.
From 172.16.102.1 icmp_seq=1 Frag needed and DF set (mtu = 1482)
5008 bytes from 172.16.103.11: icmp_seq=2 ttl=63 time=1.46 ms
5008 bytes from 172.16.103.11: icmp_seq=3 ttl=63 time=0.694 ms
5008 bytes from 172.16.103.11: icmp_seq=4 ttl=63 time=0.695 ms

--- 172.16.103.11 ping statistics ---
4 packets transmitted, 3 received, +1 errors, 25% packet loss, time 3002ms
rtt min/avg/max/mdev = 0.694/0.951/1.466/0.365 ms
[root@localhost ~]# ping -s 5000 172.16.103.22
PING 172.16.103.22 (172.16.103.22) 5000(5028) bytes of data.
From 172.16.102.1 icmp_seq=1 Frag needed and DF set (mtu = 1482)
5008 bytes from 172.16.103.22: icmp_seq=2 ttl=63 time=1.34 ms
5008 bytes from 172.16.103.22: icmp_seq=3 ttl=63 time=0.696 ms
5008 bytes from 172.16.103.22: icmp_seq=4 ttl=63 time=0.518 ms

--- 172.16.103.22 ping statistics ---
4 packets transmitted, 3 received, +1 errors, 25% packet loss, time 3004ms
rtt min/avg/max/mdev = 0.518/0.852/1.344/0.356 ms
[root@localhost ~]# 

hv0:

[root@dell-per730-19 ~]# ovs-vsctl show
d2b90a51-32dc-48f4-a673-cf642452a686
    Bridge br-labNet
        Port patch-ln_port-to-br-int
            Interface patch-ln_port-to-br-int
                type: patch
                options: {peer=patch-br-int-to-ln_port}
        Port br-labNet
            Interface br-labNet
                type: internal
        Port "enp131s0f1"
            Interface "enp131s0f1"
    Bridge br-int
        fail_mode: secure
        Port "hv0_vm01_vnet1"
            Interface "hv0_vm01_vnet1"
        Port "ovn-hv1-0"
            Interface "ovn-hv1-0"
                type: geneve
                options: {csum="true", key=flow, remote_ip="20.0.0.25"}
        Port patch-br-int-to-ln_port
            Interface patch-br-int-to-ln_port
                type: patch
                options: {peer=patch-ln_port-to-br-int}
        Port br-int
            Interface br-int
                type: internal
        Port "hv0_vm00_vnet1"
            Interface "hv0_vm00_vnet1"
    ovs_version: "2.11.0"

[root@dell-per730-19 ~]# tcpdump -ei enp131s0f0 -nn
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on enp131s0f0, link-type EN10MB (Ethernet), capture size 262144 bytes
06:08:54.067271 90:e2:ba:29:c0:ac > f8:f2:1e:02:c4:80, ethertype IPv4 (0x0800), length 1548: 20.0.0.25.17654 > 20.0.0.26.6081: Geneve, Flags [C], vni 0x1, proto TEB (0x6558), options [8 bytes]: 00:de:ad:ff:01:03 > f8:f2:1e:02:c4:82, ethertype IPv4 (0x0800), length 1490: 172.16.102.11 > 172.16.103.22: ICMP echo request, id 10521, seq 3, length 1456
06:08:54.067295 90:e2:ba:29:c0:ac > f8:f2:1e:02:c4:80, ethertype IPv4 (0x0800), length 1548: 20.0.0.25.17654 > 20.0.0.26.6081: Geneve, Flags [C], vni 0x1, proto TEB (0x6558), options [8 bytes]: 00:de:ad:ff:01:03 > f8:f2:1e:02:c4:82, ethertype IPv4 (0x0800), length 1490: 172.16.102.11 > 172.16.103.22: ip-proto-1
06:08:54.067301 90:e2:ba:29:c0:ac > f8:f2:1e:02:c4:80, ethertype IPv4 (0x0800), length 1548: 20.0.0.25.17654 > 20.0.0.26.6081: Geneve, Flags [C], vni 0x1, proto TEB (0x6558), options [8 bytes]: 00:de:ad:ff:01:03 > f8:f2:1e:02:c4:82, ethertype IPv4 (0x0800), length 1490: 172.16.102.11 > 172.16.103.22: ip-proto-1
06:08:54.067307 90:e2:ba:29:c0:ac > f8:f2:1e:02:c4:80, ethertype IPv4 (0x0800), length 732: 20.0.0.25.17654 > 20.0.0.26.6081: Geneve, Flags [C], vni 0x1, proto TEB (0x6558), options [8 bytes]: 00:de:ad:ff:01:03 > f8:f2:1e:02:c4:82, ethertype IPv4 (0x0800), length 674: 172.16.102.11 > 172.16.103.22: ip-proto-1
06:08:54.067383 f8:f2:1e:02:c4:80 > 90:e2:ba:29:c0:ac, ethertype IPv4 (0x0800), length 1572: 20.0.0.26.59714 > 20.0.0.25.6081: Geneve, Flags [C], vni 0x2, proto TEB (0x6558), options [8 bytes]: 00:de:ad:ff:01:02 > 00:de:ad:01:00:01, ethertype IPv4 (0x0800), length 1514: 172.16.103.22 > 172.16.102.11: ICMP echo reply, id 10521, seq 3, length 1480
06:08:54.067397 f8:f2:1e:02:c4:80 > 90:e2:ba:29:c0:ac, ethertype IPv4 (0x0800), length 1572: 20.0.0.26.59714 > 20.0.0.25.6081: Geneve, Flags [C], vni 0x2, proto TEB (0x6558), options [8 bytes]: 00:de:ad:ff:01:02 > 00:de:ad:01:00:01, ethertype IPv4 (0x0800), length 1514: 172.16.103.22 > 172.16.102.11: ip-proto-1
06:08:54.067405 f8:f2:1e:02:c4:80 > 90:e2:ba:29:c0:ac, ethertype IPv4 (0x0800), length 1572: 20.0.0.26.59714 > 20.0.0.25.6081: Geneve, Flags [C], vni 0x2, proto TEB (0x6558), options [8 bytes]: 00:de:ad:ff:01:02 > 00:de:ad:01:00:01, ethertype IPv4 (0x0800), length 1514: 172.16.103.22 > 172.16.102.11: ip-proto-1

Comment 11 errata-xmlrpc 2019-06-05 14:58:10 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, 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-2019:1385