Adding hosts to cluster task in VCF 9.x is failing with "FAILED_TO_VALIDATE_SPEC Failed to validate the provided spec with error"
search cancel

Adding hosts to cluster task in VCF 9.x is failing with "FAILED_TO_VALIDATE_SPEC Failed to validate the provided spec with error"

book

Article ID: 439943

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

  • Adding new hosts to a cluster task failed during when validating IP address availability for Edge Overlay(TEP) IP assignment due to error "Failed to validate the provided spec with error [not enough IP addresses in the ip address pool <Address_pool>, needed # IP addresses but found #].

  • Following error events found in /var/log/vmware/vcf/domainmanager/domainmanager.log

    domainmanager.log 

    YYYY-MM-DDTHH:MM:SS.###+#### ERROR [vcf_dm,########54343d5######3e21####,####] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-7]  [E5NMQ9] FAILED_TO_VALIDATE_SPEC Failed to validate the provided spec with error [Not enough IP addresses available in the IP address pool ##-#####-####, needed 8 IP addresses but found 2]
    com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: Failed to validate the provided spec with error [Not enough IP addresses available in the IP address pool ##-#####-####, needed 8 IP addresses but found 2]

     

     

Environment

VCF 5.x
VCF 9.x

Cause

Not enough IP addresses available in the affected IP address pool within the NSX UI IP management console to complete the cluster expansion task.

Resolution

  1. To resolve this issue, add a new IP range or expand the existing ranges.

  2. Log in to the NSX Manager UI and navigate through Networking --> Select  IP Management --> IP Address Pools. 

  3. Expand the affected IP pool to View Details. 



  4. A window pops up “IP Address Allocation” you will see the details of IP allocation similar to below given snippet. 
    You may need to increase the IP range for you environment.



  5. From the Set Subnets, in the IP Ranges, change the IP range by clicking on the current range and adjust the range.



  6. Wait for the change to take effect and it's about 10 minutes depending on your environment. 
  7. This can be verified by reviewing the tasks in vCenter and VCF Operations tasks.
  8. Retry performing the task to add host to the cluster and validate the status. 

 

Additional Information

If the issue persists, contact Broadcom Support. For steps to create a support case, see Creating and managing Broadcom cases