In RHOCP 4, pods remain in ContainerCreating state with message: "error reserving pod name xxxx for id xxxx : name is reserved"

Solution Verified - Updated -

Issue

  • When deploying new pods, following message can be seen in events :
(combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = Kubelet may be retrying requests that are timing out in CRI-O due to system load: error reserving pod name k8s_mypod_c2917xxxx for id 2adexxxx: name is reserved
  • Similar message can be seen in CRI-O logs for containers of such pods :
warning msg="Error reserving ctr name k8s_mypod_c2917xxxx for id 2adexxxx: name is reserved"

Environment

  • Red Hat OpenShift Container Platform
    • 4.5
    • 4.6

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