<div dir="ltr">You can only upload the OVA disk and attach it to a VM with 4.1.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><pre cols="72"><span style="font-family:arial,helvetica,sans-serif">Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109
Tel : +972 (9) 7692306
8272306
Email: <a href="mailto:ydary@redhat.com" target="_blank">ydary@redhat.com</a>
IRC : ydary</span></pre>
</div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Jan 4, 2017 at 10:53 AM, Tomas Jelinek <span dir="ltr"><<a href="mailto:tjelinek@redhat.com" target="_blank">tjelinek@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><span class="">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="m_-3542459318078604809gmail-">On Wed, Jan 4, 2017 at 6:51 AM, Michal Skrivanek <<a href="mailto:mskrivan@redhat.com" target="_blank">mskrivan@redhat.com</a>> wrote:<br>
>> On 03 Jan 2017, at 23:59, Piotr Kliczewski <<a href="mailto:piotr.kliczewski@gmail.com" target="_blank">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.Get<wbr>VmFromOvaQuery] (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></span><div>you should be able to go to webadmin to disks tab and upload it from there.<br></div><div><div class="h5"><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="m_-3542459318078604809gmail-HOEnZb"><div class="m_-3542459318078604809gmail-h5"><br>
><br>
>> [33a1d8b5-8cec-4b00-9a35-ee9f1<wbr>d9635b2] Exception:<br>
>> org.ovirt.engine.core.common.e<wbr>rrors.EngineException: EngineException:<br>
>> org.ovirt.engine.core.vdsbroke<wbr>r.vdsbroker.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.VdsH<wbr>andler.handleVdsResult(VdsHand<wbr>ler.java:118)<br>
>> [bll.jar:]<br>
>> at org.ovirt.engine.core.bll.VDSB<wbr>rokerFrontendImpl.runVdsComman<wbr>d(VDSBrokerFrontendImpl.java:<wbr>33)<br>
>> [bll.jar:]<br>
>> at org.ovirt.engine.core.bll.Quer<wbr>iesCommandBase.runVdsCommand(Q<wbr>ueriesCommandBase.java:242)<br>
>> [bll.jar:]<br>
>> at org.ovirt.engine.core.bll.GetV<wbr>mFromOvaQuery.getVmInfoFromOva<wbr>File(GetVmFromOvaQuery.java:<wbr>24)<br>
>> [bll.jar:]<br>
>> at org.ovirt.engine.core.bll.GetV<wbr>mFromOvaQuery.executeQueryComm<wbr>and(GetVmFromOvaQuery.java:20)<br>
>> [bll.jar:]<br>
>> at org.ovirt.engine.core.bll.Quer<wbr>iesCommandBase.executeCommand(<wbr>QueriesCommandBase.java:110)<br>
>> [bll.jar:]<br>
>> at org.ovirt.engine.core.dal.VdcC<wbr>ommandBase.execute(VdcCommandB<wbr>ase.java:33)<br>
>> [dal.jar:]<br>
>> at org.ovirt.engine.core.bll.exec<wbr>utor.DefaultBackendQueryExecut<wbr>or.execute(DefaultBackendQuery<wbr>Executor.java:14)<br>
>> [bll.jar:]<br>
>> at org.ovirt.engine.core.bll.Back<wbr>end.runQueryImpl(Backend.java:<wbr>579)<br>
>> [bll.jar:]<br>
>> at org.ovirt.engine.core.bll.Back<wbr>end.runQuery(Backend.java: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-packa<wbr>ges/yajsonrpc/__init__.py", line<br>
>> 547, in _handle_request<br>
>> res = method(**params)<br>
>> File "/usr/lib/python2.7/site-packa<wbr>ges/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-packa<wbr>ges/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-packa<wbr>ges/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.c<wbr>entos<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" target="_blank">Devel@ovirt.org</a><br>
>> <a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/devel</a><br>
>><br>
>><br>
______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/devel</a><br>
</div></div></blockquote></div></div></div><br></div></div>
<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></blockquote></div><br></div>