-
Bug
-
Resolution: Done-Errata
-
Blocker
-
CNV v4.14.0
-
None
This is a clone of issue CNV-35122. The following is the description of the original issue:
—
Description of problem:
In 4.14.0, in order to create a VM from the template catalog UI, a ConfigMap named "kubevirt-user-settings" in the default namespace should exist. If it's not found, the intention was that the UI tries to create it, if the user is a cluster-admin. The problem is, the user can be a cluster-admin through IdP (Identity Provider), not necessarily the user is the kubeadmin itself (it's not recommended to use this user in production clusters). When the kubeadmin user is logged in, the ConfigMap is created. But not if the logged in user is a cluster-admin that has been authorized by IDP Oauth.
Version-Release number of selected component (if applicable):
4.14.0
How reproducible:
100%
Steps to Reproduce:
1. Start with a cluster with an identity provider and log in with a user who has a cluster-admin permissions. 2. Have CNV 4.13 on the cluster. 3. Upgrade it to 4.14.0 from production (redhat-operators) 4. Try to create a VM from templates catalog
Actual results:
The modal loading is stuck, VM can't be created.
Expected results:
The modal has been completely loaded, and buttons to create the VirtualMachine are available.
Additional info:
- clones
-
CNV-35122 Can't create VMs from template catalog after upgrade to CNV 4.14.0 (IDP Auth)
-
- Closed
-
- is blocked by
-
CNV-35122 Can't create VMs from template catalog after upgrade to CNV 4.14.0 (IDP Auth)
-
- Closed
-
- is related to
-
CNV-38284 UI settings should not be stored in default namespace
-
- Closed
-
- links to
-
RHEA-2024:127487 OpenShift Virtualization 4.14.4 Images
- mentioned on
(1 mentioned on)