[Libguestfs] "could not parse ovf:Name" converting OVA

Richard W.M. Jones rjones at redhat.com
Thu Oct 22 07:51:12 UTC 2015


On Thu, Oct 22, 2015 at 08:47:36AM +0100, Richard W.M. Jones wrote:
> On Wed, Oct 21, 2015 at 03:19:15PM -0700, Don Marti wrote:
> > I got the "IE10 on Win 8" VM download from here:
> >   https://dev.modern.ie/tools/vms/linux/
> > 
> > and am trying to convert the .ova file to a format that
> > will work with virt-manager and KVM on Fedora 21.
> > 
> > I tried this:
> > 
> > $ virt-v2v -v -x -i ova -o libvirt IE10\ -\ Win8.ova
> > 
> > and got this output:
> > 
> > virt-v2v: libguestfs 1.28.12 (x86_64)
> > [   0.0] Opening the source -i ova IE10 - Win8.ova
> > tar -xf 'IE10 - Win8.ova' -C '/var/tmp/ova.Jecd3x'
> > virt-v2v: error: could not parse ovf:Name from OVF document
> 
> OVF isn't a real standard - it was a plot by VMware to claim that
> their non-standard proprietary software supports "standards".  Every
> hypervisor generates its own random variant of OVF.
> 
> virt-v2v only supports the OVF generated by VMware.
> 
> I'll take a look at this variation of OVF to see if it's something we
> could modify virt-v2v to support, but at the moment virt-v2v doesn't
> support it.

I wasn't able to get that site to give me a .ova file, only .zip.

Anyway, you probably don't need to convert this VM using virt-v2v
anyway.  Just untar the .ova file, extract the disks (*.vmdk) and
convert them to qcow2 using `qemu-img convert foo.vmdk -O qcow2 foo.qcow2'.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html




More information about the Libguestfs mailing list