<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 5, 2018 at 7:13 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<div class="gmail-m_5973754893333322984moz-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></div></div></blockquote><div><br></div><div>The skipped part above is the most interesting one that may enable us to investigate the error, can you share it? it would be best to file a bug [1] and add the full log as an attachment (that can be made private if needed, btw).</div><div><br></div><div>[1] <a href="https://bugzilla.redhat.com/">https://bugzilla.redhat.com/</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 bgcolor="#FFFFFF"><div class="gmail-m_5973754893333322984moz-cite-prefix">
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<div><div class="gmail-h5"><br>
<br>
Le 05/03/2018 à 12:50, Arik Hadas a écrit :<br>
</div></div></div><div><div class="gmail-h5">
<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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<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"><span>
<div bgcolor="#FFFFFF">
<p>Sincerely,</p>
<p>Fabrice SOLER</p>
<span class="gmail-m_5973754893333322984m_-6749734223413973824HOEnZb"><font color="#888888">
<div class="gmail-m_5973754893333322984m_-6749734223413973824m_7775425517296664061moz-signature">--
<br>
<img src="cid:part3.983C603A.ACC4ED7D@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>
</div>
</div>
</blockquote>
<p><br>
</p>
</div></div><span class="gmail-HOEnZb"><font color="#888888"><div class="gmail-m_5973754893333322984moz-signature">-- <br>
<img src="cid:part3.983C603A.ACC4ED7D@ac-guadeloupe.fr" border="0"></div>
</font></span></div>
</blockquote></div><br></div></div>