<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 6, 2018 at 10:23 PM, Fabrice SOLER <span dir="ltr"><<a href="mailto:fabrice.soler@ac-guadeloupe.fr" target="_blank">fabrice.soler@ac-guadeloupe.<wbr>fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div class="m_-1228685391150817306m_-8015711251814144967moz-cite-prefix">Hello,<br>
<br>
I have imported a VM with OVA created with VMware and it works !<br></div></div></blockquote><div><br></div><div>That's great, but note that importing an OVA that was created by VMware is totally different than importing an OVA that was created by oVirt implementation-wise.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF"><div class="m_-1228685391150817306m_-8015711251814144967moz-cite-prefix">
So, the problem is in the export ! The vm.ovf has no line
terminators, that why it does not work !<span><br>
<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><br></span>
Is there somebody would know a solution ?<br></div></div></blockquote><div><br></div><div>I'm afraid that's not the issue here - the OVF inside the OVA seems valid (otherwise, the UI would have failed to "load" the configuration from the OVA file).</div><div>You may be facing one of the various issues that were already resolved and will be available in 4.2.2, but it's hard to tell without having the logs.<br></div><div>If you can share the engine+ansible logs, we will gladly look at them and try to shed more light on the issue you're facing.</div><div>Otherwise, I would suggest to wait for 4.2.2 where the new OVA support is much more mature.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF"><div class="m_-1228685391150817306m_-8015711251814144967moz-cite-prefix">
<br>
Sincerely,<br>
Fabrice SOLER<div><div class="m_-1228685391150817306h5"><br>
<br>
<br>
Le 06/03/2018 à 14:25, Fabrice SOLER a écrit :<br>
</div></div></div><div><div class="m_-1228685391150817306h5">
<blockquote type="cite">
<div class="m_-1228685391150817306m_-8015711251814144967moz-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="m_-1228685391150817306m_-8015711251814144967moz-cite-prefix">On 06.03.2018 15:33, Fabrice SOLER
wrote:<br>
</div>
<blockquote type="cite">
<div class="m_-1228685391150817306m_-8015711251814144967moz-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>
<img src="cid:part1.721DEC94.ED02486C@ac-guadeloupe.fr" alt=""><br>
I saw that :<br>
<br>
<img src="cid:part2.0BD6BB40.23437ACA@ac-guadeloupe.fr" alt=""><br>
<br>
After that the amon was removed as we can see in the events
:<br>
<br>
<img src="cid:part3.C2524187.112F0E22@ac-guadeloupe.fr" alt=""><br>
<br>
It seems it does not work. Maybe the VM is hide somewhere ?<br>
<br>
Sincerely,<br>
<br>
<br>
<img src="cid:part4.D1784323.F64FE947@ac-guadeloupe.fr" border="0"></div>
<br>
<fieldset class="m_-1228685391150817306m_-8015711251814144967mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Users mailing list
<a class="m_-1228685391150817306m_-8015711251814144967moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a class="m_-1228685391150817306m_-8015711251814144967moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a>
</pre>
</blockquote>
<br>
<fieldset class="m_-1228685391150817306m_-8015711251814144967mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Users mailing list
<a class="m_-1228685391150817306m_-8015711251814144967moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a class="m_-1228685391150817306m_-8015711251814144967moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a>
</pre>
</blockquote>
<p><br>
</p>
<div class="m_-1228685391150817306m_-8015711251814144967moz-signature">-- <br>
<img src="cid:part4.D1784323.F64FE947@ac-guadeloupe.fr" border="0"></div>
<br>
<fieldset class="m_-1228685391150817306m_-8015711251814144967mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Users mailing list
<a class="m_-1228685391150817306m_-8015711251814144967moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a class="m_-1228685391150817306m_-8015711251814144967moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a>
</pre>
</blockquote>
<p><br>
</p>
<div class="m_-1228685391150817306m_-8015711251814144967moz-signature">-- <br>
<img src="cid:part4.D1784323.F64FE947@ac-guadeloupe.fr" border="0"></div>
</div></div></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br></blockquote></div><br></div></div>