Message: Hosts esxhost1.example.com, esxhost2.example.com cannot be added to the cluster domain-c######
Remediation Message:
Reference Token: K####5
Cause: Cannot skip 2 ESXi Host(s) ([esxhost1.example.com,esxhost2.example.com]) as only 1 ESXi host(s) would remain and the minimum
DEBUG [vcf_dm,69######################41,1b64] [c.v.e.s.c.h.i.HostPreparationServiceImpl,dm-exec-20] ESXi host esxhost3.example.com joined vSAN cluster 6139####-####-####-####-########6e4c. Result: true
ERROR [vcf_dm,69#####################2f,1241] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-24] [K####5] VSPHERE_HOSTS_CANNOT_BE_ADDED_TO_CLUSTER Hosts esxhost1.example.com, esxhost2.example.com cannot be added to the cluster domain-c######
com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: Hosts esxhost1.example.com, esxhost2.example.com cannot be added to the cluster domain-c######
Caused by: com.vmware.evo.sddc.common.core.error.InvalidStateException: Cannot skip 2 ESXi Host(s) ([esxhost1.example.com, esxhost2.example.com]) as only 1 ESXi host(s) would remain and the minimum is 3
WARN [vcf_dm,69#####################2f,1241] [c.v.v.v.c.h.i.HttpProtocolBindingBase,dm-exec-24] Asynchronous execution requested but no Executor configured. The request will be executed as synchronous one.
ERROR [vcf_dm,69#####################2f,1241] [c.v.e.s.c.c.v.vsphere.VcManagerBase,dm-exec-24] Task: (MOR:task-1######4) (Name:moveInto) Entity: (MOR:domain-c######) (Name:TEST-CLUSTER-01) is failed
com.vmware.vim.binding.vim.fault.VsanClusterUuidMismatch: The vSAN host cannot be moved to the destination cluster: vSAN cluster UUID mismatch (host: c443####-####-####-####-########83f5, destination: 6139####-####-####-####-########6e4c
WARN [vcf_dm,69#####################2f,1241] [c.v.v.v.c.h.i.HttpProtocolBindingBase,dm-exec-24] Asynchronous execution requested but no Executor configured. The request will be executed as synchronous one.
ERROR [vcf_dm,69#####################2f,1241] [c.v.e.s.c.c.v.vsphere.VcManagerBase,dm-exec-24] Task: (MOR:task-1######0) (Name:moveInto) Entity: (MOR:domain-c######) (Name:TEST-CLUSTER-01) is failed
com.vmware.vim.binding.vim.fault.VsanClusterUuidMismatch: The vSAN host cannot be moved to the destination cluster: vSAN cluster UUID mismatch (host: 7a76####-####-####-####-########42af, destination: 6139####-####-####-####-########6e4c).
The failure is caused by the target ESXi hosts still being members of a pre-existing or remnant vSAN cluster, leading to a vSAN Cluster UUID Mismatch when the VCF workflow attempts to move them into the new vSAN cluster.
The resolution involves manually leaving the remnant vSAN cluster on the affected ESXi hosts and removing all associated vSAN disk group metadata before retrying the VCF cluster creation task.
Steps to follow:
Perform the following steps on each of the failed ESXi hosts
esxcli vsan cluster get
esxcli vsan storage list | grep "VSAN UUID"
esxcli vsan storage remove -u <VSAN_UUID>
Can not remove last HDD. If this occurs, continue removing the other UUIDs first and then retry the remaining one(s).esxcli vsan cluster leave
esxcli vsan cluster get
The output should be: vSAN Clustering is not enabled on this host
The "Add ESXi Host to vSphere Cluster" task should now succeed as the hosts are no longer reporting a conflicting vSAN Cluster UUID.