-
Bug
-
Resolution: Unresolved
-
Minor
-
CNV v4.17.2
-
0.42
-
False
-
-
False
-
CNV v4.18.0.rhel9-788
-
---
-
---
-
-
None
Description of problem:
If the storage profile of the default storage class don't have a claimPropertySets configured or bedefault the web ui pvc upload form crash
Version-Release number of selected component (if applicable):
4.17.2
How reproducible:
Create storage class for example: apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: labels: template: nfs-client-provisioner name: managed-nfs-storage parameters: archiveOnDelete: "false" provisioner: redhat-emea-ssa-team/hetzner-ocp4 reclaimPolicy: Delete volumeBindingMode: Immediate Resulting StorageProfile looks like: oc get storageprofile managed-nfs-storage -oyaml apiVersion: cdi.kubevirt.io/v1beta1 kind: StorageProfile metadata: creationTimestamp: "2024-12-19T10:00:25Z" generation: 1 labels: app: containerized-data-importer app.kubernetes.io/component: storage app.kubernetes.io/managed-by: cdi-controller app.kubernetes.io/part-of: hyperconverged-cluster app.kubernetes.io/version: 4.17.2 cdi.kubevirt.io: "" name: managed-nfs-storage ownerReferences: - apiVersion: cdi.kubevirt.io/v1beta1 blockOwnerDeletion: true controller: true kind: CDI name: cdi-kubevirt-hyperconverged uid: 61718796-34a8-4825-a96a-51f0a84a59f5 resourceVersion: "23812870" uid: c4d64079-f019-4664-981c-612a82c39514 spec: {} status: cloneStrategy: copy dataImportCronSourceFormat: pvc provisioner: redhat-emea-ssa-team/hetzner-ocp4 storageClass: managed-nfs-storage
Steps to Reproduce:
1. Create default storage class as describe above 2. Go to OpenShift console -> PVC -> Create -> With data upload form 3.
Actual results:
Web UI Stack trace: TypeError: Cannot read properties of undefined (reading '0') at https://console-openshift-console.apps.ocp1.stormshift.coe.muc.redhat.com/api/plugins/kubevirt-plugin/exposed-UploadPVC-chunk-17cdb556814a1a3fc0bc.min.js:2:27592 at ju (https://console-openshift-console.apps.ocp1.stormshift.coe.muc.redhat.com/static/vendors~main-chunk-7c8606eba81f32504aca.min.js:117:104246) at t.unstable_runWithPriority (https://console-openshift-console.apps.ocp1.stormshift.coe.muc.redhat.com/static/vendors~main-chunk-7c8606eba81f32504aca.min.js:125:3768) at Ui (https://console-openshift-console.apps.ocp1.stormshift.coe.muc.redhat.com/static/vendors~main-chunk-7c8606eba81f32504aca.min.js:117:44551) at Eu (https://console-openshift-console.apps.ocp1.stormshift.coe.muc.redhat.com/static/vendors~main-chunk-7c8606eba81f32504aca.min.js:117:103709) at hu (https://console-openshift-console.apps.ocp1.stormshift.coe.muc.redhat.com/static/vendors~main-chunk-7c8606eba81f32504aca.min.js:117:95010) at https://console-openshift-console.apps.ocp1.stormshift.coe.muc.redhat.com/static/vendors~main-chunk-7c8606eba81f32504aca.min.js:117:44774 at t.unstable_runWithPriority (https://console-openshift-console.apps.ocp1.stormshift.coe.muc.redhat.com/static/vendors~main-chunk-7c8606eba81f32504aca.min.js:125:3768) at Ui (https://console-openshift-console.apps.ocp1.stormshift.coe.muc.redhat.com/static/vendors~main-chunk-7c8606eba81f32504aca.min.js:117:44551) at qi (https://console-openshift-console.apps.ocp1.stormshift.coe.muc.redhat.com/static/vendors~main-chunk-7c8606eba81f32504aca.min.js:117:44719)
Expected results:
Upload form appear
Additional info:
If I'm adding claimPropertySets: - accessModes: - ReadWriteMany volumeMode: Filesystem to the storage profile the upload form works.
- links to
-
RHEA-2025:145122 OpenShift Virtualization 4.19.0 Images
- mentioned on