-
Bug
-
Resolution: Done-Errata
-
Blocker
-
CNV v4.14.0
-
None
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:
- blocks
-
CNV-35592 Can't create VMs from template catalog after upgrade to CNV 4.14.0 (IDP Auth)
-
- Closed
-
- is cloned by
-
CNV-35592 Can't create VMs from template catalog after upgrade to CNV 4.14.0 (IDP Auth)
-
- Closed
-
- links to
-
RHEA-2023:116760 OpenShift Virtualization 4.15.0 Images
- mentioned on
(3 mentioned on)