Created attachment 1720895 [details] 2020-10-12 14-11-43 Description of problem: When creating a pvc from web-console, in the config page, there is no spec.volumeMode to specify, also there is no this parameter when click "Edit YAML" page. This is an important parameter if user need a block volume (default value is "Filesystem"), and now it is no friendly to user. Please add this in pvc creation, we can use "Filesystem" as default value. Version-Release number of selected component (if applicable): 4.6.0-0.nightly-2020-10-10-041109 How reproducible: Always Steps to Reproduce: See attachment Actual results: There is no spec.volumeMode to specify when creating pvc from web-console Expected results: The volumeMode could be specified when creating pvc from web-console
Created attachment 1720898 [details] volumeMode
1. on Create Persistent Volume Claim page, we can see `Volume Mode` selection with values `Filesystem` and `Block` 2. in the default PVC YAML, we now show 'volumeMode' fields with default value 'Filesystem' apiVersion: v1 kind: PersistentVolumeClaim metadata: name: example namespace: yapei47 spec: accessModes: - ReadWriteOnce volumeMode: Filesystem resources: requests: storage: 1Gi This is checked against 4.7.0-0.nightly-2020-10-21-001511, moving to VERIFIED
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