Uploaded image for project: 'Fast Datapath Product'
  1. Fast Datapath Product
  2. FDP-1271

Hardware Offload doesn't seem to be working in 17.1.5

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • FDP-25.C
    • None
    • ovn25.09
    • None
    • 5
    • True
    • Hide

      It is a regression in RHOSP 17.1.5

      Show
      It is a regression in RHOSP 17.1.5
    • False
    • ovn25.09-25.09.0-alpha.108.el9fdp
    • rhel-9
    • None
    • rhel-net-ovn
    • ssg_networking
    • OVN FDP 25.C
    • 1
    • +

      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.

        1. sosreport-computehwoffload-r740-2025-04-03-skkymwj.tar.xz
          23.28 MB
        2. sosreport-computehwoffload-r730-2025-04-03-qekxxgg.tar.xz
          24.32 MB
        3. sosreport-compute-1-2025-04-03-fnreqmb.tar.xz
          20.40 MB
        4. sosreport-compute-0-2025-04-03-qjqsvaq.tar.xz
          20.27 MB
        5. ovs-vswitchd.log
          2.15 MB
        6. ovnsb_db.db
          8.73 MB
        7. ovnnb_db.db
          2.79 MB
        8. FDP-1271-sos_and_dbs_faulty_compose.tgz
          52.77 MB
        9. conf.db
          654 kB

              dceara@redhat.com Dumitru Ceara
              rdiazcam@redhat.com Ricardo Diaz Campos
              Jianlin Shi Jianlin Shi
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: