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

BFD session does not work when running the regression bug2002430

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Hide

      Given a system administrator running OVS on RHEL9 or RHEL10,

      When BFD is configured and enabled between two network endpoints using Geneve tunneling,

      Then, the BFD session should establish a stable connection and maintain it reliably with remote sessions correctly detected and the expected forwarding behavior.

      Show
      Given a system administrator running OVS on RHEL9 or RHEL10, When BFD is configured and enabled between two network endpoints using Geneve tunneling, Then, the BFD session should establish a stable connection and maintain it reliably with remote sessions correctly detected and the expected forwarding behavior.
    • rhel-sst-network-fastdatapath
    • ssg_networking

      Description of problem:

      Version-Release number of selected component (if applicable):
      ovs3.1 and ovs3.3 on rhel9/rhel10
      openvswitch3.1-3.1.0-130.el9fdp
      openvswitch3.3-3.3.0-49.el9fdp
      openvswitch3.3-3.3.0-2.el10fdp

      How reproducible:
      Steps to Reproduce:
      on server side:
      driverctl -v set-override 0000:3b:00.2 vfio-pci
      ovs-vsctl set Open_vSwitch . 'other_config={}'
      ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true
      ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-socket-mem=1024,1024
      ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0x4000044000
      ovs-vsctl add-br br-phy – set bridge br-phy datapath_type=netdev
      ovs-vsctl add-port br-phy dpdk0 – set Interface dpdk0 type=dpdk type=dpdk options:dpdk-devargs=0000:3b:00.2
      ovs-vsctl add-port br-phy int0 – set interface int0 type=internal
      ip addr add 192.168.9.106/24 dev int0
      ip link set int0 up
      ovs-vsctl add-br br-int – set bridge br-int datapath_type=netdev
      ovs-vsctl add-port br-int geneve0 – set interface geneve0 type=geneve options:remote_ip=192.168.9.105 options:key=1000
      ovs-vsctl set interface geneve0 bfd:enable=true
      ip link set int0 addr 06:f8:eb:ce:de:ad
      ovs-appctl bfd/show geneve0
      ovs-appctl tnl/neigh/show

      on client side:
      driverctl -v set-override 0000:5e:00.0 vfio-pci
      ovs-vsctl set Open_vSwitch . 'other_config={}'
      ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true
      ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-socket-mem=1024,1024
      ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0x4000044000
      ovs-vsctl add-br br-phy – set bridge br-phy datapath_type=netdev
      ovs-vsctl add-port br-phy dpdk0 – set Interface dpdk0 type=dpdk type=dpdk options:dpdk-devargs=0000:5e:00.0
      ovs-vsctl add-port br-phy int0 – set interface int0 type=internal
      ip addr add 192.168.9.105/24 dev int0
      ip link set int0 up
      ovs-vsctl add-br br-int – set bridge br-int datapath_type=netdev
      ovs-vsctl add-port br-int geneve0 – set interface geneve0 type=geneve options:remote_ip=192.168.9.106 options:key=1000
      ovs-vsctl set interface geneve0 bfd:enable=true
      ovs-appctl bfd/show geneve0
      ovs-appctl tnl/neigh/show

      Actual results:
      For ovs3.3 or ovs3.1 on rhel9 or rhel10. The BFD session does not work.
      [root@dell-per740-73 ~]# ovs-appctl bfd/show geneve0
      Forwarding: false
      Detect Multiplier: 3
      Concatenated Path Down: false
      TX Interval: Approx 1000ms
      RX Interval: Approx 1000ms
      Detect Time: now -7371738ms
      Next TX Time: now +850ms
      Last TX Time: now -150ms

      Local Flags: none
      Local Session State: down
      Local Diagnostic: No Diagnostic
      Local Discriminator: 0xbbf7b2ed
      Local Minimum TX Interval: 1000ms
      Local Minimum RX Interval: 1000ms

      Remote Flags: none
      Remote Session State: down
      Remote Diagnostic: No Diagnostic
      Remote Discriminator: 0x0
      Remote Minimum TX Interval: 0ms
      Remote Minimum RX Interval: 1ms
      Remote Detect Multiplier: 0

      [root@dell-per740-73 ~]# ovs-appctl tnl/neigh/show
      IP MAC Bridge
      ==========================================================================

      Expected results:
      BFD session work well.
      Following is the ovs3.1 result of rhel8.6, The BFD session work well.
      [root@dell-per740-57 ~]# ovs-appctl bfd/show geneve0
      Forwarding: true
      Detect Multiplier: 3
      Concatenated Path Down: false
      TX Interval: Approx 1000ms
      RX Interval: Approx 1000ms
      Detect Time: now +2998ms
      Next TX Time: now +729ms
      Last TX Time: now -121ms

      Local Flags: none
      Local Session State: up
      Local Diagnostic: No Diagnostic
      Local Discriminator: 0x42098ee7
      Local Minimum TX Interval: 100ms
      Local Minimum RX Interval: 1000ms

      Remote Flags: none
      Remote Session State: up
      Remote Diagnostic: No Diagnostic
      Remote Discriminator: 0x1bc38db6
      Remote Minimum TX Interval: 100ms
      Remote Minimum RX Interval: 1000ms
      Remote Detect Multiplier: 3
      [root@dell-per740-57 ~]# ovs-appctl tnl/neigh/show
      IP MAC Bridge
      ==========================================================================
      192.168.9.105 c2:5e:55:92:9a:87 br-phy
      [root@dell-per740-73 ~]# ovs-appctl tnl/neigh/show
      IP MAC Bridge
      ==========================================================================
      192.168.9.106 06:f8:eb:ce:de:ad br-phy

      rhel8.6 ovs3.1 job: pass
      https://beaker.engineering.redhat.com/jobs/10055579
      rhel9.4 ovs3.1 job: fail
      https://beaker.engineering.redhat.com/jobs/10057602
      rhel9.4 ovs3.3 job:fail
      https://beaker.engineering.redhat.com/jobs/10055337
      rhel10 ovs3.3 job: fail
      https://beaker.engineering.redhat.com/jobs/10054788

              ovsdpdk-triage ovsdpdk triage
              tli@redhat.com Ting Li
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: