When attempting to add an ESXi host to a new cluster where vSAN is disabled, the operation fails with the following error:
Error: The vSAN host cannot be moved to the destination cluster: destination cluster is Virtual SAN disabled.
This typically occurs in the following scenarios:
VMware vSphere 7.x
VMware vSphere 8.x
This issue occurs because stale or incomplete vSAN cluster configuration data remains on the ESXi host, even though it is no longer part of an active vSAN cluster.
Warning: Ensure that the VSAN data on the host is decommissioned or unneeded before proceeding, this will result in data loss on the datastore
esxcli vsan cluster get esxcli vsan cluster leave