Created attachment 1585165 [details] Screenshot Description of problem: As a follow up to https://bugzilla.redhat.com/show_bug.cgi?id=1719134, Web-UI creates DataVolumeTemplates and DataVolumes with RWX accessMode. Since local storage doesn't support RXW accessMode, at this moment UI doesn't work with local storage at all. Storage of VMs created with VM Wizard will not be able to bind to local storage PVs, thus VMs end up in 'Importer Error' state and PVCs in 'Pending'. Version-Release number of selected component (if applicable): kubevirt-web-ui-container-v2.0.0-14.8 How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
The decision has been to do it like this for 2.0. I agree it is good to have this tracked, but targeting 2.1.
Fix: - https://github.com/openshift/console/pull/2200 - https://github.com/kubevirt/web-ui-components/pull/528
Verified that UI creates dataVolumes with accesMode that is defined in 'well-known' configMap kubevirt-storage-class-defaults in openshift namespace. Structure of the tested configMap: kind: ConfigMap apiVersion: v1 metadata: # well-known name name: kubevirt-storage-class-defaults namespace: openshift data: # The default if a StorageClass is not listed. # If these ultimate defaults are missing or the ConfigMap is inaccessible, these # defaults are hard-coded in the UI as well. accessMode: ReadWriteOnce volumeMode: Filesystem local-sc.accessMode: ReadWriteOnce local-sc.volumeMode: Filesystem nfs-sc.accessMode: ReadWriteMany nfs-sc.volumeMode: Filesystem Version: 4.2.0-0.nightly-2019-09-02-172410