Multus failed to destroy network for pod: "failed to open netns %!q(<nil>): unknown FS magic on /var/run/netns/" on RHOCP 4

Solution Verified - Updated -

Issue

  • Pods are stuck in "Terminating" state.
  • The kubelet reports multus failing to remove the pod network:

    failed to destroy network for pod sandbox k8s_<pod_name>_<pod_namespace>_<pod_id>_0(<snadbox_id>): error removing pod <pod_namespace>_<pod_name> from CNI network \"multus-cni-network\": plugin type=\"multus\" name=\"multus-cni-network\" failed (delete): Multus: failed to open netns %!q(<nil>): unknown FS magic on \"/var/run/netns/<NETNAMESPACE_ID>\": 1021994"
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP):
    • 4.10
    • 4.9
    • 4.8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content