When attempting to place an ESXi host into maintenance mode, the task becomes stuck at 2% and the following symptoms are observed:
"Enter maintenance mode","","2%","Failed to enter namespaces maintenance mode due to Error: system_error Messages: vapi.send.failed<Send of frame failed: N7Vmacore15SystemExceptionE(Connection refused: The remote service is not running, OR is overloaded, OR a firewall is rejecting connections.)"Error executing start on service wcp. Details { "detail": [ { "id": "install.ciscommon.service.failstart", "translatable": "An error occurred while starting service '%(0)s'", "args": [ "wcp" ], "localized": "An error occurred while starting service 'wcp'"YYYY-MM-DDThh:mm:ss error vpxd[#####] [Originator@6876 sub=MoHost opID=#####] WCP enterMaintenanceMode vAPI returns error: Error:--> system_error--> Messages:--> vapi.send.failed<Send of frame failed: N7Vmacore15SystemExceptionE(Connection refused: The remote service is not running, OR is overloaded, OR a firewall is rejecting connections.)YYYY-MM-DDThh:mm:ss info vmon[#####]: <wcp> Service state changed to STARTINGYYYY-MM-DDThh:mm:ss error vmon[#####]: <wcp> Start control script exited with code 1YYYY-MM-DDThh:mm:ss error vmon[#####]: <wcp> Service pre-start failed.YYYY-MM-DDThh:mm err vmdird t@140620962187008: SASLSessionStep: sasl error (-13) (SASL(-13): authentication failure: client evidence does not match what we calculated. Probably a password error)YYYY-MM-DDThh:mm err vmdird t@#####: VmDirSendLdapResult: Request (Bind), Error (LDAP_INVALID_CREDENTIALS (49)), Message ((49)(SASL step failed.)), (0) socket (127.0.0.1)YYYY-MM-DDThh:mm err vmdird t@#####: Bind Request Failed (127.0.0.1) error 49: Protocol version: 3, Bind DN: "cn=[HOSTNAME], ou=Domain Controllers, dc=vsphere, dc=local", Method: SASL/opt/likewise/bin/lwregshell list_values '[HKEY_THIS_MACHINE\services\vmdir]' | egrep -i "Password|dcAccountDN"+ "dcAccountDN" REG_SZ "cn=<VC_FQDN>,ou=Domain Controllers,dc=vsphere,dc=local"+ "dcAccountOldPassword" REG_SZ "####################"+ "dcAccountPassword" REG_SZ "######################"VMware vCenter Server
VMware vSphere ESXi
The vCenter Server machine account password exceeds the supported limit of 20 characters. This discrepancy typically occurs following a password policy update, leading to a mismatch between the stored credentials in the VMDIRD database and the password used by vCenter services. Consequently, the wcp service fails to authenticate and remains offline, which blocks ESXi hosts from entering maintenance mode.
A valid snapshot of the vCenter Server is required before proceeding. For best practice refer: Snapshot Best practices for vCenter Server Virtual Machines
To resolve this issue, revert the SSO password policy to a supported length and synchronize the machine account credentials.
cd /tmp chmod +x reset_machine_pw.sh./reset_machine_pw.shservice-control --stop --all && service-control --start --allservice-control --status --all