Bug 1928719 - Cant preallocate blank block DV
Summary: Cant preallocate blank block DV
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Storage
Version: 2.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 2.6.1
Assignee: Tomasz Barański
QA Contact: Alex Kalenyuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-15 12:47 UTC by Alex Kalenyuk
Modified: 2021-04-07 08:46 UTC (History)
5 users (show)

Fixed In Version: virt-cdi-importer v2.6.1-2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-07 08:46:03 UTC
Target Upstream Version:
Embargoed:
tbaransk: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt containerized-data-importer pull 1559 0 None closed core: Preallocate blank block volumes 2021-02-18 21:17:30 UTC
Github kubevirt containerized-data-importer pull 1664 0 None closed [release-v1.28] Preallocate blank block volumes (#1559) 2021-03-16 10:33:44 UTC
Red Hat Product Errata RHEA-2021:1126 0 None None None 2021-04-07 08:46:14 UTC

Description Alex Kalenyuk 2021-02-15 12:47:19 UTC
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

Comment 3 Adam Litke 2021-02-18 21:17:30 UTC
Moving to POST since the cherrypick PR #1664 is posted and awaiting merge.

Comment 9 errata-xmlrpc 2021-04-07 08:46:03 UTC
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


Note You need to log in before you can comment on or make changes to this bug.