Mount /var/run as shared 27/121427/1
authorTodd Malsbary <todd.malsbary@intel.com>
Tue, 18 May 2021 22:16:03 +0000 (15:16 -0700)
committerTodd Malsbary <todd.malsbary@intel.com>
Wed, 19 May 2021 22:29:23 +0000 (15:29 -0700)
This fixes the "unknown FS magic" error reported by nfn-agent:

  E0518 22:05:58.596460 20593 cni.go:150] Failed to configure
  interface in pod: failed to open netns
  "/var/run/netns/cni-c24e4d8e-819c-6a0c-9ae5-6b4e5cf8f68d": unknown
  FS magic on
  "/var/run/netns/cni-c24e4d8e-819c-6a0c-9ae5-6b4e5cf8f68d": 1021994

It can be observed as a failure of the ovn4nfv.sh test when
CONTAINER_RUNTIME is "containerd".

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: If979110d125511827a65a5de5101a2832d5efeb5

kud/deployment_infra/helm/ovn4nfv/templates/daemonset.yaml

index bc8285f..aeecb79 100644 (file)
@@ -138,6 +138,7 @@ spec:
           name: host-var-run-ovs
         - mountPath: /var/run
           name: host-var-run
+          mountPropagation: Bidirectional
         - mountPath: /host/proc
           name: host-proc
         - mountPath: /host/sys