qemu-img will fail to convert images in 2.3.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello guys,
There seems to be a bug in qemu-img with 2.3.0 that wasn't there in 2.2.1 .... qemu convert will always fail converting. See the output below:
Started by upstream project "Create windows image" build number 73
originally caused by:
Started by user anonymous
Building remotely on builder (builder lab) in workspace /var/lib/
[Prepare WS2008R2 Image] $ /bin/sh -xe /tmp/hudson4138
+ sudo bash -x /var/images/
+ set +x
Preparing: windows
Virtio CD: virtio-
Sparsifying...
qemu-img: error while compressing sector 11131648: Input/output error
virt-sparsify: error: external command failed: qemu-img convert -f
qcow2 -O 'qcow2' -c -o 'compat=0.10' '/tmp/sparsifyb
'/var/images/
virt-sparsify: If reporting bugs, run virt-sparsify with debugging
enabled (-v) and include the complete output.
Build step 'Execute shell' marked build as failure
Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
Finished: FAILURE
Thanks,
Dave
Changed in qemu: | |
status: | Fix Committed → Fix Released |
I can't reproduce this. qemu-img convert works just fine here.
qemu-img convert -f qcow2 -O qcow2 -c -o compat=0.10 x.img y.img
(from a random winXP guest image).