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

The OVN Kubernetes L2 overlay network is created incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • CNV v4.17.0
    • CNV v4.14.0
    • CNV User Interface
    • None
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • ---
    • ---
    • Important
    • None

      Description of problem:
      After create a OVN network and attach it to a VM, which prevent the VM from start due to annotations are not correct, also the value of "netAttachDefName" looks not correct according to example in https://kubevirt.io/2023/OVN-kubernetes-secondary-networks.html 

      OVN network YAML content:
      apiVersion: k8s.cni.cncf.io/v1
      kind: NetworkAttachmentDefinition
      metadata:
        annotations:
          k8s.v1.cni.cncf.io/resourceName: openshift.io/
        creationTimestamp: '2023-07-26T05:57:55Z'
        generation: 1
            manager: Mozilla
            operation: Update
            time: '2023-07-26T05:57:55Z'
        name: ovn-network
        namespace: default
        resourceVersion: '8085918'
        uid: 42978894-4387-4b33-9c7e-4713ba6e89cd
      spec:
        config: >-
          {"name":"ovn-network","type":"ovn-k8s-cni-overlay","cniVersion":"0.3.1","topology":"layer2","netAttachDefName":"ovn-network/default"}

      Version-Release number of selected component (if applicable):

      How reproducible:

      Steps to Reproduce:
      1.
      2.
      3.

      Actual results:

      Expected results:

      Additional info:

              mschatzm@redhat.com Matan Schatzman
              gouyang1@redhat.com Guohua Ouyang
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: