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 If reporting bugs, run virt-v2v with debugging enabled and include the complete output: virt-v2v -v -x [...] Anything else I need to be doing in order to convert this OVA? -- Don Marti <dmarti@zgp.org> http://zgp.org/~dmarti/ Are you safe from 3rd-party web tracking? http://www.aloodo.org/test/
Richard W.M. Jones
2015-Oct-22 07:47 UTC
Re: [Libguestfs] "could not parse ovf:Name" converting OVA
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 documentOVF 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. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v
Richard W.M. Jones
2015-Oct-22 07:51 UTC
Re: [Libguestfs] "could not parse ovf:Name" converting OVA
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
Seemingly Similar Threads
- Re: "could not parse ovf:Name" converting OVA
- Re: "could not parse ovf:Name" converting OVA
- [Bug 448] New: ssh ignores key specified with -i if agent is running
- Re: [PATCH v3 2/6] v2v: ova: don't detect compressed disks, read the OVF instead
- Wine release 1.7.7