"Failed to relocate virtual machine <VM Name>: Invalid configuration for device '12'."
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
vSphere 7.0
vSphere 8.0
This issue may occur as port group VM is connected does not exist on destination host
This issue occurs as invalid port group is selected for one of the network cards in the virtual machine.
To resolve this issue,
1. Change the VM's port group to one that is available on both the source and destination hosts.
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)