Host Addition Fails with "Selected hosts do not match existing host network pool <pool2> in cluster." in VCF vSAN Stretched Cluster
search cancel

Host Addition Fails with "Selected hosts do not match existing host network pool <pool2> in cluster." in VCF vSAN Stretched Cluster

book

Article ID: 428326

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

  • In a VCF environment, administrators may encounter a failure when attempting to add an ESXi host to an existing vSAN stretched cluster. "Add Host" workflow fails during the validation phase, preventing the expansion of the cluster across availability zones.

  • Add host workflow reports the following error:

"Selected hosts do not match existing host network pool <pool2> in cluster."

  • In the /var/log/vmware/vcf/domainmanager/domainmanager.log, you may find entries similar to:

YYYY-MM-DDTHH:MM:SS DEBUG [vcf_dm,...] [InventoryServiceAdapterImpl] Fetching Cluster with ID ######################
YYYY-MM-DDTHH:MM:SS DEBUG [vcf_dm,...] [ClustersPatchHandler] isStretched: false

YYYY-MM-DDTHH:MM:SS INFO [vcf_dm,...] [L3Helper] Is network pool match: false

YYYY-MM-DDTHH:MM:SS ERROR [vcf_dm,...] [ValidateHostSpecAction] Host Spec validation failed with errors [HOST_NETWORK_POOL_MISMATCH_WITH_CLUSTER]
YYYY-MM-DDTHH:MM:SS ERROR [vcf_dm,...] [ErrorFactory] [<TOKEN>] HOSTSPEC_VALIDATION_FAILED Failed to validate ESXi Host(s) spec.

Environment

VMware Cloud Foundation (VCF) 5.2.2

Cause

The issue is caused by an incorrect metadata flag in the SDDC Manager inventory database. Although the cluster is configured as a stretched cluster, the isStretched attribute for the cluster is set to false.

Resolution

If you encounter the symptoms outlined above, contact Broadcom Technical Support for further assistance, as the resolution involves modifying SDDC database instance, which should be performed with caution.

Additional Information

How to Expand a Stretched Cluster in VMware Cloud Foundation.