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

Xie, Chao xiec.fnst at cn.fujitsu.com
Mon Mar 16 06:33:22 UTC 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150316/2e43e17a/attachment-0001.html>


More information about the Users mailing list