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

os-net-config fails: ovs bond and ovs port can't bemembers to the ovs bridge

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • os-net-config
    • None
    • Moderate

      To Reproduce Steps to reproduce the behavior:

      Apply the following config using os-net-config:

      [root@compute-ktjw3hfv-1 ~]# cat /etc/os-net-config/config.yaml

      network_config:

      • type: interface
          name: nic2
          mtu: 1500
          addresses:
            - ip_netmask: 2620:cf:cf:aaaa::65/64
          dns_servers: ['2620:cf:cf:aaaa::50']
          domain: ['ctlplane.example.com', 'internalapi.example.com', 'storage.example.com', 'tenant.example.com']
          routes: [\{'destination': '::/0', 'nexthop': '2620:00cf:00cf:aaaa:0000:0000:0000:0001'}]
      • type: ovs_bridge
          name: br-ex
          use_dhcp: false
          mtu: 9000
          dns_servers: ['2620:cf:cf:aaaa::50']
          members:
            - type: ovs_bond
              name: bond0
              mtu: 9000
              use_dhcp: false
              ovs_options: bond_mode=active-backup
              members:
                - type: interface
                  name: nic3
                  mtu: 9000
                  primary: true
                - type: interface
                  mtu: 9000
                  name: nic4
              routes: []

          - type: vlan
            mtu: 1500
            vlan_id: 20
            addresses:
              - ip_netmask:
                  2620:cf:cf:bbbb::65/64
            routes: []
          - type: vlan
            mtu: 1500
            vlan_id: 22
            addresses:
              - ip_netmask:
                  2620:cf:cf:eeee::65/64
            routes: []
          - type: vlan
            mtu: 1500
            vlan_id: 21
            addresses:
              - ip_netmask:
                  2620:cf:cf:cccc::65/64
            routes: []

      Expected behavior

      • config applied successfully

      Bug impact

      • unable to run a specific os-net-config configuration

      Known workaround

      • no

      Additional context

      1764066358:nispor::query::ethtool:/builddir/build/BUILD/nmstate-2.2.54/rust/vendor/nispor/query/ethtool.rs:593: WARN: Unsupported EthtoolLinkModeAttr Other(DefaultNla { kind: 10, value: [0] })
      2025-11-25 10:25:58.232 ERROR os_net_config.config_provider nmstate: ***Failed to configure network_config ***
      br-ex: ovs bond and ovs port can't bemembers to the ovs bridge
      Traceback (most recent call last):
        File "/usr/lib/python3.9/site-packages/os_net_config/cli.py", line 623, in config_provider
          provider.add_object(obj)
        File "/usr/lib/python3.9/site-packages/os_net_config/_init_.py", line 128, in add_object
          self.add_bridge(obj)
        File "/usr/lib/python3.9/site-packages/os_net_config/impl_nmstate.py", line 2312, in add_bridge
          raise os_net_config.ConfigurationError(msg)
      os_net_config.ConfigurationError: br-ex: ovs bond and ovs port can't bemembers to the ovs bridge

      2025-11-25 10:25:58.232 ERROR os_net_config.main nmstate: Network config failed
      2025-11-25 10:25:58.232 WARNING os_net_config.safe_fallback fallback_config is not provided

              ksundara@redhat.com Karthik Sundaravel
              eshulman Ella Shulman
              rhos-dfg-nfv
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: