VM creation FAILED with the following message in the log

Thu Aug 18 05:37:27 2016 [Z0][VMM][I]: 2016-08-18T03:37:28.833395Z kvm: -drive file=/var/lib/one//datastores/0/712/disk.0,if=none,id=drive-virtio-disk0,format=qcow2,cache=unsafe: 'drive-virtio-disk0' uses a qcow2 feature which is not supported by this qemu version: QCOW version 3
Thu Aug 18 05:37:27 2016 [Z0][VMM][I]: 2016-08-18T03:37:28.833492Z kvm: -drive file=/var/lib/one//datastores/0/712/disk.0,if=none,id=drive-virtio-disk0,format=qcow2,cache=unsafe: could not open disk image /var/lib/one//datastores/0/712/disk.0: Operation not supported
Thu Aug 18 05:37:27 2016 [Z0][VMM][I]: 
Thu Aug 18 05:37:27 2016 [Z0][VMM][E]: Could not create domain from /var/lib/one//datastores/0/712/deployment.0
Thu Aug 18 05:37:27 2016 [Z0][VMM][I]: ExitCode: 255
Thu Aug 18 05:37:27 2016 [Z0][VMM][I]: Failed to execute virtualization driver operation: deploy.
Thu Aug 18 05:37:27 2016 [Z0][VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/712/deployment.0
Thu Aug 18 05:37:27 2016 [Z0][DiM][I]: New VM state is FAILED

 

 

[root@node00 ~]# cp /var/lib/one//datastores/1/a00c8a823e8efb7c7fbe32a3c3d56539 /dev/shm ; 
[root@node00 ~]# qemu-img convert -f qcow2 -O qcow2 -o compat=0.10 /dev/shm/a00c8a823e8efb7c7fbe32a3c3d56539 /var/lib/one//datastores/1/a00c8a823e8efb7c7fbe32a3c3d56539 

 

 

qemu-img convert -f qcow2 -O qcow2 -o compat=0.10 $ORIGPATH $NEWPATH

 

 

 

References:

http://blog.wikichoon.com/2014/12/virt-manager-10-creates-qcow2-images.html

  • No labels