Public bug reported: The test ``QosTestExternalNetwork.test_dscp_bwlimit_external_network`` is checking the QoS max-bw rules, using "iperf3" between two VMs. Since [1][2], the QoS min and max BW rules for LSPs in LS that have associated a physical network (and a localnet port) are defined in the LSP.options dictionary. The QoS values are set in the localnet port interface using "tc" commands.
If the "iperf3" is done between VMs in the same compute node, this traffic won't cross the localnet port and the QoS rules won't be applied. In the mentioned test, the BW limit check is done between the testing VM and "receiver" [3]. Because of the order used in a 2 compute node environment, these VMs are always located in the same compute. [1]https://review.opendev.org/c/openstack/neutron/+/934418 [2]https://github.com/ovn-org/ovn/commit/87514ac04271e87c3ad011599378d22ab6bed43c [3]https://opendev.org/x/whitebox-neutron-tempest-plugin/src/commit/98b5177a870ab875d936c69c9a84eca4410ed54a/whitebox_neutron_tempest_plugin/tests/scenario/test_qos.py#L1039-L1042 ** Affects: neutron Importance: Undecided Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez) Status: New ** Changed in: neutron Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/2099755 Title: [whitebox-neutron-tempest-plugin] ``QosTestExternalNetwork.test_dscp_bwlimit_external_network`` must check BW with VMs on different compute nodes Status in neutron: New Bug description: The test ``QosTestExternalNetwork.test_dscp_bwlimit_external_network`` is checking the QoS max-bw rules, using "iperf3" between two VMs. Since [1][2], the QoS min and max BW rules for LSPs in LS that have associated a physical network (and a localnet port) are defined in the LSP.options dictionary. The QoS values are set in the localnet port interface using "tc" commands. If the "iperf3" is done between VMs in the same compute node, this traffic won't cross the localnet port and the QoS rules won't be applied. In the mentioned test, the BW limit check is done between the testing VM and "receiver" [3]. Because of the order used in a 2 compute node environment, these VMs are always located in the same compute. [1]https://review.opendev.org/c/openstack/neutron/+/934418 [2]https://github.com/ovn-org/ovn/commit/87514ac04271e87c3ad011599378d22ab6bed43c [3]https://opendev.org/x/whitebox-neutron-tempest-plugin/src/commit/98b5177a870ab875d936c69c9a84eca4410ed54a/whitebox_neutron_tempest_plugin/tests/scenario/test_qos.py#L1039-L1042 To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/2099755/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

