YYYY-MM-DDTHH:MM:SS.MMMZ error vpxd[####] [Originator@6876 sub=VmProv opID=#######] Exception while executing action vpx.vmprov.CreateDestinationVm: N3Vim5Fault17InvalidDeviceSpec9ExceptionE(Fault cause: vim.fault.InvalidDeviceSpec
YYYY-MM-DDTHH:MM:SS.MMMZ Er(163) Hostd####]: [Originator@6876 sub=######.vmx opID=######## sid=####user=vpxuser:<no user>] Device spec doesn't match up with dvport/dvpg configuration
YYYY-MM-DDTHH:MM:SS.836Z error vpxd[####] [Originator@6876 sub=VmProv opID=#######] Get exception while executing action vpx.vmprov.CreateDestinationVm:
--> (vim.fault.InvalidDeviceSpec) {
--> property = "virtualDeviceSpec.device.backing",
--> deviceIndex = 118,
--> msg = "Invalid configuration for device 'XX'.",
This is default and expected behavior.
To workaround this behavior, the port reservation timeout needs to be extended to allow the migration to complete:
cp /etc/vmware-vpx/vpxd.cfg /etc/vmware-vpx/vpxd.cfg.bak
3. Add the following lines under the tab <vpxd>
:
<dvs>
<PortReserveTimeoutInMin>7200</PortReserveTimeoutInMin>
</dvs>
4. Restart the vpxd service: service-control --restart vmware-vpxd
5. Re-try the vMotion/Clone operation on the affected VMs.
6. Once the VMs have been migrated, revert the vpxd.cfg file back to its original form:
cp /etc/vmware-vpx/vpxd.cfg.bak /etc/vmware-vpx/vpxd.cfg
7. Restart the vpxd service: service-control --restart vmware-vpxd
Note: Value 7200
will extend port reservation timeout to 5 days (24*60*5=7200), and it should be enough to cover any time-demanding (slow/large VM (50TB+)) share-nothing vMotion/Clone.