Bug 1797873
| Summary: | [OVN 2.11][FDP20.B] QoS Max bandwidth limit doesn't work in combination with DVR | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | ying xu <yinxu> | |
| Component: | ovn2.11 | Assignee: | lorenzo bianconi <lorenzo.bianconi> | |
| Status: | CLOSED ERRATA | QA Contact: | ying xu <yinxu> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | FDP 20.A | CC: | ctrautma, dcbw, fhallal, jishi, lorenzo.bianconi, mmichels, ralongi | |
| Target Milestone: | --- | Keywords: | Regression | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | ovn2.11-2.11.1-34.el7fdn | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 1778036 | |||
| : | 1798903 (view as bug list) | Environment: | ||
| Last Closed: | 2020-04-14 14:29:49 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: | 1778036 | |||
| Bug Blocks: | 1798903, 1805581 | |||
|
Description
ying xu
2020-02-04 05:39:47 UTC
I found that the issue is the command "ovn-nbctl set Logical_Switch_Port $portname options:qos_max_rate=2000000" doesn't work. it caused the case ovn_qos fail too. https://beaker.engineering.redhat.com/recipes/7862225#task105609026 https://beaker.engineering.redhat.com/recipes/7862205#task105608876 it is ok on last version 20.A. https://beaker.engineering.redhat.com/recipes/7716240/tasks/103936621/logs/TESTOUT.log Assigning to OVN team first to figure out if its OVN. (In reply to ying xu from comment #1) > I found that the issue is the command "ovn-nbctl set Logical_Switch_Port > $portname options:qos_max_rate=2000000" doesn't work. > > it caused the case ovn_qos fail too. > https://beaker.engineering.redhat.com/recipes/7862225#task105609026 > https://beaker.engineering.redhat.com/recipes/7862205#task105608876 Could you please provide the output of the following commands? $ovn-sbctl show (on the central node) $ovn-sbctl list port_binding <your localnet lsp> (on the central node) $tc qdisc show (on the controller node) $ovs-vsctl list interface <interface connected to the localnet port> (on the controller node) please remember the shaping is done on the egress traffic (In reply to lorenzo bianconi from comment #4) > (In reply to ying xu from comment #1) > > I found that the issue is the command "ovn-nbctl set Logical_Switch_Port > > $portname options:qos_max_rate=2000000" doesn't work. > > > > it caused the case ovn_qos fail too. > > https://beaker.engineering.redhat.com/recipes/7862225#task105609026 > > https://beaker.engineering.redhat.com/recipes/7862205#task105608876 > > Could you please provide the output of the following commands? > > $ovn-sbctl show (on the central node) # ovn-sbctl show Chassis "hv1" hostname: "dell-per730-03.rhts.eng.pek2.redhat.com" Encap geneve ip: "20.0.3.25" options: {csum="true"} Port_Binding "cr-r1_public" Port_Binding "hv1_vm00_vnet1" Port_Binding "hv1_vm01_vnet1" Chassis "hv0" hostname: "hp-dl388g8-08.rhts.eng.pek2.redhat.com" Encap geneve ip: "20.0.3.26" options: {csum="true"} Port_Binding "hv0_vm00_vnet1" Port_Binding "hv0_vm01_vnet1" > $ovn-sbctl list port_binding <your localnet lsp> (on the central node) # ovn-sbctl list port_binding ln_p1 _uuid : 40deff79-5199-4aae-9d7f-039cba1f8fdf chassis : [] datapath : c380a7f7-b8c1-41fb-a3bc-8c6bedaa98e5 encap : [] external_ids : {} gateway_chassis : [] ha_chassis_group : [] logical_port : "ln_p1" mac : [unknown] nat_addresses : [] options : {network_name=nattest, qdisc_queue_id="1", qos_burst="2200000", qos_max_rate="2000000"} parent_port : [] tag : [] tunnel_key : 1 type : localnet virtual_parent : [] > $tc qdisc show (on the controller node) # tc qdisc show qdisc noqueue 0: dev lo root refcnt 2 qdisc mq 0: dev eno1 root qdisc fq_codel 0: dev eno1 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn qdisc mq 0: dev eno3 root qdisc fq_codel 0: dev eno3 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn qdisc mq 0: dev eno4 root qdisc fq_codel 0: dev eno4 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn qdisc noqueue 0: dev virbr0 root refcnt 2 qdisc fq_codel 0: dev virbr0-nic root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn qdisc noqueue 0: dev genev_sys_6081 root refcnt 2 qdisc fq_codel 0: dev vnet0 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn qdisc fq_codel 0: dev vnet1 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn qdisc fq_codel 0: dev hv1_vm00_vnet1 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn qdisc fq_codel 0: dev hv1_vm01_vnet1 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn qdisc noqueue 0: dev nat_test root refcnt 2 > $ovs-vsctl list interface <interface connected to the localnet port> (on the > controller node) _uuid : 1854e06d-7e7b-4763-b1d3-8282b9507639 admin_state : up bfd : {} bfd_status : {} cfm_fault : [] cfm_fault_status : [] cfm_flap_count : [] cfm_health : [] cfm_mpid : [] cfm_remote_mpids : [] cfm_remote_opstate : [] duplex : full error : [] external_ids : {ovn-egress-iface="true"} ifindex : 5 ingress_policing_burst: 0 ingress_policing_rate: 0 lacp_current : [] link_resets : 1 link_speed : 1000000000 link_state : up lldp : {} mac : [] mac_in_use : "44:a8:42:49:41:f7" mtu : 1500 mtu_request : [] name : "eno4" ofport : 1 ofport_request : [] options : {} other_config : {} statistics : {collisions=0, rx_bytes=475336, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=5149, tx_bytes=1720, tx_dropped=0, tx_errors=0, tx_packets=22} status : {driver_name="tg3", driver_version="3.137", firmware_version="FFV7.10.59 bc 5720-v1.36"} type : "" > > please remember the shaping is done on the egress traffic and the output of the shaping: 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 10.03 940.82 I tries ovn2.11 FDP20.B on the setup I used to develop the feature and it works as expected. Could you please help me setting up the environment you are running? I will install ovn/ovs from source to continue debugging the issue. Thanks. (In reply to ying xu from comment #5) > (In reply to lorenzo bianconi from comment #4) > > (In reply to ying xu from comment #1) > > > I found that the issue is the command "ovn-nbctl set Logical_Switch_Port > > > $portname options:qos_max_rate=2000000" doesn't work. > > > > > > it caused the case ovn_qos fail too. > > > https://beaker.engineering.redhat.com/recipes/7862225#task105609026 > > > https://beaker.engineering.redhat.com/recipes/7862205#task105608876 > > > > Could you please provide the output of the following commands? > > > > $ovn-sbctl show (on the central node) > # ovn-sbctl show > Chassis "hv1" > hostname: "dell-per730-03.rhts.eng.pek2.redhat.com" > Encap geneve > ip: "20.0.3.25" > options: {csum="true"} > Port_Binding "cr-r1_public" > Port_Binding "hv1_vm00_vnet1" > Port_Binding "hv1_vm01_vnet1" > Chassis "hv0" > hostname: "hp-dl388g8-08.rhts.eng.pek2.redhat.com" > Encap geneve > ip: "20.0.3.26" > options: {csum="true"} > Port_Binding "hv0_vm00_vnet1" > Port_Binding "hv0_vm01_vnet1" > > > $ovn-sbctl list port_binding <your localnet lsp> (on the central node) > # ovn-sbctl list port_binding ln_p1 > _uuid : 40deff79-5199-4aae-9d7f-039cba1f8fdf > chassis : [] > datapath : c380a7f7-b8c1-41fb-a3bc-8c6bedaa98e5 > encap : [] > external_ids : {} > gateway_chassis : [] > ha_chassis_group : [] > logical_port : "ln_p1" > mac : [unknown] > nat_addresses : [] > options : {network_name=nattest, qdisc_queue_id="1", > qos_burst="2200000", qos_max_rate="2000000"} > parent_port : [] > tag : [] > tunnel_key : 1 > type : localnet > virtual_parent : [] > > > > $tc qdisc show (on the controller node) > # tc qdisc show > qdisc noqueue 0: dev lo root refcnt 2 > qdisc mq 0: dev eno1 root > qdisc fq_codel 0: dev eno1 parent :1 limit 10240p flows 1024 quantum 1514 > target 5.0ms interval 100.0ms memory_limit 32Mb ecn > qdisc mq 0: dev eno3 root > qdisc fq_codel 0: dev eno3 parent :1 limit 10240p flows 1024 quantum 1514 > target 5.0ms interval 100.0ms memory_limit 32Mb ecn > qdisc mq 0: dev eno4 root > qdisc fq_codel 0: dev eno4 parent :1 limit 10240p flows 1024 quantum 1514 > target 5.0ms interval 100.0ms memory_limit 32Mb ecn > qdisc noqueue 0: dev virbr0 root refcnt 2 > qdisc fq_codel 0: dev virbr0-nic root refcnt 2 limit 10240p flows 1024 > quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn > qdisc noqueue 0: dev genev_sys_6081 root refcnt 2 > qdisc fq_codel 0: dev vnet0 root refcnt 2 limit 10240p flows 1024 quantum > 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn > qdisc fq_codel 0: dev vnet1 root refcnt 2 limit 10240p flows 1024 quantum > 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn > qdisc fq_codel 0: dev hv1_vm00_vnet1 root refcnt 2 limit 10240p flows 1024 > quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn > qdisc fq_codel 0: dev hv1_vm01_vnet1 root refcnt 2 limit 10240p flows 1024 > quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn > qdisc noqueue 0: dev nat_test root refcnt 2 > > Debugging the issue on your environment it does not seem an OVN issue since OVS fails to install the htb qdisc. Could you please try to remove the qdisc before running the test doing something like: $tc qdisc del dev eno4 root Are you running some test before this one? > > $ovs-vsctl list interface <interface connected to the localnet port> (on the > > controller node) > > _uuid : 1854e06d-7e7b-4763-b1d3-8282b9507639 > admin_state : up > bfd : {} > bfd_status : {} > cfm_fault : [] > cfm_fault_status : [] > cfm_flap_count : [] > cfm_health : [] > cfm_mpid : [] > cfm_remote_mpids : [] > cfm_remote_opstate : [] > duplex : full > error : [] > external_ids : {ovn-egress-iface="true"} > ifindex : 5 > ingress_policing_burst: 0 > ingress_policing_rate: 0 > lacp_current : [] > link_resets : 1 > link_speed : 1000000000 > link_state : up > lldp : {} > mac : [] > mac_in_use : "44:a8:42:49:41:f7" > mtu : 1500 > mtu_request : [] > name : "eno4" > ofport : 1 > ofport_request : [] > options : {} > other_config : {} > statistics : {collisions=0, rx_bytes=475336, rx_crc_err=0, > rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=5149, > tx_bytes=1720, tx_dropped=0, tx_errors=0, tx_packets=22} > status : {driver_name="tg3", driver_version="3.137", > firmware_version="FFV7.10.59 bc 5720-v1.36"} > type : "" > > > > > > please remember the shaping is done on the egress traffic (In reply to lorenzo bianconi from comment #9) > (In reply to ying xu from comment #5) > > (In reply to lorenzo bianconi from comment #4) > > > (In reply to ying xu from comment #1) > > > > I found that the issue is the command "ovn-nbctl set Logical_Switch_Port > > > > $portname options:qos_max_rate=2000000" doesn't work. > > > > > > > > it caused the case ovn_qos fail too. > > > > https://beaker.engineering.redhat.com/recipes/7862225#task105609026 > > > > https://beaker.engineering.redhat.com/recipes/7862205#task105608876 > > > > > > Could you please provide the output of the following commands? > > > > > > $ovn-sbctl show (on the central node) > > # ovn-sbctl show > > Chassis "hv1" > > hostname: "dell-per730-03.rhts.eng.pek2.redhat.com" > > Encap geneve > > ip: "20.0.3.25" > > options: {csum="true"} > > Port_Binding "cr-r1_public" > > Port_Binding "hv1_vm00_vnet1" > > Port_Binding "hv1_vm01_vnet1" > > Chassis "hv0" > > hostname: "hp-dl388g8-08.rhts.eng.pek2.redhat.com" > > Encap geneve > > ip: "20.0.3.26" > > options: {csum="true"} > > Port_Binding "hv0_vm00_vnet1" > > Port_Binding "hv0_vm01_vnet1" > > > > > $ovn-sbctl list port_binding <your localnet lsp> (on the central node) > > # ovn-sbctl list port_binding ln_p1 > > _uuid : 40deff79-5199-4aae-9d7f-039cba1f8fdf > > chassis : [] > > datapath : c380a7f7-b8c1-41fb-a3bc-8c6bedaa98e5 > > encap : [] > > external_ids : {} > > gateway_chassis : [] > > ha_chassis_group : [] > > logical_port : "ln_p1" > > mac : [unknown] > > nat_addresses : [] > > options : {network_name=nattest, qdisc_queue_id="1", > > qos_burst="2200000", qos_max_rate="2000000"} > > parent_port : [] > > tag : [] > > tunnel_key : 1 > > type : localnet > > virtual_parent : [] > > > > > > > $tc qdisc show (on the controller node) > > # tc qdisc show > > qdisc noqueue 0: dev lo root refcnt 2 > > qdisc mq 0: dev eno1 root > > qdisc fq_codel 0: dev eno1 parent :1 limit 10240p flows 1024 quantum 1514 > > target 5.0ms interval 100.0ms memory_limit 32Mb ecn > > qdisc mq 0: dev eno3 root > > qdisc fq_codel 0: dev eno3 parent :1 limit 10240p flows 1024 quantum 1514 > > target 5.0ms interval 100.0ms memory_limit 32Mb ecn > > qdisc mq 0: dev eno4 root > > qdisc fq_codel 0: dev eno4 parent :1 limit 10240p flows 1024 quantum 1514 > > target 5.0ms interval 100.0ms memory_limit 32Mb ecn > > qdisc noqueue 0: dev virbr0 root refcnt 2 > > qdisc fq_codel 0: dev virbr0-nic root refcnt 2 limit 10240p flows 1024 > > quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn > > qdisc noqueue 0: dev genev_sys_6081 root refcnt 2 > > qdisc fq_codel 0: dev vnet0 root refcnt 2 limit 10240p flows 1024 quantum > > 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn > > qdisc fq_codel 0: dev vnet1 root refcnt 2 limit 10240p flows 1024 quantum > > 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn > > qdisc fq_codel 0: dev hv1_vm00_vnet1 root refcnt 2 limit 10240p flows 1024 > > quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn > > qdisc fq_codel 0: dev hv1_vm01_vnet1 root refcnt 2 limit 10240p flows 1024 > > quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn > > qdisc noqueue 0: dev nat_test root refcnt 2 > > > > > > Debugging the issue on your environment it does not seem an OVN issue since > OVS fails to install the htb qdisc. Could you please try to remove the qdisc > before running the test doing something like: > > $tc qdisc del dev eno4 root > > Are you running some test before this one? I reproduce it with your suggestion,but it fails too. and I think it is not affected by other case. I will empty the environment before my case every time. and I run the case on version 20.A to compare with.It is pass. as what you said, it didn't set up the htb qdisc. And it did on version 20.A. ovn2.11.1-33 [root@ibm-x3650m4-04 qos]# tc qdisc show dev enp17s0f1 qdisc mq 0: root qdisc fq_codel 0: parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn [root@ibm-x3650m4-04 qos]# tc qdisc show dev enp17s0f0 qdisc mq 0: root qdisc fq_codel 0: parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn ovn2.11.1-24 [root@ibm-x3650m4-04 qos]# tc qdisc show dev enp17s0f0 qdisc htb 1: root refcnt 6 r2q 10 default 1 direct_packets_stat 52 direct_qlen 1000 [root@ibm-x3650m4-04 qos]# tc qdisc show dev enp17s0f1 qdisc htb 1: root refcnt 6 r2q 10 default 1 direct_packets_stat 209 direct_qlen 1000 Maybe it is not a bug of ovn, but there may be something wrong with ovs. > > > > $ovs-vsctl list interface <interface connected to the localnet port> (on the > > > controller node) > > > > _uuid : 1854e06d-7e7b-4763-b1d3-8282b9507639 > > admin_state : up > > bfd : {} > > bfd_status : {} > > cfm_fault : [] > > cfm_fault_status : [] > > cfm_flap_count : [] > > cfm_health : [] > > cfm_mpid : [] > > cfm_remote_mpids : [] > > cfm_remote_opstate : [] > > duplex : full > > error : [] > > external_ids : {ovn-egress-iface="true"} > > ifindex : 5 > > ingress_policing_burst: 0 > > ingress_policing_rate: 0 > > lacp_current : [] > > link_resets : 1 > > link_speed : 1000000000 > > link_state : up > > lldp : {} > > mac : [] > > mac_in_use : "44:a8:42:49:41:f7" > > mtu : 1500 > > mtu_request : [] > > name : "eno4" > > ofport : 1 > > ofport_request : [] > > options : {} > > other_config : {} > > statistics : {collisions=0, rx_bytes=475336, rx_crc_err=0, > > rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=5149, > > tx_bytes=1720, tx_dropped=0, tx_errors=0, tx_packets=22} > > status : {driver_name="tg3", driver_version="3.137", > > firmware_version="FFV7.10.59 bc 5720-v1.36"} > > type : "" > > > > > > > > > > please remember the shaping is done on the egress traffic I did the test on version as below: ovn of 20.A, ovs of 20.B # rpm -qa|grep ovn ovn2.11-2.11.1-24.el8fdp.x86_64 ovn2.11-host-2.11.1-24.el8fdp.x86_64 ovn2.11-central-2.11.1-24.el8fdp.x86_64 # rpm -qa|grep openvs openvswitch2.11-2.11.0-47.el8fdp.x86_64 openvswitch-selinux-extra-policy-1.0-19.el8fdp.noarch python3-openvswitch2.11-2.11.0-47.el8fdp.x86_64 it works! does it indicate that it is an issue of ovn? Maybe there is a problem from ovn to ovs,not ovs to htb this issue can be reproduce on version 20.B, https://beaker.engineering.redhat.com/jobs/4054701 and verified on version as below: # rpm -qa|grep ovn ovn2.11-2.11.1-37.el7fdp.x86_64 ovn2.11-central-2.11.1-37.el7fdp.x86_64 ovn2.11-host-2.11.1-37.el7fdp.x86_64 the reproducer :/kernel/networking/openvswitch/ovn/basic:ovn_test_qos {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=7163.54 [root@localhost ~]# echo $? 0 [root@localhost ~]# export tcp_speed4=${tcp_speed4%.*} [root@localhost ~]# echo $? 0 [root@localhost ~]# expr $tcp_speed4 \> 3000 1 [root@localhost ~]# echo $? 0 [root@localhost ~]# logout Red Hat Enterprise Linux Server 7.7 (Maipo) Kernel 3.10.0-1062.el7.x86_64 on an x86_64 localhost login: spawn virsh console hv1_vm00 Connected to domain hv1_vm00 Escape character is ^] Red Hat Enterprise Linux Server 7.7 (Maipo) Kernel 3.10.0-1062.el7.x86_64 on an x86_64 localhost login: root Password: Last login: Thu Mar 12 23:49:50 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=7860.61 [root@localhost ~]# echo $? 0 [root@localhost ~]# export tcp_speed6=${tcp_speed6%.*} [root@localhost ~]# echo $? 0 [root@localhost ~]# expr $tcp_speed6 \> 3000 1 [root@localhost ~]# echo $? 0 [root@localhost ~]# logout Red Hat Enterprise Linux Server 7.7 (Maipo) Kernel 3.10.0-1062.el7.x86_64 on an x86_64 localhost login: result=0 spawn virsh console hv1_vm00 Connected to domain hv1_vm00 Escape character is ^] Red Hat Enterprise Linux Server 7.7 (Maipo) Kernel 3.10.0-1062.el7.x86_64 on an x86_64 localhost login: root Password: Last login: Thu Mar 12 23:50:04 on ttyS0 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=9.29 [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 1 1 [root@localhost ~]# echo $? 0 [root@localhost ~]# logout Red Hat Enterprise Linux Server 7.7 (Maipo) Kernel 3.10.0-1062.el7.x86_64 on an x86_64 localhost login: spawn virsh console hv1_vm00 Connected to domain hv1_vm00 Escape character is ^] Red Hat Enterprise Linux Server 7.7 (Maipo) Kernel 3.10.0-1062.el7.x86_64 on an x86_64 localhost login: root Password: Last login: Thu Mar 12 23:50:18 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=9.21 [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 1 1 [root@localhost ~]# echo $? 0 [root@localhost ~]# logout Red Hat Enterprise Linux Server 7.7 (Maipo) Kernel 3.10.0-1062.el7.x86_64 on an x86_64 localhost login: result=0 SYNC_NC: sync_set client ovn_qos SYNC_NC: sent "ovn_qos" to dell-per730-57.rhts.eng.pek2.redhat.com ovn_cleanup ... ovn_cleanup ... end :: [ 23:50:57 ] :: [ PASS ] :: Command 'ovn_qos' (Expected 0, got 0) hi,lorenzo bianconi sorry I made a mistake about this bug. I verified this bug with the case /kernel/networking/openvswitch/ovn/qos https://beaker.engineering.redhat.com/jobs/4139193(case:qos pass) but for the case /kernel/networking/openvswitch/ovn/basic:ovn_test_qos, it is failed. https://beaker.engineering.redhat.com/jobs/4139194 (case:ovn_qos failed) so I reset the status to ON_QA. I am very sorry about that. I am not sure whether it is the same issue as before.Can you have a look at it? I talked with devel, the secnario of tunnel qos works, so set this bug verified
verified on version:
# rpm -qa|grep ovn
ovn2.11-2.11.1-37.el7fdp.x86_64
ovn2.11-host-2.11.1-37.el7fdp.x86_64
ovn2.11-central-2.11.1-37.el7fdp.x86_64
[root@localhost ~]# cat log.txt
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 2.06
[root@localhost ~]# echo $?
0
[root@localhost ~]# logout
Red Hat Enterprise Linux Server 7.7 (Maipo)
Kernel 3.10.0-1062.el7.x86_64 on an x86_64
localhost login:
spawn virsh console hv1_vm00
Connected to domain hv1_vm00
Escape character is ^]
Red Hat Enterprise Linux Server 7.7 (Maipo)
Kernel 3.10.0-1062.el7.x86_64 on an x86_64
localhost login: root
Password:
Last login: Thu Mar 19 05:52:00 on ttyS0
[root@localhost ~]# tail -n 1 log.txt|grep 2.*
87380 16384 16384 14.00 2.06
[root@localhost ~]# echo $?
0
[root@localhost ~]# logout
Red Hat Enterprise Linux Server 7.7 (Maipo)
Kernel 3.10.0-1062.el7.x86_64 on an x86_64
localhost login:
spawn virsh console hv1_vm00
Connected to domain hv1_vm00
Escape character is ^]
Red Hat Enterprise Linux Server 7.7 (Maipo)
Kernel 3.10.0-1062.el7.x86_64 on an x86_64
localhost login: root
Password:
Last login: Thu Mar 19 05:52:04 on ttyS0
[root@localhost ~]# netperf -H 172.16.104.201 > log.txt
[root@localhost ~]# echo $?
0
[root@localhost ~]# logout
Red Hat Enterprise Linux Server 7.7 (Maipo)
Kernel 3.10.0-1062.el7.x86_64 on an x86_64
localhost login:
spawn virsh console hv1_vm00
Connected to domain hv1_vm00
Escape character is ^]
Red Hat Enterprise Linux Server 7.7 (Maipo)
Kernel 3.10.0-1062.el7.x86_64 on an x86_64
localhost login: root
Password:
Last login: Thu Mar 19 05:52:07 on ttyS0
[root@localhost ~]# cat log.txt
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 ~]# echo $?
0
[root@localhost ~]# logout
Red Hat Enterprise Linux Server 7.7 (Maipo)
Kernel 3.10.0-1062.el7.x86_64 on an x86_64
localhost login:
spawn virsh console hv1_vm00
Connected to domain hv1_vm00
Escape character is ^]
Red Hat Enterprise Linux Server 7.7 (Maipo)
Kernel 3.10.0-1062.el7.x86_64 on an x86_64
localhost login: root
Password:
Last login: Thu Mar 19 05:52:43 on ttyS0
[root@localhost ~]# tail -n 1 log.txt|grep 0.02
87380 16384 16384 14.00 0.02
[root@localhost ~]# echo $?
0
[root@localhost ~]# logout
Red Hat Enterprise Linux Server 7.7 (Maipo)
Kernel 3.10.0-1062.el7.x86_64 on an x86_64
localhost login:
spawn virsh console hv1_vm00
Connected to domain hv1_vm00
Escape character is ^]
Red Hat Enterprise Linux Server 7.7 (Maipo)
Kernel 3.10.0-1062.el7.x86_64 on an x86_64
localhost login: root
Password:
Last login: Thu Mar 19 05:52:47 on ttyS0
[root@localhost ~]# netperf -H 172.16.104.201 > log.txt
[root@localhost ~]# echo $?
0
[root@localhost ~]# logout
Red Hat Enterprise Linux Server 7.7 (Maipo)
Kernel 3.10.0-1062.el7.x86_64 on an x86_64
localhost login:
spawn virsh console hv1_vm00
Connected to domain hv1_vm00
Escape character is ^]
Red Hat Enterprise Linux Server 7.7 (Maipo)
Kernel 3.10.0-1062.el7.x86_64 on an x86_64
localhost login: root
Password:
Last login: Thu Mar 19 05:52:50 on ttyS0
[root@localhost ~]# cat log.txt
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 10.13 212.03
[root@localhost ~]# echo $?
0
[root@localhost ~]# logout
Red Hat Enterprise Linux Server 7.7 (Maipo)
Kernel 3.10.0-1062.el7.x86_64 on an x86_64
localhost login:
spawn virsh console hv1_vm00
Connected to domain hv1_vm00
Escape character is ^]
Red Hat Enterprise Linux Server 7.7 (Maipo)
Kernel 3.10.0-1062.el7.x86_64 on an x86_64
localhost login: root
Password:
Last login: Thu Mar 19 05:53:04 on ttyS0
[root@localhost ~]# tail -n 1 log.txt|awk '{print $5}'|grep "^2..\."
212.03
[root@localhost ~]# echo $?
0
[root@localhost ~]# logout
Red Hat Enterprise Linux Server 7.7 (Maipo)
Kernel 3.10.0-1062.el7.x86_64 on an x86_64
localhost login:
spawn virsh console hv1_vm00
Connected to domain hv1_vm00
Escape character is ^]
Red Hat Enterprise Linux Server 7.7 (Maipo)
Kernel 3.10.0-1062.el7.x86_64 on an x86_64
localhost login: root
Password:
Last login: Thu Mar 19 05:53:07 on ttyS0
[root@localhost ~]# netperf -H 172.16.104.201 > log.txt
[root@localhost ~]# echo $?
0
[root@localhost ~]# logout
Red Hat Enterprise Linux Server 7.7 (Maipo)
Kernel 3.10.0-1062.el7.x86_64 on an x86_64
localhost login:
spawn virsh console hv1_vm00
Connected to domain hv1_vm00
Escape character is ^]
Red Hat Enterprise Linux Server 7.7 (Maipo)
Kernel 3.10.0-1062.el7.x86_64 on an x86_64
localhost login: root
Password:
Last login: Thu Mar 19 05:53:11 on ttyS0
[root@localhost ~]# cat log.txt
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 10.03 941.33
[root@localhost ~]# echo $?
0
[root@localhost ~]# logout
Red Hat Enterprise Linux Server 7.7 (Maipo)
Kernel 3.10.0-1062.el7.x86_64 on an x86_64
localhost login:
result=0
SYNC_NC: sync_set client ovn_floating_qos
SYNC_NC: sent "ovn_floating_qos" to ibm-x3650m4-04.rhts.eng.pek2.redhat.com
ovn_cleanup ...
ovn_cleanup ... end
:: [ 05:53:35 ] :: [ PASS ] :: Command 'ovn_floating_qos' (Expected 0, got 0)
and for the fail case it looks like a different issue from this one, so I will open a new one.
the scenarios of DVR and tunnel interface all work. so set it to verified. clear the needinfo according to comment27 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-2020:1458 |