Newly created pods are stuck in `ContainerCreating` with error "err: range is full"

Solution Verified - Updated -

Issue

Newly created pods are stuck in ContainerCreating state with the following events:

  Type     Reason                  Age                From               Message
  ----     ------                  ----               ----               -------
  Normal   Scheduled               60s                default-scheduler  Successfully assigned ns/newpod to worker-1.example.com
  Warning  ErrorAddingLogicalPort  53s (x2 over 60s)  controlplane       failed to assign pod addresses for pod newpod on node: worker-1.example.com, err: range is full

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.9
    • 4.10
  • OVN-Kubernetes

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