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

NetworkAttachmentDefinitions not updated/removed properly

XMLWordPrintable

    • Moderate

      When configuring nicMapping in ovn.template.ovnController.nicMappings, a network attachment definition is created
      ovn:
      template:
      ovnController:
      networkAttachment: tenant
      nicMappings:
      access: enp7s0
      datacentre: enp4s0

      [zuul@controller-0 crs]$ oc get net-attach-def access -o yaml
      apiVersion: k8s.cni.cncf.io/v1
      kind: NetworkAttachmentDefinition
      metadata:
      creationTimestamp: "2024-04-26T13:37:40Z"
      generation: 2
      labels:
      service: ovn-controller-ovs
      name: access
      namespace: openstack
      resourceVersion: "6039198"
      uid: 0ede9c09-8889-48fe-8a0d-f740790ec279
      spec:
      config: '

      {"cniVersion": "0.3.1", "name": "access", "type": "host-device", "device": "enp7s0"}

      '

      If we remove control plane, this CR is not removed
      If we update control plane, this CR is not updated

            ykarel@redhat.com Yatin Karel
            mnietoji@redhat.com Miguel Angel Nieto Jimenez
            Sanjay Upadhyay Sanjay Upadhyay
            rhos-dfg-networking-squad-neutron
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: