var/log/vmware/vpxd/vpxd.*log):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)
var/run/log/hostd.log):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
var/log/vmware/vpxd/vpxd.*log):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 '##'.",
Failed to get DVS state in the restore phase from the source host <#.#.#.#>VMware vCenter Server 8.x
VMware vCenter Server 7.x
To resolve this expected behavior, extend the port reservation timeout value on both the source and destination vCenter Servers to allow the migration to complete successfully.
cp /etc/vmware-vpx/vpxd.cfg /etc/vmware-vpx/vpxd.cfg.bak
3. Insert the timeout parameter within the <vpxd> tags:
<dvs>
<vnicportbackings> <PortReserveTimeoutInMin>7200</PortReserveTimeoutInMin>
</vnicportbackings>
</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 Virtual Machines have been migrated, revert the vpxd.cfg file back to its original state:
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+) Shared-nothing vMotion/Clone.
Questions:
Can ports be retained dynamically until task completion without config changes?
Has this been addressed or changed in a later build?
Is there any way to have the DVS created for the migration task remain in place until the task completes no matter how long that takes, instead of needing to add the timeout entry and value into the vpxd config file?
Answers:
No. The platform architecture enforces a strict Time-To-Live (TTL) timer on all reserved ports to prevent permanent network resource leaks if a task or system crashes mid-operation. The vMotion framework cannot lock an idle port indefinitely because doing so violates the fundamental design principle of resource responsibility. Allowing open-ended idle locking introduces the risk of resource starvation, where orphaned or stalled tasks could permanently hoard virtual switch ports and exhaust cluster capacity.
No. This behavior is an intentional resource-protection design rather than a software defect. The default reservation threshold remains 24 hours in the main branch to ensure inactive allocations are automatically reclaimed.
No. The process is not designed for this.