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

Configuration fails with nmstate provider - Connection(MissingSetting):ovs-interface

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?
    • None
    • Important

      [root@edpm-compute-0-0 ~]# rpm -q os-net-config
      os-net-config-18.0.1-0.20241008181319.cb46a31.el9.noarc

      ERROR:os_net_config.impl_nmstate:Error seen while applying the nmstate templates Connection(MissingSetting):ovs-interface: setting required for connection of type 'ovs-interface'

      ---
      network_config:
        - type: ovs_bridge
          name: br-ex
          mtu: 1500
          use_dhcp: false
          dns_servers: ['192.168.122.80']
          domain: ['ctlplane.openstack.lab', 'internalapi.openstack.lab', 'storage.openstack.lab', 'tenant.openstack.lab']
          addresses:
            - ip_netmask: 192.168.123.100/24
          routes: [{'destination': '192.168.122.0/24', 'nexthop': '192.168.123.1'}, {'destination': '192.168.124.0/24', 'nexthop': '192.168.123.1'}, {'destination': '0.0.0.0/0', 'nexthop': '192.168.123.1'}]
          members:
          - type: interface
            name: enp5s0
            mtu: 1500
            primary: true
          - type: vlan
            mtu: 1500
            vlan_id: 30
            addresses:
              - ip_netmask: >-
                  172.17.1.100/24
            routes: [{'destination': '172.17.0.0/24', 'nexthop': '172.17.1.1'}, {'destination': '172.17.2.0/24', 'nexthop': '172.17.1.1'}]
          - type: vlan
            mtu: 1500
            vlan_id: 31
            addresses:
              - ip_netmask: >-
                  172.18.1.100/24
            routes: [{'destination': '172.18.0.0/24', 'nexthop': '172.18.1.1'}, {'destination': '172.18.2.0/24', 'nexthop': '172.18.1.1'}]
          - type: vlan
            mtu: 1500
            vlan_id: 32
            addresses:
              - ip_netmask: >-
                  172.19.1.100/24
            routes: [{'destination': '172.19.0.0/24', 'nexthop': '172.19.1.1'}, {'destination': '172.19.2.0/24', 'nexthop': '172.19.1.1'}]
      

      This config works if I use the ifcfg provider.

       

       

              ksundara@redhat.com Karthik Sundaravel
              rhn-gps-hjensas Harald Jensas
              rhos-dfg-nfv
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: