"Failed to relocate virtual machine <VM Name>: Invalid configuration for device 'X'."
var/run/log/hostd.log of ESXI host show below error:YYYY-MM-DDTHH:MM:SS Er(163) Hostd[2099497]: [Originator@6876 sub=Hostsvc opID=m9iyf8gq-68829-auto-1h3y-h5:70015501-f2-01-9e-372d sid=523b580c user=vpxuser:VSPHERE.LOCAL\Administrator] Failed to search logical switch by switchId: xx xx xx xx xx xx xx xx-xx xx xx xx xx xx xx d4 portgroup: dvportgroup-1620 error: N3Vim5Fault8NotFound9ExceptionE(Fault cause: vim.fault.NotFound)
YYYY-MM-DDTHH:MM:SS In(166) Hostd[2099497]: [Originator@6876 sub=Hostsvc opID=m9iyf8gq-68829-auto-1h3y-h5:70015501-f2-01-9e-372d sid=523b580c user=vpxuser:VSPHERE.LOCAL\Administrator] Unable to look up dvs xx xx xx xx xx xx xx xx-xx xx xx xx xx xx xx
YYYY-MM-DDTHH:MM:SS Er(163) Hostd[2099497]: [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/xxxxxxx-xxxxxxx-xxxxxxx-xxxxxxx/xxxx-xxxx/xxxx-xxxx.vmx opID=m9iyf8gq-68829-auto-1h3y-h5:70015501-f2-01-9e-372d sid=523b580c user=vpxuser:VSPHERE.LOCAL\Administrator] Device spec doesn't match up with dvport/dvpg configuration
This issue may occur as port group VM is connected does not exist on destination host
2. If Step 1 doesn’t fix the issue, disconnect and reconnect the ESXi. Follow document Disconnecting and Reconnecting an ESXi Host
Or
1. Disconnect network adapter of the VM before vMotion from the source host and reconnect the new network adapter from the destination host on other cluster ( Validate the port group that is different from the other cluster)