Pods stuck in ContainerCreating with device or resource busy error.

Solution Verified - Updated -

Issue

Pod creation failed with additional network and get device or resource busy error.

Warning  FailedCreatePodSandBox           10s                kubelet  Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create pod network sandbox k8s_iputils-container_testing_69245f10-d826-4ab6-888f-87d7fe856f3c_0(94c00f8afc4a9792704c020e91ace2c453fd3872de928a91113eb67f661ccd32): error adding pod testing_iputils-container to CNI network "multus-cni-network": plugin type="multus-shim" name="multus-cni-network" failed (add): CmdAdd (shim): CNI request failed with status 400: 'ContainerID:"94c00f8afc4a9792704c020e91ace2c453fd3872de928a91113eb67f661ccd32" Netns:"/var/run/netns/21a6b41b-f723-4c32-8102-81bad08974c0" IfName:"eth0" Args:"IgnoreUnknown=1;K8S_POD_NAMESPACE=testing;K8S_POD_NAME=iputils-container;K8S_POD_INFRA_CONTAINER_ID=94c00f8afc4a9792704c020e91ace2c453fd3872de928a91113eb67f661ccd32;K8S_POD_UID=69245f10-d826-4ab6-888f-87d7fe856f3c" Path:"" ERRORED: error configuring pod [testing/iputils-container] networking: [testing/iputils-container/69245f10-d826-4ab6-888f-87d7fe856f3c:ipvlan-main]: error adding container to network "ipvlan-main": failed to create ipvlan: device or resource busy
': StdinData: {"binDir":"/var/lib/cni/bin","clusterNetwork":"/host/run/multus/cni/net.d/10-ovn-kubernetes.conf","cniVersion":"0.3.1","daemonSocketDir":"/run/multus/socket","globalNamespaces":"default,openshift-multus,openshift-sriov-network-operator","logLevel":"verbose","logToStderr":true,"name":"multus-cni-network","namespaceIsolation":true,"type":"multus-shim"}

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.x

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