Symptoms:
VMware vSphere ESXi 7.x / 8.x / 9.x
This behavior is typically caused by a synchronization failure between the ESXi host management daemons or stale/hung tasks remaining in the host's task manager.
root and attempt exiting maintenance mode.esxcli vsan cluster getesxcli system maintenanceMode set -e falseesxcli vsan maintenancemode cancelvsan.host_exit_evacuation/etc/init.d/vpxa restart/etc/init.d/hostd restart/etc/init.d/vsanmgmtd restartservices.sh restart command or Restart Management agents from the Direct Console User Interface (DCUI) for vSAN hosts!esxcli vsan cluster get command may return MaintenanceMode: OFF, but the ESXI host may be in matenance mode at the vSAN level. cmmds-tool find -t NODE_DECOM_STATE -f json "entries":
[
{
"uuid": "########-####-####-####-############",
"owner": "########-####-####-####-############",
"health": "healthy",
"revision": "6",
"type": "NODE_DECOM_STATE",
"flag": "0",
"md5sum": "941d5a542cf3e5f5b6f821f17b8c13c2",
"valueLen": "64",
"content": {"nodeDecomState": 6, "decomJobType": 0, "decomJobUuid": "########-####-####-####-############", "progress": 0, "affObjList": [ ], "errorCode": 0},
"errorStr": "(null)"
}