VMware ESXi 7.x
VMware ESXi 8.x
VMware vCenter Server 7.x
VMware vCenter Server 8.x
This issue is caused due to mismatch in the VMID mapping between VPXD service on vCenter Server and VPXA service on the ESXi host.
When VPXA service gets restarted on the host, the VMIDs maintained by the VPXD VM objects become incorrect. To address this discrepancy, the very first host-sync after vpxa restart will be a "full" host-sync that will force re-linking of vpxd VM's to new VMId's in vpxa.
However, there is a small time window (usually few seconds), between when vpxa becomes available after vpxa restart and before the very first host-sync has completed, when a VM operation initiated by vpxd in that window will use "wrong" vpxa vmid and therefore will target a "wrong" VM in vpxa for any of the VM level operations.
This is a known issue with vSphere 7.x and 8.x. Currently there is no resolution. Broadcom Engineering team is working on a fix which will be included in a future major release.