Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-51219

Error while creating OVS bridge mappings using GUI - invalid NetworkState or NetworkPolicy: ovn: unknown field `bridge-mapping`

XMLWordPrintable

    • Quality / Stability / Reliability
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Important
    • None

      While creating an OVS Bridge NNCP using GUI, the resulting YAML is not valid and results in the following error 

      error reconciling NodeNetworkConfigurationPolicy on node master-0 at desired state apply: "", failed to execute nmstatectl set --no-commit --timeout 480: 'exit status 1' '' '[2024-11-14T10:24:45Z INFO  nmstatectl] Nmstate version: 2.2.33Using 'set' is deprecated, use 'apply' instead.
      Provide file is not valid NetworkState or NetworkPolicy: ovn: unknown field `bridge-mapping`, expected `bridge-mappings` at line 10 column 3  

      Basically the `bridge-mapping` should be written as `bridge-mappings`. Once this correction is made in yaml the NNCP deploys as expected.

              upalatuc@redhat.com Ugo Palatucci
              mputhenp Mohammed Salih Puthenpurayil
              Guohua Ouyang Guohua Ouyang
              Shikha Jhala Shikha Jhala
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: