Failed to validate host spec - Insufficient free IPs for VSAN Network, Available free IPs 0: Required free IPs 1, Insufficient free IPs for VMOTION Network, Available free IPs 0: Required free IPs 1
search cancel

Failed to validate host spec - Insufficient free IPs for VSAN Network, Available free IPs 0: Required free IPs 1, Insufficient free IPs for VMOTION Network, Available free IPs 0: Required free IPs 1

book

Article ID: 316098

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

Release unused vMotion / vSAN IPs from SDDC Manager network pool

Symptoms:

Adding ESXi host to cluster fails as there are no free IPs for vMotion and vSAN in the network pool

Error: Failed to validate host spec - Insufficient free IPs for VSAN Network, Available free IPs 0: Required free IPs 1, Insufficient free IPs for VMOTION Network, Available free IPs 0: Required free IPs 1 

 

Environment

VMware Cloud Foundation  4.x
VMware Cloud Foundation  5.x 
VMware Cloud Foundation  9.x

Cause

  • ESXi host had a PSOD and was forced to rebuilt
  • ESXi host was forcefully removed from SDDC Manager platform database as proper decommission was not possible

Resolution

  1. Take a snapshot of the SDDC Manager 

  2. SSH into the SDDC Manager with vcf and then elevate to root with su.

  3. Copy the staleIpCleanup python script to the /home/vcf/ directory on the SDDC Manager

  4. Run the staleIpCleanup script 

    python staleIpCleanup.py 

Attachments

staleIpCleanup.py get_app