[ovirt-users] Import of ova failed

Cam Mac iucounu at gmail.com
Wed Jul 20 14:40:16 UTC 2016


Hi Rich,


> > >
> >
> > I can try this but I'm not quite sure how to go about it. The ovf I
> created
> > via guest-image-ovf-creator is on an NFS mount
> > on the engine: do I need to run virt-v2v on one of the nodes? If so, I
> > assume I need to set the output to an export domain.
> > Does '-o local' stick it on the node's VM storage?
>
> Yes, don't use -o local.
>
> virt-v2v has an -o rhev option which will import directly from VMware
> to RHEV or oVirt.  Please see the manual:
>
> http://libguestfs.org/virt-v2v.1.html#convert-from-vmware-to-rhev-m-ovirt
> http://libguestfs.org/virt-v2v.1.html#output-to-rhev
>
>
>
I'm using 'virt-v2v -v -i ova wvm2.ovf -o rhev -os
ovirt-engine:/mnt/export-vm' (my export domain), though unfortunately it
fails

Error is:

[root at kvm-ldn-01 tmp]# virt-v2v -v -x -i ova wvm2.ovf -o rhev -os
ovirt-engine:/mnt/export-vm
virt-v2v: libguestfs 1.28.1 (x86_64)
[   0.0] Opening the source -i ova wvm2.ovf
tar -xzf 'wvm2.ovf' -C '/var/tmp/ova.dEFSqi'
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 [...]
[root at kvm-ldn-01 tmp]

I can attach the XML ovf file that is is inside the ovf archive if that is
a help.

BTW: is there a way of specifying the extraction directory? My first
attempt filled up /var/tmp until I found another host
that luckily had a big enough partition.

Thanks,

Cam


> --
> Richard Jones, Virtualization Group, Red Hat
> http://people.redhat.com/~rjones
> Read my programming and virtualization blog: http://rwmj.wordpress.com
> virt-top is 'top' for virtual machines.  Tiny program with many
> powerful monitoring features, net stats, disk stats, logging, etc.
> http://people.redhat.com/~rjones/virt-top
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160720/50560d35/attachment-0001.html>


More information about the Users mailing list