+++ This bug was initially created as a clone of Bug #1991460 +++ Description of problem: The creation of a virtual machine fails while setting it up with an error message like ~~~ "component":"virt-handler","kind":"","level":"error","msg":"Synchronizing the VirtualMachineInstance failed.","name":"rhel8-unwilling-hamster","namespace":"openshift-cnv","pos":"vm.go:1538","reason":"server error. command SyncVMI failed: \"LibvirtError(Code=1, Domain=10, Message='internal error: qemu unexpectedly closed the monitor: 2021-07-15T21:00:48.315305Z qemu-kvm: -device virtio-blk-pci-non-transitional,bus=pci.5,addr=0x0,drive=libvirt-1-format,id=ua-cloudinitdisk,write-cache=on: Cannot get 'write' permission without 'resize': Image size is not a multiple of request alignment') ~~~ If cloud-init is disabled for the virtual machines it works. The customer is using block-storage with a blocksize of 4k. This bug is related to: https://bugzilla.redhat.com/show_bug.cgi?id=1976730. As discussed in the case I open this bug-report. If cloud-init is disabled the provisioning of the vm works. How reproducible: In every cluster using block-storage with 4k block size. Steps to Reproduce: 1. Install OCP cluster 2. Set up storage provider with 4k block-size 3. deploy virtual machine with cloud-init enabled Actual results: * Provisioning of the virtual machine fails Expected results: * Provisioning succeeds Additional info: --- Additional comment from Kobig on 2021-08-16 09:10:30 UTC --- Hi, Do we know to which version the fix for this bug is aimed for? and if its not for 4.7 can we please backport it? Thank you
Alexander, assigning to you since you worked on a related issue in CDI. Could you help with the cherry-pick of https://github.com/kubevirt/kubevirt/pull/5806 to release-0.36?
PR is posted.
Test on latest CNV v2.6.7 according to the steps in https://bugzilla.redhat.com/show_bug.cgi?id=1991460#c5 Issue has been fixed, moving to verified.
According to the comment 3, close the bug as current release.