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

2015-03-16 Thread Sandro Bonazzola
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@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@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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2015-03-15 Thread Xie, Chao
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@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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users