Bug 1761407
| Summary: | [RHEL 8] QoS Max bandwidth limit doesn't work in combination with DVR | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | Numan Siddique <nusiddiq> |
| Component: | ovn2.11 | Assignee: | lorenzo bianconi <lorenzo.bianconi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | haidong li <haili> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | FDP 19.G | CC: | amuller, apevec, chrisw, ctrautma, dalvarez, dcbw, fhallal, haili, lorenzo.bianconi, majopela, mmichels, nusiddiq, ovs-qe, qding, rhos-maint, srevivo, yinxu |
| Target Milestone: | --- | Keywords: | Triaged, ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1580542 | Environment: | |
| Last Closed: | 2020-11-12 16:44:44 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: | 1580542, 1851493 | ||
| Bug Blocks: | 1638040, 1640041, 1704272 | ||
|
Description
Numan Siddique
2019-10-14 10:57:56 UTC
Hi Lorenzo, Can you help describe the configuration of this feature? I have configured the commands below,but the qos didn't work.I configured the qos max rate on localnet logical port,and configure the external-ids on the patch-port of the br-ex.Is there any incorrect configuration?Thanks! ovn-nbctl set Logical_Switch_Port ln_p1 options:qos_max_rate=10000000 ovs-vsctl set interface enp6s0f1 external-ids:ovn-egress-interface=true This issue is verified on the latest version:
[root@dell-per730-19 ovn]# uname -a
Linux dell-per730-19.rhts.eng.pek2.redhat.com 4.18.0-147.6.el8.x86_64 #1 SMP Wed Oct 9 22:56:11 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[root@dell-per730-19 ovn]# rpm -qa | grep openvswitch
kernel-kernel-networking-openvswitch-ovs_qinq-1.3-34.noarch
openvswitch-selinux-extra-policy-1.0-19.el8fdp.noarch
openvswitch2.11-2.11.0-24.el8fdp.x86_64
[root@dell-per730-19 ovn]# rpm -qa | grep ovn
ovn2.11-2.11.1-8.el8fdp.x86_64
ovn2.11-host-2.11.1-8.el8fdp.x86_64
ovn2.11-central-2.11.1-8.el8fdp.x86_64
[root@dell-per730-19 ovn]# ovn-nbctl show
switch 0bae869d-cbbf-4eca-9636-eb21131a8b46 (public)
port public_r1
type: router
router-port: r1_public
port ln_p1
type: localnet
addresses: ["unknown"]
switch 900296f2-b168-4776-91b9-63962c3b1cec (s2)
port hv1_vm00_vnet1
addresses: ["00:de:ad:01:00:01 172.16.102.11"]
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
switch 86cbc7c3-bab1-47db-abe2-032775927c2a (s3)
port s3_r1
type: router
addresses: ["00:de:ad:ff:01:03 172.16.103.1"]
router-port: r1_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"]
router 34ce4801-21ad-4c1d-b8bc-bd8e8f27d3b2 (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 09ed872a-33e3-47c4-9c10-d67b9f71a0b6
external ip: "172.16.104.201"
logical ip: "172.16.103.11"
type: "dnat_and_snat"
nat e40bea83-7874-4066-a804-6ee2771d3baa
external ip: "172.16.104.200"
logical ip: "172.16.102.11"
type: "dnat_and_snat"
[root@dell-per730-19 ovn]#
[root@dell-per730-19 ovn]# ovn-nbctl set Logical_Switch_Port ln_p1 options:qos_max_rate=1000
[root@dell-per730-19 ovn]# ovn-nbctl set Logical_Switch_Port ln_p1 options:qos_burst=1000
[root@dell-per730-19 ovn]# ovs-vsctl set interface enp131s0f1 external-ids:ovn-egress-iface=true
[root@dell-per730-19 ovn]# virsh console hv1_vm00
Connected to domain hv1_vm00
Escape character is ^]
[root@localhost ~]# netperf -H 172.16.104.201
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.16.104.201 () port 0 AF_INET
Recv Send Send
Socket Socket Message Elapsed
Size Size Size Time Throughput
bytes bytes bytes secs. 10^6bits/sec
87380 16384 16384 14.00 0.02
[root@localhost ~]#
|