Administrators are unable to place an ESXi host into maintenance mode via the vSphere UI. The following error is observed in the interface:
"The operation is not allowed in the current state. Host cannot enter maintenance mode due to host latch failure."
vCenter Server 8.x
VMware ESXi 8.x
The Workload Control Plane (wcp) service on the vCenter Server is in a stopped state, which prevents the host maintenance mode task from completing.
Log in to the vCenter Server Appliance via SSH using the root account.
Verify the status of the Workload Control Plane service by running the following command: service-control --status wcp
If the service is stopped, start the Workload Control Plane service by running the following command: service-control --start wcp
Return to the vSphere UI and attempt to place the ESXi host into maintenance mode again.