<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 5, 2018 at 11:01 PM, Fabrice SOLER <span dir="ltr"><<a href="mailto:fabrice.soler@ac-guadeloupe.fr" target="_blank">fabrice.soler@ac-guadeloupe.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_-3386171920007780344moz-cite-prefix">Hello,<br>
<br>
I found this KB : <a class="m_-3386171920007780344moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=1529607" target="_blank">https://bugzilla.redhat.com/<wbr>show_bug.cgi?id=1529607</a><br>
and put a description to the VM disk and the OVA export works ! <span class="m_-3386171920007780344moz-smiley-s1"><span>:-)</span></span><br>
<br>
Now, the import does not work <span class="m_-3386171920007780344moz-smiley-s2"><span>:-(</span></span><br>
<br>
The error is : <b><i>Failed to load VM configuration from OVA
file: /data/ova/amon<br>
<br>
</i></b>I have tried two ways.<br>
In first, I let the file ova.<br>
Secondely I did : tar xvf file.ova and specifiy the directory
where the ovf file is.<br>
<br>
In the engine log, I have found this :<br>
<br>
2018-03-05 16:15:58,319-04 INFO
[org.ovirt.engine.core.common.<wbr>utils.ansible.AnsibleExecutor]
(default task-6) [e2a953ca-1460-4899-a958-<wbr>7dbe37e40a21] Ansible
playbook command has exited with value: 2<br>
2018-03-05 16:15:58,319-04 ERROR
[org.ovirt.engine.core.bll.<wbr>GetVmFromOvaQuery] (default task-6)
[e2a953ca-1460-4899-a958-<wbr>7dbe37e40a21] Failed to query OVA info<br>
2018-03-05 16:15:58,319-04 ERROR
[org.ovirt.engine.core.bll.<wbr>GetVmFromOvaQuery] (default task-6)
[e2a953ca-1460-4899-a958-<wbr>7dbe37e40a21] Query 'GetVmFromOvaQuery'
failed: EngineException: Failed to query OVA info (Failed with
error GeneralException and code 100)<br>
<br>
I have found this KB : <a class="m_-3386171920007780344moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=1529965" target="_blank">https://bugzilla.redhat.com/<wbr>show_bug.cgi?id=1529965</a><br>
The unique solution is a update ?<br></div></div></blockquote><div><br></div><div>I highly suggest updating to the latest version, various issues related to OVA export/import were recently fixed.</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_-3386171920007780344moz-cite-prefix">
<br>
Sincerely<br>
Fabrice <br>
<br>
<br>
Le 05/03/2018 à 13:13, Fabrice SOLER a écrit :<br>
</div>
<blockquote type="cite">
<div class="m_-3386171920007780344moz-cite-prefix">Hello,<br>
<br>
Thank for your answer, I have put all permissions for the
directory and I always have errors.<br>
<br>
Here are the ERROR in logs on the engine :<br>
<br>
2018-03-05 13:03:18,525-04 INFO
[org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>GetVolumeInfoVDSCommand]
(EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-23) [7dcef072]
FINISH, GetVolumeInfoVDSCommand, return:
org.ovirt.engine.core.common.<wbr>businessentities.storage.<wbr>DiskImage@90e3c610,
log id: 84f89c3<br>
2018-03-05 13:03:18,529-04 ERROR
[org.ovirt.engine.core.bll.<wbr>CreateOvaCommand]
(EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-23) [7dcef072]
Command 'org.ovirt.engine.core.bll.<wbr>CreateOvaCommand' failed:
null<br>
2018-03-05 13:03:18,529-04 ERROR
[org.ovirt.engine.core.bll.<wbr>CreateOvaCommand]
(EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-23) [7dcef072]
Exception: java.lang.NullPointerException<br>
...<br>
2018-03-05 13:03:18,533-04 ERROR
[org.ovirt.engine.core.bll.<wbr>exportimport.ExportOvaCommand]
(EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-23) [7dcef072]
Failed to create OVA file<br>
2018-03-05 13:03:18,533-04 INFO
[org.ovirt.engine.core.bll.<wbr>SerialChildCommandsExecutionCa<wbr>llback]
(EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-23) [7dcef072]
Command 'ExportOva' id: 'c484392e-3540-4a11-97bf-<wbr>3fecbc13e080'
failed when attempting to perform the next operation, marking as
FAILED '[d5d4381b-ec82-4927-91a4-<wbr>74597cd2511d]'<br>
2018-03-05 13:03:18,533-04 INFO
[org.ovirt.engine.core.bll.<wbr>SerialChildCommandsExecutionCa<wbr>llback]
(EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-23) [7dcef072]
Command 'ExportOva' id: 'c484392e-3540-4a11-97bf-<wbr>3fecbc13e080'
child commands '[d5d4381b-ec82-4927-91a4-<wbr>74597cd2511d]'
executions were completed, status 'FAILED'<br>
2018-03-05 13:03:19,542-04 ERROR
[org.ovirt.engine.core.bll.<wbr>exportimport.ExportOvaCommand]
(EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-98)
[c99e94b0-a9dd-486f-9274-<wbr>9aa17c9590a0] Ending command
'org.ovirt.engine.core.bll.<wbr>exportimport.ExportOvaCommand' with
failure.<br>
2018-03-05 13:03:19,543-04 INFO
[org.ovirt.engine.core.bll.<wbr>exportimport.ExportOvaCommand]
(EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-98)
[c99e94b0-a9dd-486f-9274-<wbr>9aa17c9590a0] Lock freed to object
'EngineLock:{exclusiveLocks='[<wbr>3ae307cb-53d6-4d70-87b6-<wbr>4e073c6f5eb6=VM]',
sharedLocks=''}'<br>
2018-03-05 13:03:19,550-04 ERROR
[org.ovirt.engine.core.dal.<wbr>dbbroker.auditloghandling.<wbr>AuditLogDirector]
(EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-98)
[c99e94b0-a9dd-486f-9274-<wbr>9aa17c9590a0] EVENT_ID:
IMPORTEXPORT_EXPORT_VM_TO_OVA_<wbr>FAILED(1,225), Failed to export Vm
pfSense as a Virtual Appliance to path /ova/pfSense.ova on Host
eple-rectorat-proto<br>
...<br>
<br>
Sincerely,<br>
Fabrice<br>
<br>
Le 05/03/2018 à 12:50, Arik Hadas a écrit :<br>
</div>
<blockquote type="cite">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Mar 5, 2018 at 6:48 PM,
Arik Hadas <span dir="ltr"><<a href="mailto:ahadas@redhat.com" target="_blank">ahadas@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"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote"><span>On Mon, Mar
5, 2018 at 6:29 PM, Fabrice SOLER <span dir="ltr"><<a href="mailto:fabrice.soler@ac-guadeloupe.fr" target="_blank">fabrice.soler@ac-guadeloupe.f<wbr>r</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">
<p>Hello,</p>
<p>I need to export my VM to OVA format from
the administration portail Ovirt. It fails
with this message :</p>
<p><i>Failed to export Vm CentOS as a
Virtual Appliance to path
/data/CentOS.ova on Host
eple-rectorat-proto</i></p>
<p>My storage is local (not NFS or iSCSI),
is there some particulars permissions to
put to the destination directory ?</p>
</div>
</blockquote>
</span>
<div>No, the script that packs the OVA is executed
with root permissions.</div>
<span>
<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">
<p>The path is the path to an export domain
?</p>
</div>
</blockquote>
</span>
<div>Not necessarily.</div>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Oh, and please share the (engine, ansible) logs if
you want more eyes looking at that failure.</div>
<div> </div>
<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">
<div class="gmail_quote">
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
<div text="#000000" bgcolor="#FFFFFF">
<p>Sincerely,</p>
<p>Fabrice SOLER</p>
<span class="m_-3386171920007780344m_-6749734223413973824HOEnZb"><font color="#888888">
<div class="m_-3386171920007780344m_-6749734223413973824m_7775425517296664061moz-signature">--
<br>
<img src="cid:part5.00AF304D.AFBF671A@ac-guadeloupe.fr" border="0"></div>
</font></span></div>
<br>
</span>______________________________<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>
</blockquote>
</div>
<br><span class="HOEnZb"><font color="#888888">
</font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<p><br>
</p>
<div class="m_-3386171920007780344moz-signature">-- <br>
<img src="cid:part5.00AF304D.AFBF671A@ac-guadeloupe.fr" border="0"></div>
<br>
<fieldset class="m_-3386171920007780344mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Users mailing list
<a class="m_-3386171920007780344moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a class="m_-3386171920007780344moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a>
</pre>
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<p><br>
</p>
<div class="m_-3386171920007780344moz-signature">-- <br>
<img src="cid:part5.00AF304D.AFBF671A@ac-guadeloupe.fr" border="0"></div>
</font></span></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>