Blank provider listed for cluster when logged in as user who did not create cluster in Rancher v2.x
This document (000020212) is provided subject to the disclaimer at the end of this document.
Environment
- A Rancher v2.x launched Rancher Kubernetes Enginer (RKE) cluster, provisioned on nodes hosted in an infrastructure provider
- Access to the Rancher UI as a user different to the cluster creator
Situation
When viewing a Rancher launched Kubernetes cluster, provisioned on nodes hosted in an infrastructure provider, as a user other than the cluster creator, the infrastructure provider name is blank or shows as Imported.
Cause
Node templates contain the configuration parameters for provisioning nodes in a specific cloud provider.
Node templates are user-scoped and, as a result, where userA
creates a node template in Rancher it is not accessible by userB
.
Meanwhile, the Rancher v2.x UI determines the provider for a Rancher launched Kubernetes cluster by mapping nodes
to node templates
to node drivers
.
The user-scoping of node templates therefore prevents users, other than the creator, from viewing the provider of the cluster.
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:000020212
- Creation Date: 06-May-2021
- Modified Date:18-Nov-2024
-
- SUSE Rancher
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com