The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.
Bug 2234349 - [OVN] qos on tunnel interface doesn't work(ovn-nbctl set Logical_Switch_Port $portname options:qos_max_rate)
Summary: [OVN] qos on tunnel interface doesn't work(ovn-nbctl set Logical_Switch_Port ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: ovn23.09
Version: FDP 23.G
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: xsimonar
QA Contact: ying xu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-24 04:20 UTC by ying xu
Modified: 2024-01-24 11:18 UTC (History)
5 users (show)

Fixed In Version: ovn23.09-23.09.0-beta.41.el9fdp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-01-24 11:18:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-3124 0 None None None 2023-08-24 04:22:04 UTC
Red Hat Product Errata RHBA-2024:0392 0 None None None 2024-01-24 11:18:11 UTC

Description ying xu 2023-08-24 04:20:53 UTC
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.

Comment 1 Ihar Hrachyshka 2023-08-29 13:41:25 UTC
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.

Comment 4 ying xu 2023-12-06 07:56:55 UTC
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.

Comment 6 errata-xmlrpc 2024-01-24 11:18: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 (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


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