Operation Timed out"/var/run/log/hostd.log reports migration start request timeouts:info hostd[####] [Originator@#### sub=Vmsvc.vm:/vmfs/volumes/<datastore-uuid>/<vm-name>/<vm-name>.vmx opID=lro-<opid>] VigorMigrateNotifyCb:: hostlog state changed from emigrating to failureinfo hostd[####] [Originator@#### sub=Vcsvc.VMotionSrc.######### opID=lro-<opid>] ResolveCb: VMX reports needsUnregister = false for migrateType MIGRATE_TYPE_VMOTIONinfo hostd[####] [Originator@#### sub=Vcsvc.VMotionSrc.######### opID=lro-<opid>] ResolveCb: Failed with fault: (vim.fault.GenericVmConfigFault) {--> faultMessage = (vmodl.LocalizableMessage) [--> (vmodl.LocalizableMessage) {--> key = "msg.migrate.expired",--> message = "Timed out waiting for migration start request.The destination ESXi host /var/run/log/vmkernel.log indicates a file lock on the .vmx file:cpu9:#### opID=<opid>)DLX: 2651: vol '<Datastore-name>', lock at ####: Lock type: 10C00001. owner(s) MAC: ##:##:##:##:##:##cpu9:#### opID=<opid>)[type 10c00001 offset 424550400 v 240, hb offset 3571712gen 51, mode 1, owner ########-########-####-############ mtime 4230711num 0 gblnum 0 gblgen 0 gblbrk 0] alloc owner 0cpu9:#### opID=<opid>)Fil3: 5037: Lock failed on file: <vm-name>.vmx on vol '<Datastore-name>' with FD: <FD c38 r65>
The destination ESXi host /var/run/log/hostd.log shows invalid state and timeout faults:warning hostd[####] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/<datastore-uuid>/<vm-name>/<vm-name>.vmx opID=<opid> user=vpxuser:<user-name>] GetWid: cancel failed: N3Vim5Fault12InvalidState9ExceptionE(Fault cause: vim.fault.InvalidStatewarning hostd[####] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/<datastore-uuid>/<vm-name>/<vm-name>.vmx opID=<opid> user=vpxuser:<user-name>] GetWid: Launch failed with fault: (vim.fault.Timedout) {--> msg = "",--> }error hostd[####] [Originator@6876 sub=Vcsvc.VMotionDst.########## opID=<opid> user=vpxuser:<user-name>] Initiate: Failed to get the WID
The virtual machine's /vmfs/volumes/<datastore-uuid>/<vm-name>/vmware.log file records the expired migration request:In(05) vmx - MigrateWriteHostLog: Writing to log file took 672230 us.In(05) vmx - MigrateSetStateFinished: type=1 new state=6In(05) vmx - MigrateSetState: Transitioning from state 1 to 6.No(00) vmx - ConfigDB: Setting config.readOnly = "FALSE"In(05) vmx - Migrate_SetFailureMsgList: switching to new log file.In(05) vmx - Migrate_SetFailureMsgList: Now in new log file.In(05) vmx - Migrate: Caching migration error message list:In(05) vmx - [msg.migrate.expired] Timed out waiting for migration start request.In(05) vmx - Migrate: cleaning up migration state.In(05) vmx - MigrateSetState: Transitioning from state 6 to 0.
VMware vSphere 7.x
A storage-level lock (ATS or SCSI-2) on the .vmx file is held or contested, which exceeds the 90-second timeout for migration start requests.
Follow the below steps to resolve the issue,
root.vim-cmd vmsvc/getallvmsvim-cmd vmsvc/power.off <ID>
If the Storage vMotion continues to fail, contact storage vendor to investigate potential VAAI/ATS issues on the underlying array.