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

Sandro Bonazzola sbonazzo at redhat.com
Mon Mar 16 10:03:30 UTC 2015


Il 16/03/2015 10:51, Xie, Chao ha scritto:
> Hi, Sandro
> 	Thanks for replying~ I download the virt-v2v and test it . But it directly wirte others' OVF file to RHEV , so the engine-image-uploader is not useful.
> How can I use virt-v2v to convert others' OVF to oVirt's OVF without writing it to Export Domain?

I'm not sure to have understood, but I can suggest you to take a look at
http://website-humblec.rhcloud.com/convert-physical-virtual-virtual-using-virt-v2v-virt-p2v-kvmovirt/
about v2v usage.

> 
> 
> -----邮件原件-----
> 发件人: Sandro Bonazzola [mailto:sbonazzo at redhat.com] 
> 发送时间: 2015年3月16日 15:25
> 收件人: Xie, Chao/谢 超; users at ovirt.org; Yaniv Dary
> 主题: Re: [ovirt-users] FAILED! Using engine-image-uploader to Upload OVF to Export Domain
> 
> 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
> 


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



More information about the Users mailing list