When putting an ESXi host into maintenance mode from the vCenter console, it fails with the following message:
Failed to enter namespaces maintenance mode due to Error: com.vmware.vapi.std.errors.unauthenticated Messages: vapi.security.authentication.invalid<Unable to authenticate user>. Retry XX
vpxd.log:
2021-07-27T01:56:14.324Z error vpxd[57646] [Originator@6876 sub=MoHost opID=krlaondk-861-auto-ny-h5:70000172-1e] [Delete] Failed to delete vAPI session. Error:
--> Error:
--> com.vmware.vapi.std.errors.unauthenticated
--> Messages:
--> vapi.security.authentication.invalid<Unable to authenticate user>
2021-07-27T01:56:14.324Z warning vpxd[57646] [Originator@6876 sub=MoHost opID=krlaondk-861-auto-ny-h5:70000172-1e] [Close] Host 'localhost' Failed to delete Session: N3Vim5Fault12InvalidLogin9ExceptionE(Fault cause: vim.fault.InvalidLogin
[context]zKq7AVECAQAAAEcGEgEadnB4ZAAAUnE0bGlidm1hY29yZS5zbwAACaUpABGaKgAjZC8BD6ZfdnB4ZAABa3VtASTf0QHHzWMByKRfAUhMZQFaUGUBpPVnAVwJaAGRGGgCp7j2bGlidmltLXR5cGVzLnNvAIHZBCoBgXBdKAGBEpkoAYG7qCgBgVc0KAGBDgspAQDxQCAAAp0gACYANAOHfwBsaWJwdGhyZWFkLnNvLjAABL81D2xpYmMuc28uNgA=[/context]
2021-07-27T01:56:14.365Z warning vpxd[57646] [Originator@6876 sub=MoHost opID=krlaondk-861-auto-ny-h5:70000172-1e] [Invoke] Host 'localhost' Failed to acquire Session: N3Vim5Fault12InvalidLogin9ExceptionE(Fault cause: vim.fault.InvalidLogin
[context]zKq7AVECAQAAAEcGEgEZdnB4ZAAAUnE0bGlidm1hY29yZS5zbwAACaUpABGaKgAjZC8BD6ZfdnB4ZAABa3VtAQPi0QGORmUBVEtlAVpQZQGk9WcBXAloAZEYaAKnuPZsaWJ2aW0tdHlwZXMuc28AgdkEKgGBcF0oAYESmSgBgbuoKAGBVzQoAYEOCykBAPFAIAACnSAAJgA0A4d/AGxpYnB0aHJlYWQuc28uMAAEvzUPbGliYy5zby42AA==[/context]
2021-07-27T01:56:14.370Z info vpxd[57646] [Originator@6876 sub=MoHost opID=krlaondk-861-auto-ny-h5:70000172-1e] WCP enterMaintenanceMode vAPI returns error: Error:
--> com.vmware.vapi.std.errors.unauthenticated
--> Messages:
--> vapi.security.authentication.invalid<Unable to authenticate user>
2021-07-27T01:56:14.370Z info vpxd[57646] [Originator@6876 sub=MoHost opID=krlaondk-861-auto-ny-h5:70000172-1e] Waiting 60 secs then invoke WCP enterMaintenanceMode vAPI
1. Take Offline snapshots for all vCenter's in ELM
Note: If it is a standalone vCenter, you may take a powered-on snapshot.
2. List all registered services: