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

BZ#2314230 ovs-extra not applied when using Network manager + os-net-config

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Committed
    • Committed
    • Committed
    • None
    • Important

      Description of problem:
      Options are not applied:

      type: ovs_dpdk_bond
      name: dpdkbond0
      mtu: 9000
      rx_queue: 1
      ovs_extra:
      set port dpdkbond0 bond_mode=balance-slb
      set Interface dpdk0 options:n_rxq_desc=2048
      set Interface dpdk0 options:n_txq_desc=2048
      set Interface dpdk1 options:n_rxq_desc=2048
      set Interface dpdk1 options:n_txq_desc=2048
      [root@compute-r740 os-net-config]# ovs-vsctl get port dpdkbond0 bond_mode
      active-backup
      [root@compute-r740 os-net-config]# ovs-vsctl get Interface dpdk0 options

      {dpdk-devargs="0000:86:00.0", n_rxq="1"}

      [root@compute-r740 os-net-config]# ovs-vsctl get Interface dpdk1 options

      {dpdk-devargs="0000:86:00.1", n_rxq="1"}

      It can be configured in a different way, but this is not working either

      type: ovs_dpdk_bond
      name: dpdkbond0
      mtu: 9000
      rx_queue: 1
      ovs_options: bond_mode=balance-slb
      rx_queue_size: 2048
      tx_queue_size: 2048
      There is a third way that it is working:

      type: ovs_dpdk_bond
      name: dpdkbond0
      mtu: 9000
      rx_queue: 1
      ovs_options: bond_mode=balance-slb
      members:
      type: ovs_dpdk_port
      name: dpdk0
      rx_queue_size: 2048
      tx_queue_size: 2048
      members:
      type: interface
      name: nic7
      type: ovs_dpdk_port
      name: dpdk1
      rx_queue_size: 2048
      tx_queue_size: 2048
      members:
      type: interface
      name: nic8
      [root@compute-r740 os-net-config]# ovs-vsctl get port dpdkbond0 bond_mode
      balance-slb
      [root@compute-r740 os-net-config]# ovs-vsctl get Interface dpdk0 options

      {dpdk-devargs="0000:86:00.0", n_rxq="1", n_rxq_desc="2048", n_txq_desc="2048"}

      [root@compute-r740 os-net-config]# ovs-vsctl get Interface dpdk1 options

      {dpdk-devargs="0000:86:00.1", n_rxq="1", n_rxq_desc="2048", n_txq_desc="2048"}

      Version-Release number of selected component (if applicable):
      RHOS-17.1-RHEL-9-20240909.n.1
      Waiting for a puddle with os-net-config update, but as not available yet, i am updating os-net-config from the following repo
      git clone https://github.com/os-net-config/os-net-config.git
      cd /home/stack/images/os-net-config
      git fetch -v --all
      git switch -c stable/wallaby origin/stable/wallaby

      How reproducible:
      Deploy configuration using nmstate and ovs-extra as shown before

      Actual results:
      ovs-extra parameters not applied

      Expected results:
      ovs-extra parameter should be applied

      Additional info:

              jira-bugzilla-migration RH Bugzilla Integration
              jira-bugzilla-migration RH Bugzilla Integration
              Eran Kuris Eran Kuris
              rhos-dfg-nfv
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: