We are getting errors like this in our hardware offload regression:
Traceback (most recent call last): File "/home/stack/plugins/nfv-tempest-plugin.git/nfv_tempest_plugin/tests/scenario/test_nfv_offload.py", line 216, in test_offload_udp_vlan self.run_offload_testcase(test, "udp", "vlan") File "/home/stack/plugins/nfv-tempest-plugin.git/nfv_tempest_plugin/tests/scenario/test_nfv_offload.py", line 684, in run_offload_testcase self.assertTrue(network_type_found, "Network type {} not " File "/usr/lib64/python3.9/unittest/case.py", line 688, in assertTrue raise self.failureException(msg) AssertionError: False is not true : network_type vlan, hypervisor 192.0.80.15, vm ip 30.30.220.137 protocol udp. mac address fa:16:3e:5d:91:f7 not in offload flows network_type vlan, hypervisor 192.0.80.15, vm ip 30.30.220.137 protocol udp. Failed to check packets in representor port. UDP packets: 0 (>0), 177 (0) network_type vlan, hypervisor 192.0.80.15, vm ip 30.30.220.137 protocol udp. Failed to check packets in representor port. TCP packets: 0 (>1), 192 (0) network_type vlan, hypervisor 192.0.80.9, vm ip 30.30.220.162 protocol udp. mac address fa:16:3e:c1:80:c2 not in offload flows network_type vlan, hypervisor 192.0.80.9, vm ip 30.30.220.162 protocol udp. Failed to check packets in representor port. UDP packets: 0 (>0), 177 (0) network_type vlan, hypervisor 192.0.80.9, vm ip 30.30.220.162 protocol udp. Failed to check packets in representor port. TCP packets: 0 (>1), 192 (0)
For a workflow like this:
(overcloud) [stack@undercloud-0 ~]$ openstack server list --all --long +--------------------------------------+------------------------------------------+--------+------------+-------------+--------------------------------------------------------------------------------------------+-----------------------------------------------------+--------------------------------------+--------------------+-------------------+-----------------------------------+------------+ | ID | Name | Status | Task State | Power State | Networks | Image Name | Image ID | Flavor | Availability Zone | Host | Properties | +--------------------------------------+------------------------------------------+--------+------------+-------------+--------------------------------------------------------------------------------------------+-----------------------------------------------------+--------------------------------------+--------------------+-------------------+-----------------------------------+------------+ | 3dcbcb72-84ff-4e95-9df5-8cdc3712d249 | tempest-TestNfvOffload-server-1669178795 | ACTIVE | None | Running | mellanox-geneve-provider=10.46.228.39, 20.20.220.110; mellanox-vlan-provider=30.30.220.162 | rhel-guest-image-9.2-nfv-5-20230414.17.x86_64.qcow2 | ea6f7afd-a3e8-42fc-ab12-a80e97907ac3 | nfv_qe_ag_flavor_1 | nova | computehwoffload-r740.localdomain | | | 9c85d7a7-1c90-4f29-99df-187328a7c9c1 | tempest-TestNfvOffload-server-438523709 | ACTIVE | None | Running | mellanox-geneve-provider=10.46.228.36, 20.20.220.164; mellanox-vlan-provider=30.30.220.137 | rhel-guest-image-9.2-nfv-5-20230414.17.x86_64.qcow2 | ea6f7afd-a3e8-42fc-ab12-a80e97907ac3 | nfv_qe_ag_flavor_0 | nova | computehwoffload-r730.localdomain | | +--------------------------------------+------------------------------------------+--------+------------+-------------+--------------------------------------------------------------------------------------------+-----------------------------------------------------+--------------------------------------+--------------------+-------------------+-----------------------------------+------------+
So the UDP/TCP traffic is not offloaded.
The error seems to be related to the ct_state flag in the corresponding flow.
hakhande debugged this issue and will kindly provide more details in a reply.
- is blocked by
-
FDP-1274 [Investigation spike] CT offload issue on VLAN traffic with CX-5 (RHEL-9.2)
-
- Closed
-
- is cloned by
-
FDP-1325 CLONE [ovn24.03 fast-datapath-rhel-9] - Hardware Offload doesn't seem to be working in 17.1.5
-
- Closed
-
-
FDP-1326 CLONE [ovn24.09 fast-datapath-rhel-9] - Hardware Offload doesn't seem to be working in 17.1.5
-
- Closed
-
-
FDP-1327 CLONE [ovn25.03 fast-datapath-rhel-9] - Hardware Offload doesn't seem to be working in 17.1.5
-
- Closed
-
-
OSPRH-15393 [Tracker]Hardware Offload doesn't seem to be working in 17.1.5
-
- Closed
-
- links to