When attempting to power on a virtual machine (VM), the operation fails, and the following error is logged in the hostd.log:
Deferring power op completion until VM is at a stable state
This behavior is frequently observed following migration operations (vMotion, Storage vMotion), Zerto replication failovers, or after an interrupted background task. The VM remains powered off and cannot be started through the vCenter UI.
vSphere ESX
This error indicates that the ESXi host, where the VM is registered, cannot establish a reliable state for the VM. This is typically caused by:
.lck files remaining in the VM's directory on the datastore, which the host interprets as the VM being active or locked by another process.cd /vmfs/volumes/<datastore_name>/<vm_name>.lck files: ls -lat *.lck.lck files exist, investigate which host or process might be holding them. If you are certain the VM is powered off and not running on any host, remove the lock files: rm *.lckvpxd service on the vCenter Server.If the error persists after clearing locks and tasks, re-registering the VM configuration can clear stale state information:
.vmx file, right-click it, and select Register VM.https://knowledge.broadcom.com/external/article/404366/vms-powered-off-with-error-ltvm-namegt-c.html