Pod fails with error 'Statfs "/proc/xxxxx/ns/net": no such file or directory' in RHOCP 3.

Solution Verified - Updated -

Issue

  • Pod fails with below errors in atomic-openshift-node logs:

    Dec 22 21:37:26 node1 atomic-openshift-node[2963]: W1222 21:37:26.037706    2963 cni.go:243] CNI failed to retrieve network namespace path: cannot find network namespace for the terminated container "xxxx"
    Dec 22 21:37:26 node1 atomic-openshift-node[2963]: E1222 21:37:26.482644    2963 cni.go:260] Error adding network: failed to Statfs "/proc/xxxx/ns/net": no such file or directory
    Dec 22 21:37:26 node1 atomic-openshift-node[2963]: E1222 21:37:26.482669    2963 cni.go:221] Error while adding to cni lo network: failed to Statfs "/proc/xxxx/ns/net": no such file or directory
    
  • Setting SELinux mode to permissive solve, but it's not a correct nor supported configuration.

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 7
  • Red Hat OpenShift Container Platform (RHOCP)
    • 3.11

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