Description of problem: qos on tunnel interface doesn't work(ovn-nbctl set Logical_Switch_Port $portname options:qos_max_rate) Version-Release number of selected component (if applicable): # rpm -qa|grep ovn23 ovn23.06-23.06.0-56.el9fdp.x86_64 ovn23.06-central-23.06.0-56.el9fdp.x86_64 ovn23.06-host-23.06.0-56.el9fdp.x86_64 How reproducible: always Steps to Reproduce: this caused qos job fail: https://beaker.engineering.redhat.com/jobs/8193063 Actual results: fail Expected results: pass Additional info: this issue is similar with a bug before https://bugzilla.redhat.com/show_bug.cgi?id=1798903 and it only fails on 23.06.
AFAIU it was a conscious decision by OVN project to not apply qos on tunnel ports, see this update to NEWS file in 23.06: https://github.com/ovn-org/ovn/commit/87514ac04271e87c3ad011599378d22ab6bed43c I suggest to pull in Lorenzo here to provide more context on why this behavior change was merged.
as comment1 said, devel would get rid of traffic shaping on tunnel interface , so I check the qos fail on tunnel interface to verified this bug. run the case ovn-qos:ovn_test_qos version: # rpm -qa|grep ovn ovn23.09-23.09.0-73.el9fdp.x86_64 ovn23.09-central-23.09.0-73.el9fdp.x86_64 ovn23.09-host-23.09.0-73.el9fdp.x86_64 tcp_4@localhost ~]# netperf -4 -H 172.16.102.21 -t TCP_STREAM -T1 > perf_result_ [root@localhost ~]# echo $? 0 {print $5}')ost ~]# export tcp_speed4=$(cat perf_result_tcp_4 | tail -n1 | awk ' [root@localhost ~]# echo $? 0 [root@localhost ~]# echo tcp_speed4=$tcp_speed4 tcp_speed4=8853.07 [root@localhost ~]# echo $? 0 [root@localhost ~]# export tcp_speed4=${tcp_speed4%.*} [root@localhost ~]# echo $? 0 [root@localhost ~]# expr 15 \> $tcp_speed4 && expr $tcp_speed4 \> 5 0 [root@localhost ~]# echo $? 1 [root@localhost ~]# logout Red Hat Enterprise Linux Server 7.8 Beta (Maipo) Kernel 3.10.0-1118.el7.x86_64 on an x86_64 localhost login: :: [ 21:28:13 ] :: [ FAIL ] :: tunnel qos:speed4 should be 5-15. spawn virsh console hv1_vm00 Connected to domain 'hv1_vm00' Escape character is ^] (Ctrl + ]) Red Hat Enterprise Linux Server 7.8 Beta (Maipo) Kernel 3.10.0-1118.el7.x86_64 on an x86_64 localhost login: root Password: Last login: Mon Dec 4 21:28:01 on ttyS0 REAM -T1 > perf_result_tcp_6-6 -L 2001:db8:102::11 -H 2001:db8:102::21 -t TCP_ST [root@localhost ~]# echo $? 0 {print $5}')ost ~]# export tcp_speed6=$(cat perf_result_tcp_6 | tail -n1 | awk ' [root@localhost ~]# echo $? 0 [root@localhost ~]# echo tcp_speed6=$tcp_speed6 tcp_speed6=8687.96 [root@localhost ~]# echo $? 0 [root@localhost ~]# export tcp_speed6=${tcp_speed6%.*} [root@localhost ~]# echo $? 0 [root@localhost ~]# expr 15 \> $tcp_speed6 && expr $tcp_speed6 \> 5 0 [root@localhost ~]# echo $? 1 [root@localhost ~]# logout Red Hat Enterprise Linux Server 7.8 Beta (Maipo) Kernel 3.10.0-1118.el7.x86_64 on an x86_64 localhost login: :: [ 21:28:27 ] :: [ FAIL ] :: tunnel qos:speed6 should be 5-15. failed . set verified.
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 (ovn23.09 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-2024:0392