Description of problem: Cant create VM from preallocated DV Version-Release number of selected component (if applicable): CNV 4.8.0 How reproducible: 100% Steps to Reproduce: 1. Create and start VM from preallocated DV (manifest below) Actual results: VM not bootable Expected results: VM boots and is usable Additional info: If we don't use preallocation for the DV (drop the preallocation field), The operation succeeds. apiVersion: kubevirt.io/v1 kind: VirtualMachine metadata: labels: kubevirt.io/vm: vm-prealloc-datavolume name: vm-prealloc-datavolume spec: dataVolumeTemplates: - metadata: creationTimestamp: null name: prealloc-dv spec: preallocation: true pvc: accessModes: - ReadWriteOnce resources: requests: storage: 10Gi storageClassName: hostpath-provisioner source: http: url: http://<SERVER>/Fedora-Cloud-Base-32-1.6.x86_64.qcow2 running: true template: metadata: labels: kubevirt.io/vm: vm-prealloc-datavolume spec: domain: devices: disks: - disk: bus: virtio name: datavolumedisk1 - disk: bus: virtio name: cloudinitdisk machine: type: "" resources: requests: memory: 2Gi terminationGracePeriodSeconds: 0 volumes: - dataVolume: name: prealloc-dv name: datavolumedisk1 - cloudInitNoCloud: userData: |- #cloud-config password: fedora chpasswd: { expire: False } name: cloudinitdisk [akalenyu@localhost kubeconfigs_bm]$ oc exec cdi-apiserver-799f58948-h6wdc --namespace=openshift-cnv -- virt-cdi-apiserver --version Containerized Data Importer v1.32.0 HCO bundle hco-v4.8.0-217
Tomasz, do we have the PR, if so, could you link the PR and change the bug to POST status. Thanks.
@Alex, here is the clone bug for 4.8 https://bugzilla.redhat.com/show_bug.cgi?id=1953462
*** Bug 1953462 has been marked as a duplicate of this bug. ***
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 (OpenShift Virtualization 2.6.2 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:1502