After Rancher 2.6.x upgrade, HTTP 403 Errors in Rancher UI
This document (000020710) is provided subject to the disclaimer at the end of this document.
Environment
- Shell execution
- Yaml editing
Situation
Rancher Trace log:
User-system-serviceaccount-cattle-impersonation-system-cattle-impersonation-u-vnds56pccy-cannot-impersonate-resource-users-in-API-group-at-the-cluster-scope-due-to-missing-clusterrolebinding
Resolution
## Clusterroles of the user $ kubectl get clusterrole | grep u-b3l74guter ## Clusterrolebindings of the user $ kubectl get clusterrolebinding | grep u-b3l74guter
2. From the previous output, the expected Clusterrole cattle-impersonation-u-xxxxxxxx is present, but the Clusterrolebinding is absent.
3. Delete the cattle-impersonation-user-xxxx Clusterrole of the user
$ kubectl delete clusterrole cattle-impersonation-u-b3l74guter4. Trigger the recreation of the Clusterrole and Clusterrolebinding by browsing to a Rancher feature.
e.g: open a Monitoring link in the cluster
This action triggered the recreation of the Clusterrole and Clusterrolebinding
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020710
- Creation Date: 26-Jul-2022
- Modified Date:31-Aug-2022
-
- SUSE Rancher
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com