Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-15393

[Tracker]Hardware Offload doesn't seem to be working in 17.1.5

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Blocker Blocker
    • rhos-17.1.8
    • rhos-17.1.5
    • rhoso-openvswitch
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ovn24.03-24.03.5-72.el9fdp
    • rhos-dfg-nfv
    • None
    • Rejected
    • NFV 009
    • 1
    • Critical

      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.

      OVS/OVN versions:

      [tripleo-admin@computehwoffload-r730 ~]$ ovs-vsctl --version | grep 'Open vSwitch' | sed 's/ovs-vsctl \(.*\) //'
      3.3.4-74.el9fdp
      [tripleo-admin@computehwoffload-r730 ~]$ sudo podman exec -it ovn_controller ovn-sbctl --version | head -n1 | sed 's/.* \(.*\)/\1/g'
      24.03.6
      

              mnietoji@redhat.com Miguel Angel Nieto Jimenez
              rdiazcam@redhat.com Ricardo Diaz Campos
              Jianlin Shi Jianlin Shi
              rhos-dfg-nfv
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: