<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 4, 2017 at 9:39 AM, Piotr Kliczewski <span dir="ltr"><<a href="mailto:piotr.kliczewski@gmail.com" target="_blank">piotr.kliczewski@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class="gmail-">On Wed, Jan 4, 2017 at 6:51 AM, Michal Skrivanek <<a href="mailto:mskrivan@redhat.com">mskrivan@redhat.com</a>> wrote:<br>
>> On 03 Jan 2017, at 23:59, Piotr Kliczewski <<a href="mailto:piotr.kliczewski@gmail.com">piotr.kliczewski@gmail.com</a>> wrote:<br>
>><br>
>> All,<br>
>><br>
>> I want to upload manageiq ova from [1] when I attempted to do it I see:<br>
>><br>
>> on the engine side:<br>
>><br>
>> 2017-01-03 23:43:59,318+01 ERROR<br>
>> [org.ovirt.engine.core.bll.<wbr>GetVmFromOvaQuery] (default task-1)<br>
><br>
> You're falling for the confusing trap we created:)<br>
> OVA in oVirt is for vmware ova conversion, not for importing ovirt<br>
> native-like images. For that you need to use the old and cumbersome<br>
> flow of export/import via export domain<br>
<br>
</span>I looked for it initially and noticed that ovirt-image-uploader is not<br>
there in 4.1.<br>
<br>
Is there any other way to do it?<br></blockquote><div><br></div><div>you should be able to go to webadmin to disks tab and upload it from there.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div class="gmail-HOEnZb"><div class="gmail-h5"><br>
><br>
>> [33a1d8b5-8cec-4b00-9a35-<wbr>ee9f1d9635b2] Exception:<br>
>> org.ovirt.engine.core.common.<wbr>errors.EngineException: EngineException:<br>
>> org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>VDSErrorException:<br>
>> VDSGenericException: VDSErrorException: Failed to GetOvaInfoVDS, error<br>
>> = Error parsing ovf information: no memory size, code = -32603 (Failed<br>
>> with error unexpected and code 16)<br>
>> at org.ovirt.engine.core.bll.<wbr>VdsHandler.handleVdsResult(<wbr>VdsHandler.java:118)<br>
>> [bll.jar:]<br>
>> at org.ovirt.engine.core.bll.<wbr>VDSBrokerFrontendImpl.<wbr>runVdsCommand(<wbr>VDSBrokerFrontendImpl.java:33)<br>
>> [bll.jar:]<br>
>> at org.ovirt.engine.core.bll.<wbr>QueriesCommandBase.<wbr>runVdsCommand(<wbr>QueriesCommandBase.java:242)<br>
>> [bll.jar:]<br>
>> at org.ovirt.engine.core.bll.<wbr>GetVmFromOvaQuery.<wbr>getVmInfoFromOvaFile(<wbr>GetVmFromOvaQuery.java:24)<br>
>> [bll.jar:]<br>
>> at org.ovirt.engine.core.bll.<wbr>GetVmFromOvaQuery.<wbr>executeQueryCommand(<wbr>GetVmFromOvaQuery.java:20)<br>
>> [bll.jar:]<br>
>> at org.ovirt.engine.core.bll.<wbr>QueriesCommandBase.<wbr>executeCommand(<wbr>QueriesCommandBase.java:110)<br>
>> [bll.jar:]<br>
>> at org.ovirt.engine.core.dal.<wbr>VdcCommandBase.execute(<wbr>VdcCommandBase.java:33)<br>
>> [dal.jar:]<br>
>> at org.ovirt.engine.core.bll.<wbr>executor.<wbr>DefaultBackendQueryExecutor.<wbr>execute(<wbr>DefaultBackendQueryExecutor.<wbr>java:14)<br>
>> [bll.jar:]<br>
>> at org.ovirt.engine.core.bll.<wbr>Backend.runQueryImpl(Backend.<wbr>java:579)<br>
>> [bll.jar:]<br>
>> at org.ovirt.engine.core.bll.<wbr>Backend.runQuery(Backend.java:<wbr>547)<br>
>> [bll.jar:]<br>
>><br>
>> on the vdsm side:<br>
>><br>
>> 2017-01-03 23:43:58,437 ERROR (jsonrpc/0) [jsonrpc.JsonRpcServer]<br>
>> Internal server error (__init__:552)<br>
>> Traceback (most recent call last):<br>
>> File "/usr/lib/python2.7/site-<wbr>packages/yajsonrpc/__init__.<wbr>py", line<br>
>> 547, in _handle_request<br>
>> res = method(**params)<br>
>> File "/usr/lib/python2.7/site-<wbr>packages/vdsm/rpc/Bridge.py", line<br>
>> 198, in _dynamicMethod<br>
>> result = fn(*methodArgs)<br>
>> File "/usr/share/vdsm/API.py", line 1493, in getExternalVmFromOva<br>
>> return v2v.get_ova_info(ova_path)<br>
>> File "/usr/lib/python2.7/site-<wbr>packages/vdsm/v2v.py", line 226, in get_ova_info<br>
>> _add_general_ovf_info(vm, root, ns, ova_path)<br>
>> File "/usr/lib/python2.7/site-<wbr>packages/vdsm/v2v.py", line 1225, in<br>
>> _add_general_ovf_info<br>
>> raise V2VError('Error parsing ovf information: no memory size')<br>
>> V2VError: Error parsing ovf information: no memory size<br>
>><br>
>> Is our code not parsing correctly or manageiq guys publish not correct file?<br>
>><br>
>> I am using:<br>
>> ovirt-engine<br>
>> Version : 4.1.0<br>
>> Release : 0.3.beta2.20161221085908.el7.<wbr>centos<br>
>> vdsm<br>
>> Version : 4.18.999<br>
>> Release : 1218.gitd36143e.el7.centos<br>
>><br>
>> Thanks,<br>
>> Piotr<br>
>><br>
>><br>
>> [1] <a href="http://manageiq.org/download/" rel="noreferrer" target="_blank">http://manageiq.org/download/</a><br>
>> ______________________________<wbr>_________________<br>
>> Devel mailing list<br>
>> <a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
>> <a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br>
>><br>
>><br>
______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br>
</div></div></blockquote></div><br></div></div>