/var/log/vmware/sso/vmware-identity-sts.logYYYY-MM-DDTHH:MM:SS.MSZ ERROR sts[46:tomcat-http--7] [CorId=####################################] [com.vmware.identity.idm.server.ServerUtils] Exception 'com.vmware.identity.idm.UserAccountLockedException: User account locked: {Name: wcp-storage-user-4ac####-####-####-####-########-########-####-####-####-######c3, Domain: vsphere.local}'com.vmware.identity.idm.UserAccountLockedException: User account locked: {Name: wcp-storage-user-4ac####-####-####-####-########-########-####-####-####-######c3, Domain: vsphere.local}YYYY-MM-DDTHH:MM:SS.MSZ INFO sts[46:tomcat-http--7] [CorId=####################################] [com.vmware.identity.sts.ws.SOAPFaultHandler] Returning a SOAP Fault with code: ns0:FailedAuthentication and description: The account of the user trying to authenticate is locked. :: The account of the user trying to authenticate is locked. :: User account locked: {Name: wcp-storage-user-4ac####-####-####-####-########-########-####-####-####-######c3, Domain: vsphere.local}VMware vSphere Kubernetes service
VMware vCenter server
The vsphere-csi-controller pod in crash loop backup holds a stale credential and is locking out the wcp-storage-user
Example output:
YYYY-MM-DDTHH:MM:SS INFO: VmDirGetAccountUPN success for AccountUPN (wcp-storage-user-4ac####-####-####-####-########-########-####-####-####-######[email protected])
/usr/lib/vmware-vmafd/bin/dir-cli user find-by-name --account wcp-storage-user-<ID> --level 2Example Output:
Enter password for [email protected]:
Account: wcp-storage-user-4ac####-####-####-####-########-########-####-####-####-######c3
UPN: wcp-storage-user-4ac####-####-####-####-########-########-####-####-####-######[email protected]
Account disabled: FALSE
Account locked: FALSE
Password never expires: FALSE
Password expired: FALSE
Password expiry: 89 day(s) 23 hour(s) 53 minute(s) 33 second(s)
kubectl delete pod <vmware-csi-controller-id> -n vmware-system-csi