[ovirt-users] FAILED! Using engine-image-uploader to Upload OVF to Export Domain

Sandro Bonazzola sbonazzo at redhat.com
Mon Mar 16 03:25:00 EDT 2015


Il 16/03/2015 07:33, Xie, Chao ha scritto:
> Hi, all
> 
>          I export a OVF/OVA vm file from VirtualBox (Manage -- > Export a vm. When I choose “ovf”, I got two files: test.ovf and test.vmdk) and want
> to use engine-image-upload to upload into oVirt Export Domain.
> 
> But I get Error as below:
> 
>  
> 
> 1. using OVA
> 
> =========
> 
> [root ~]# engine-image-uploader --conf-file=/etc/ovirt-engine/imageuploader.conf -e export_debug upload test1.ova
> 
> ERROR: not a gzip file
> 
>  
> 
> 2. using OVF
> 
> =========
> 
> [root ~]# engine-image-uploader --conf-file=/etc/ovirt-engine/imageuploader.conf -e export_debug upload test.ovf
> 
> ERROR: not a gzip file
> 
>  
> 
> ### so I tar the test.ovf and test.vmdk as gzip file ###
> 
>  
> 
> [root at rhev-pc-host2 ~]# tar -zcvf ggtest.ovf ./test.ovf ./test-disk1.vmdk
> 
> ./test.ovf
> 
> ./test-disk1.vmdk
> 
> [root@ ~]# engine-image-uploader --conf-file=/etc/ovirt-engine/imageuploader.conf -e export_debug upload ggtest.ovf ERROR: Unable to update the disk
> ID in the OVF XML. Message: global name 'n_id_d' is not defined
> 
> 

Hi, you need to use v2v for converting the OVF from other virtualization systems to oVirt / RHEV OVF format.
The format exported by VirtualBox is not compatible wiht oVirt.

> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com


More information about the Users mailing list