vSphere UI shows failed login attempts on Supervisor cluster level
wcp-storage-user-############@vsphere.localDescription:Cannot login wcp-storage-user-############@vsphere.local@############Event Type Description:A user attempted to log in with an unknown or invalid usernamePossible Causes:The username is unknown to the system Action: If you are using Active Directory, check the health of the domain controllerThe user provided an invalid password Action: Supply the correct passwordRelated events:There are no related events.
vCenter logs confirm the problem
vpxd.log
ERROR vpxd 3621184 [vc@4413 sub="User" opID="############"] Failed to authenticate user <wcp-storage-user-############@vsphere.local>
vSphere 8.x, VCF 9.x
Password is not in sync for wcp-storage-user
The issue will be fixed in a future release
Workaround:
1) Login to the Supervisor via ssh and get the number of current replicasets
kubectl get all -n vmware-system-csi | grep replicaset
2) Scale down the CSI controller
kubectl -n vmware-system-csi scale deploy vsphere-csi-controller --replicas=0
3) Login to vCenter via ssh and restart wcp service
service-control --restart wcp
4) Login to the Supervisor again and restart the CSI controller
kubectl -n vmware-system-csi scale deploy vsphere-csi-controller --replicas=<number of replicas from step 1>