After upgrading a vCenter Server Appliance (VCSA) to version 9.x (such as 9.0.2), user or group permissions configured on a Supervisor or Namespace in the vSphere Client fail to take effect. Specifically, you may observe the following symptoms:
1. User Interface (UI) Symptoms
- New users or groups added to the Permissions tab of a Supervisor or Namespace do not appear to have those permissions honored on the Supervisor.
- New users are unable to view, manage, or provision Kubernetes clusters on the namespaces they supposedly have access to.
- Accessing resources within a vSphere Namespace displays the following error message:
"Services are not available for this namespace. Try again later or check with your administrator."
2. Command Line Interface (CLI) Symptoms
- When authenticating and executing commands via the vcf or kubectl CLI tools, users receive a Forbidden or Permission denied error. For example:
- Error from server (Forbidden): nodes is forbidden: User "<username>" cannot list resource "nodes" in API group "" at the cluster scope
3. Log File Analysis
- In the Supervisor Authorization Service pod logs (supervisor-authz-service in the kube-system namespace), the following error is continuously logged, indicating that permission reconciliation has stalled:
Failed to get VC Config: Empty Supervisor Folder moIDset on WCP cluster configmap
4. Node configuration File Verification
- Running the following command to check the node configuration returns empty or yields no output:
grep 'SUPERVISOR_FOLDER_MOID' /var/lib/node.cfg