Description of problem: If all the chassis have external connectivity (ovn-bridge-mappings defined) and if the physical switch keeps sending periodic GARP replies (instead of Requests) they are handled by all chassis's. It's enough if those GARPs are handled only on the gateway chassis where the distributed router port is scheduled. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
verified on the latest version: [root@dell-per740-18 ovn]# rpm -qa | grep openvswitch openvswitch-selinux-extra-policy-1.0-14.el7fdp.noarch openvswitch2.11-2.11.0-26.el7fdp.x86_64 kernel-kernel-networking-openvswitch-ovn_ha-1.0-41.noarch [root@dell-per740-18 ovn]# rpm -qa | grep ovn ovn2.11-2.11.1-8.el7fdp.x86_64 ovn2.11-central-2.11.1-8.el7fdp.x86_64 ovn2.11-host-2.11.1-8.el7fdp.x86_64 kernel-kernel-networking-openvswitch-ovn_ha-1.0-41.noarch [root@dell-per740-18 ovn]# root@dell-per740-18 ovn]# ovn-nbctl show switch 086e87ca-1eee-4440-9790-6f0d7859360d (s3) port hv0_vm00_vnet1 addresses: ["00:de:ad:00:00:01 172.16.103.11"] port hv0_vm01_vnet1 addresses: ["00:de:ad:00:01:01 172.16.103.12"] port s3_r1 type: router addresses: ["00:de:ad:ff:01:03 172.16.103.1"] router-port: r1_s3 switch ecc8b593-19fe-4509-8590-a68edcd2185d (public) port ln_p1 type: localnet addresses: ["unknown"] port public_r1 type: router router-port: r1_public switch 3827320f-2e1f-4ad2-9394-cfef23e086dc (s2) port s2_r1 type: router addresses: ["00:de:ad:ff:01:02 172.16.102.1"] router-port: r1_s2 port hv1_vm01_vnet1 addresses: ["00:de:ad:01:01:01 172.16.102.12"] port hv1_vm00_vnet1 addresses: ["00:de:ad:01:00:01 172.16.102.11"] router 5b2f265f-abdd-4f82-b57f-a45ed441f52d (r1) port r1_s3 mac: "00:de:ad:ff:01:03" networks: ["172.16.103.1/24"] port r1_public mac: "40:44:00:00:00:03" networks: ["172.16.104.1/24"] port r1_s2 mac: "00:de:ad:ff:01:02" networks: ["172.16.102.1/24"] nat 599e4d31-0fba-4af3-8dc5-cca7adea2b42 external ip: "172.16.104.200" logical ip: "172.16.102.11" type: "dnat_and_snat" nat de0cfce7-68c6-4612-bdf8-4eaa5299e6c8 external ip: "172.16.104.201" logical ip: "172.16.103.11" type: "dnat_and_snat" [root@dell-per740-18 ovn]# produce a lot of RARP packets on another machine on switch: from scapy.all import * >>> for x in range(1000): ... sendp(Ether(src="00:de:ad:01:00:01",dst="ff:ff:ff:ff:ff:ff")/ARP(op=2,hwsrc="00:de:aq:01:00:01",hwdst="00:de:aq:01:00:01",psrc="172.16.102.99",pdst="172.16.102.99"),iface="ens4f1") [root@dell-per740-18 ovn]# top top - 03:07:50 up 23:17, 2 users, load average: 0.00, 0.04, 0.12 Tasks: 525 total, 1 running, 524 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.0 us, 0.1 sy, 0.0 ni, 99.9 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem : 65280816 total, 57050184 free, 2590292 used, 5640340 buff/cache KiB Swap: 32767996 total, 32767996 free, 0 used. 62195044 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 28062 openvsw+ 10 -10 3413452 141204 17936 S 3.4 0.2 0:43.34 ovs-vswitchd 28333 qemu 20 0 2890084 645860 10252 S 0.4 1.0 1:24.48 qemu-kvm 60418 root 20 0 162452 2724 1580 R 0.4 0.0 0:00.42 top 1 root 20 0 193924 7064 4216 S 0.0 0.0 0:09.94 systemd 2 root 20 0 0 0 0 S 0.0 0.0 0:00.03 kthreadd 4 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H 5 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/u544:0 6 root 20 0 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/0 7 root rt 0 0 0 0 S 0.0 0.0 0:00.47 migration/0 [root@dell-per730-42 ovn]# top top - 03:06:42 up 23:30, 2 users, load average: 0.00, 0.04, 0.13 Tasks: 512 total, 1 running, 511 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem : 32744248 total, 25134632 free, 1972292 used, 5637324 buff/cache KiB Swap: 16515068 total, 16515068 free, 0 used. 30344464 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 31606 openvsw+ 10 -10 3413444 140940 17936 S 1.3 0.4 0:14.10 ovs-vswitchd 32456 root 20 0 162436 2704 1580 R 0.3 0.0 0:00.06 top 1 root 20 0 193896 7052 4216 S 0.0 0.0 0:07.82 systemd 2 root 20 0 0 0 0 S 0.0 0.0 0:00.02 kthreadd 4 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H 6 root 20 0 0 0 0 S 0.0 0.0 0:00.07 ksoftirqd/0 7 root rt 0 0 0 0 S 0.0 0.0 0:01.03 migration/0 8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh 9 root 20 0 0 0 0 S 0.0 0.0 0:22.85 rcu_sched 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 lru-add-drain 11 root rt 0 0 0 0 S 0.0 0.0 0:00.57 watchdog/0 12 root rt 0 0 0 0 S 0.0 0.0 0:00.19 watchdog/1
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:3718