Description of problem: Cant preallocate blank block DV Version-Release number of selected component (if applicable): CNV 2.6.0 How reproducible: 100% Steps to Reproduce: 1. Create a blank block DV with preallocated: true Actual results: cdi.kubevirt.io/storage.preallocation is not present on PVC Expected results: cdi.kubevirt.io/storage.preallocation annotation on PVC should be "true"(preallocation occurred) Additional info: Comment #1 [cnv-qe-jenkins@stg01-alex-rjlb7-executor prealloc-block-volmode-bugs]$ cat blank_block_dv.yaml --- apiVersion: cdi.kubevirt.io/v1beta1 kind: DataVolume metadata: name: cnv-5737 spec: source: blank: {} pvc: accessModes: - ReadWriteMany resources: requests: storage: 100Mi storageClassName: ocs-storagecluster-ceph-rbd volumeMode: Block preallocation: true
Moving to POST since the cherrypick PR #1664 is posted and awaiting merge.
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 (CNV 2.6.1 Images), 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/RHEA-2021:1126