qemu-img fails to convert VMDK image

Bug #1028908 reported by Cristian Ciupitu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

Download raw learn_puppet_centos_pe2.5.1_ovf.2012.04.18-disk1.vmdk [1] then try to convert it to a more suitable format for qemu-kvm, e.g. raw:

$ qemu-img convert -O raw learn_puppet_centos_pe2.5.1_ovf.2012.04.18-disk1.vmdk learn_puppet_centos_pe2.5.1_ovf.2012.04.18-disk1.raw
qemu-img: error while reading sector 131072: Invalid argument

The error happens with both qemu-img-1.0-17.fc17.x86_64 and the latest git master version (c3cdc1b0ff84d1cfed0c8052d2c83f8ecbf24166; thanks go to kwolf for testing it).

Additional info:
$ qemu-img info learn_puppet_centos_pe2.5.1_ovf.2012.04.18-disk1.vmdk image: learn_puppet_centos_pe2.5.1_ovf.2012.04.18-disk1.vmdk
file format: vmdk
virtual size: 4.0G (4294967296 bytes)
disk size: 537M

[1] http://downloads.puppetlabs.com/learning/learn_puppet_centos_pe2.5.1_ovf.2012.04.18.zip (516 MB)

Revision history for this message
Kevin Wolf (kwolf-redhat) wrote :

This should be fixed as of commit 65bd155c (included in 1.2.0-rc1).

Revision history for this message
Cristian Ciupitu (ciupicri) wrote :

It works fine for me with git version de188751da8db3c77a681bf903035a0e5218c463 (it's post 1.2.0-rc1).

Changed in qemu:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.