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

Don Marti dmarti at zgp.org
Thu Oct 22 17:24:07 UTC 2015


begin Richard W.M. Jones quotation of Thu, Oct 22, 2015 at 08:51:12AM +0100:
> 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.

The .ova is what I got when I unzipped the zip file.

> 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'.

That worked.  I was able to import the resulting qcow2
file into virt-manager (Using "Create a new virtual
machine" -> "Import existing disk image").  Thank you.

-- 
Don Marti <dmarti at zgp.org>                   
http://zgp.org/~dmarti/
Are you safe from 3rd-party web tracking?  http://www.aloodo.org/test/




More information about the Libguestfs mailing list