vmware esx cannot synchronize host "incorrect username and password"
Cannot synchronize host : Cannot complete login due to an incorrect user name or password
[YYYY-MM-DDTHH:MM:SS] F6E73B90 verbose 'App' opID=task-internal-349047-7f8a0b5a] [VpxVmomi] Invoke error: vpxapi.VpxaService.login session: Throw: vim.fault.InvalidLogin
[YYYY-MM-DDTHH:MM:SS] F6E73B90 verbose 'SoapAdapter.HTTPService' opID=task-internal-] User agent is 'VMware-client/4.1.0'
[YYYY-MM-DDTHH:MM:SS] F6E73B90 verbose 'SoapAdapter.HTTPService' opID=task-internal-] HTTP Response: Client: NeedsContentLength: false Under standsChunking: true CanKeepAlive: true (PresetContentLength -1)
[YYYY-MM-DDTHH:MM:SS] F6E73B90 verbose 'SoapAdapter.HTTPService' opID=task-internal-] HTTP Response: Complete (processed 585 bytes)
[YYYY-MM-DDTHH:MM:SS] F6E73B90 info 'App' opID=task-internal-] [VpxLRO] -- FINISH task-internal-349047 -- -- vpxapi.VpxaService.login -- 52
[YYYY-MM-DDTHH:MM:SS] F6E73B90 info 'App' opID=task-internal-] [VpxLRO] -- ERROR task-internal-349047 -- -- vpxapi.VpxaService.login: vim.f ault.InvalidLogin: Result: (vim.fault.InvalidLogin) { dynamicType = , faultCause = (vmodl.MethodFault) null, msg = "Cannot complete login due to an incorrect user name or password.", } Args: Arg userName: "vpxuser" Arg password: (not shown) Arg soapPort: 443 Arg hostIp: "host_IP"
[YYYY-MM-DDTHH:MM:SS] F6DF1B90 verbose 'App'] CloseSession called for session id
[YYYY-MM-DDTHH:MM:SS] F6E73B90 verbose 'SoapAdapter.HTTPService'] User agent is 'VMware-client/4.1.0' [YYYY-MM-DDTHH:MM:SS] F6E73B90 verbose 'SoapAdapter.HTTPService'] HTTP Response: Client: NeedsContentLength: false UnderstandsChunking: true CanKeepAlive: true (PresetContentLength -1)'
The issue occurs when the vpxuser
password is out of sync with the vCenter Server database and the password on the host or the password is manually modified. The vpxuser
account is created by vCenter Server when adding an ESX host. VMware does not recommend modifying the vpxuser
account.