The cluster deployment process in VMware Cloud Foundation 9.1 may fail during the network migration phase when attempting to migrate the management VMkernel adapter (vmk0) from a vSphere Standard Switch (vSS) to a vSphere Distributed Switch (vDS). This article outlines the diagnostic steps and remediation required to resolve this configuration failure.
Failed to configure Vswitch to DVS vmknic migration on Host.
/var/log/vmware/vcf/domainmanager/domainmanager.log indicates:ERROR [vcf_dm,69####################] [c.v.e.s.c.c.v.vsphere.VcManagerBase,dm-exec-18] Unable to migrate vmknic vmk0 -- retrying 1 com.vmware.vim.binding.vmodl.fault.HostCommunication: An error occurred while communicating with the remote host.[vob.net.gateway.set.failed] Cannot connect to the specified gateway ####.VMware Cloud Foundation 5.x
VMware Cloud Foundation 9.x
To resolve this issue, perform the following environmental validations:
If the steps above do not resolve the issue, then it is recommended to Deploy new cluster and ensure that the management network VLAN configuration is correctly defined during cluster creation.
This approach ensures that:
As part of deploying a new cluster, additional host cleanup may be needed. See ESXi host removal from VCF SDDC Manager fails due to database mismatch