Blank provider listed for cluster when logged in as user who did not create cluster in Rancher v2.x

Follow
Table of Contents

Issue

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.

Screenshot of cluster list with blank provider name for one cluster

Pre-requisites

  • A Rancher v2.x launched Kubernetes cluster, provisioned on nodes hosted in an infrastructure provider
  • Access to the Rancher UI as a user different to the cluster creator

Root 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.

Resolution

An enhancement request to enable all users to view the cluster provider is tracked in Rancher GitHub Issue #12038.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.