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 > [email protected] > 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 [email protected] http://lists.ovirt.org/mailman/listinfo/users

