<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 7, 2018 at 12:10 AM, Oliver Riesener <span dir="ltr"><<a href="mailto:Oliver.Riesener@hs-bremen.de" target="_blank">Oliver.Riesener@hs-bremen.de</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"><div style="word-wrap:break-word"><div>Hi Arik, Hi Fabrice,</div><div><br></div>i have tried the same procedure with 4.2.1, with same results.<div><br></div><div>After commands:</div><div><br></div><div># mkdir /var/log/ovirt-engine/ova</div><div># chown ovirt.ovirt /var/log/ovirt-engine/ova</div><div><br></div><div>I can provide log files. See ansible script failed. </div><div><br></div><div>/export/ovirt/export/xx is the correct directory where i have extracted the *.ova file because the UI search for *.ovf file and didn’t recognize *.ova files directly ? </div></div></blockquote><div><br></div><div>Thanks for providing the logs.</div><div>We don't support OVA directory with content (OVF, disks) that was created by oVirt yet (it only works with content that was created by VMware).</div><div>The OVA tar file should not be extracted and the path to the OVA should include the filename, e.g., /export/ovirt/export/xx/my.ova</div><div><br></div><div>If you pack the directory's content into an OVA file, please note that the OVF should be placed at the first entry.</div><div><br></div><div>There is a bug about changing 'path' to something like 'path to ova file' in the import dialog [1], I may add a validation for that as well until we'll also support the OVA directory format.</div><div><br></div><div>[1] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1547636">https://bugzilla.redhat.com/show_bug.cgi?id=1547636</a></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 style="word-wrap:break-word"><div><br></div><div>Please see attachments:</div><div><br></div><div>Cheers</div><div>Olri</div><div><div><br></div><div></div></div></div><br><div style="word-wrap:break-word"><div><div></div></div></div><br><div style="word-wrap:break-word"><div><div></div></div></div><br><div style="word-wrap:break-word"><div><div></div><div><br><div><blockquote type="cite"><div>Am 06.03.2018 um 19:25 schrieb Fabrice SOLER <<a href="mailto:fabrice.soler@ac-guadeloupe.fr" target="_blank">fabrice.soler@ac-guadeloupe.<wbr>fr</a>>:</div><br class="gmail-m_8609493391651394817Apple-interchange-newline"><div>
<div bgcolor="#FFFFFF">
<div class="gmail-m_8609493391651394817moz-cite-prefix">Hi, <br>
<br>
I have deleted the VM amon and tried to import the OVA. It does
not work.<br>
I think there is a problem in the ovf file (XML format) like I
posted in the precedente mail :<br>
<br>
<b><i>I constated that the ovf format is not the same when I made
the export ova with vmware and ovirt.</i></b><b><i><br>
</i></b><b><i> </i></b><b><i><br>
</i></b><b><i> Export ova with vmware :</i></b><b><i><br>
</i></b><b><i> </i></b><b><i><br>
</i></b><b><i> [root@eple-rectorat-proto AntiVirus]# file
AntiVirus.ovf</i></b><b><i><br>
</i></b><b><i> AntiVirus.ovf: XML 1.0 document, ASCII text, with
very long lines, with CRLF line terminators</i></b><b><i><br>
</i></b><b><i> </i></b><b><i><br>
</i></b><b><i> Export ova with ovirt :</i></b><b><i><br>
</i></b><b><i> [root@ovirt-eple amon]# file vm.ovf</i></b><b><i><br>
</i></b><b><i> vm.ovf: XML 1.0 document, ASCII text, with very
long lines, with no line terminators</i></b><b><i><br>
</i></b><b><i> </i></b><b><i><br>
</i></b><b><i> With Ovirt there is no line terminators.</i></b><b><i><br>
</i></b><b><i> </i></b><b><i><br>
</i></b><b><i> Is that normal ? Is that why the OVA import does
not work ?</i></b><i><br>
</i><br>
<br>
<br>
<br>
<br>
<br>
<br>
Le 06/03/2018 à 12:11, Oliver Riesener a écrit :<br>
</div>
<blockquote type="cite">
Hi Fabrice,<br>
try to rename the already existing old VM to another name like
amon-old.<br>
The import the OVA machine again.<br>
<br>
<div class="gmail-m_8609493391651394817moz-cite-prefix">On 06.03.2018 15:33, Fabrice SOLER
wrote:<br>
</div>
<blockquote type="cite">
<div class="gmail-m_8609493391651394817moz-signature">Hello,<br>
<br>
I have upgraded the engine and the node, so the version is :
4.2.1.1.1-1.el7<br>
To import, I made a "tar xvf file.ova".<br>
Then from the portal, I import the VM<br>
<br>
<span id="gmail-m_8609493391651394817cid:part1.F1B46AE8.376CEC0A@ac-guadeloupe.fr"><fnoenhmgochfekoh.png></span><br>
I saw that :<br>
<br>
<span id="gmail-m_8609493391651394817cid:part2.BEBB7C3E.0A7E7DD8@ac-guadeloupe.fr"><ieaciiocgjjgcbcg.png></span><br>
<br>
After that the amon was removed as we can see in the events :<br>
<br>
<span id="gmail-m_8609493391651394817cid:part3.A55F2C9F.1341ABB4@ac-guadeloupe.fr"><hljdjnbeojagoppc.png></span><br>
<br>
It seems it does not work. Maybe the VM is hide somewhere ?<br>
<br>
Sincerely,<br>
<br>
<br>
<span id="gmail-m_8609493391651394817cid:part4.895BE010.AE517D9B@ac-guadeloupe.fr"><Fabrice SOLER.PNG></span></div>
<br>
<fieldset class="gmail-m_8609493391651394817mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Users mailing list
<a class="gmail-m_8609493391651394817moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a class="gmail-m_8609493391651394817moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<fieldset class="gmail-m_8609493391651394817mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Users mailing list
<a class="gmail-m_8609493391651394817moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a class="gmail-m_8609493391651394817moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a>
</pre>
</blockquote><p><br>
</p>
<div class="gmail-m_8609493391651394817moz-signature">-- <br>
<span id="gmail-m_8609493391651394817cid:part4.895BE010.AE517D9B@ac-guadeloupe.fr"><Fabrice SOLER.PNG></span></div>
</div>
</div></blockquote></div><br></div></div></div><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>