Error: "WaitingForIPAllocation"
search cancel

Error: "WaitingForIPAllocation"

book

Article ID: 417773

calendar_today

Updated On:

Products

Tanzu Kubernetes Runtime VMware NSX

Issue/Introduction

  • New Machine objects fails to provision
  • kubectl get machine -A shows new machines in a Provisioning state
  • kubectl describe machine <machine-name> -n <namespace> shows the status condition:
     
    WaitingForIPAllocation
  • This state can stall cluster upgrades or node replacements, leaving old nodes in a Ready,SchedulingDisabled state as they wait for their replacement to become "Ready".

Environment

Tanzu Kubernetes

VMware NSX

Cause

The "WaitingForIPAllocation" status confirms that the CAPV controller, while attempting to create and configure the new virtual machine, is unable to assign it an IP address.

Resolution

If the pool is exhausted, either:

Once the underlying IP or network issue is resolved, the CAPI/CAPV controllers will typically retry and successfully allocate an IP. The Machine object status will transition from Provisioning to Provisioned, and the node will then proceed to join the cluster and become Ready.