The ESXi Host is unable to exit Maintenance Mode as the task is stuck.
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
Determine if the ESXi host is currently in maintenance mode:
To exit from a hung maintenance mode, try one of these 4 options:
root
user and select exit maintenance mode.If ESXI is part of vSAN Cluster and vSAN health check reports host is in maintenance mode, we recommend to engage Broadcom Technical Support, however you can try steps below to exit host from maintenance mode:
esxcli system maintenanceMode set -e false
vsan.host_exit_evacuation
esxcli vsan maintenancemode cancel
/etc/init.d/vpxa restart
/etc/init.d/hostd restart
/etc/init.d/vsanmgmtd restart