When you attempt to put the last ESXi host in a cluster into maintenance mode, vCLS normally stops automatically—allowing the host to enter maintenance mode. However, if the ESXi host you’re targeting is also running the vCenter Server VM and the vCenter Server service is shut down before the vCLS agents, the vCLS VMs will remain running and the host will fail to enter maintenance mode.
VMware vCenter Server 7.0.x
VMware vCenter Server 8.0.x
vSphere Cluster Services (vCLS) are managed by vCenter Server and run on each host in a cluster. If vCenter Server is offline or has been powered off before the vCLS VMs receive their stop commands, those VMs stay active and block the host from entering maintenance mode.
Shut down all virtual machines on the ESXi host except the vCenter Server VM and the vCLS VMs.
Before entering maintenance mode on the last ESXi host in the cluster, put the cluster into Retreat Mode to delete the vCLS VMs.
In the Host Client, place the ESXi host into Maintenance Mode.