Description of problem: VM created via customize wizard cannot inherit template's PVC attributes. Version-Release number of selected component (if applicable): OCP 4.7 How reproducible: 100% Steps to Reproduce: 1. Add boot source for a template (with SC=ocs-storagecluster-ceph-rbd accessMode=ReadWriteMany volumeMode=Block) 2. Create vm1 from this template via default wizard by using default settings. 3. Create vm2 from this template via customize wizard by using default settings. Actual results: VM1's PVC attributes are same with template's PVC. VM2's PVC attributes are different, it is SC=standard accessMode=ReadWriteOnce volumeMode=Block Expected results: VM2 PVC has the same attributes with the template's PVC. Additional info:
Note: UI should always override the target dataVolume's SC, accessMode and volumeMode https://bugzilla.redhat.com/show_bug.cgi?id=1918294#c8
Created attachment 1750873 [details] template pvc yaml
Created attachment 1750874 [details] template yaml
Created attachment 1750875 [details] vm yaml which don't have template PVC's attributes
verified on master
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633