From vCenter Server, below issues are reported:
From vmkernel.log, below errors are seen:
vmkernel.log:YYYY-MM-DD:HH:MM.SS info hostd[#######] [Originator@#### sub=Hostsvc.ModeMgr opID=#####-##-###### user=vpxuser:domain-name.username] Host mode transition blocked by: VSAN op started by task 'haTask-ha-host-vim.HostSystem.enterMaintenanceMode'YYYY-MM-DD:HH:MM.SS info hostd[#######] [Originator@#### sub=Hostsvc.ModeMgr opID=#####-##-###### user=vpxuser:domain-name.username] Host mode transition blocked by: NFC server session '################'YYYY-MM-DD:HH:MM.SS info hostd[#######] [Originator@#### sub=Hostsvc.ModeMgr opID=#####-##-####### user=vpxuser:domain-name.username] Host mode transition blocked by: NFC server session '################'
Below command shows multiple read-only locked ctk files in vm folder: # for file in *; do echo ${file}; vmfsfilelockinfo -p ${file} |grep -i mode; done
"vm-name-ctk.vmdk" is locked in Read-Only mode by host having mac address ['##:##:##:##:##:##']Host owning the lock on file is host-name, lockMode : Read-Only"vm-name_1-ctk.vmdk" is locked in Read-Only mode by host having mac address ['##:##:##:##:##:##']Host owning the lock on file is host-name, lockMode : Read-Only"vmware.log" is locked in Exclusive mode by host having mac address ['##:##:##:##:##:##']Host owning the lock on file is host-name, lockMode : Exclusive
VMware vCenter Server 7.x
VMware vCenter Server 8.x
VMware ESXi Host 7.x
VMware ESXi Host 8.x
The third party tool is holding NFC lock on the host which is causing disk related task failures:
[root@host-name] esxcli network ip connection list | grep 902tcp 0 0 host-ip:port <third-party-tool-ip>:port ESTABLISHED newreno busyboxtcp 0 0 host-ip:port <third-party-tool-ip>:port ESTABLISHED newreno busyboxtcp 0 0 [::]:902 [::]:0 LISTEN newreno busyboxtcp 0 0 0.0.0.0:902 0.0.0.0:0 LISTEN newreno busybox
Note down the "third-party-tool-ip" from the above command output.
Engage or request customer to engage the respective third party vendor to release the NFC lock on port 902.
Once locks are released, from vCenter you notice that all the hung tasks on ESXi host and virtual machines will resume back and completes successfully.
The virtual machine consolidation also completes without any issues.