<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      I found this KB :
      <a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=1529607">https://bugzilla.redhat.com/show_bug.cgi?id=1529607</a><br>
      and put a description to the VM disk and the OVA export works ! <span
        class="moz-smiley-s1"><span>:-)</span></span><br>
      <br>
      Now, the import does not work <span class="moz-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.utils.ansible.AnsibleExecutor]
      (default task-6) [e2a953ca-1460-4899-a958-7dbe37e40a21] Ansible
      playbook command has exited with value: 2<br>
      2018-03-05 16:15:58,319-04 ERROR
      [org.ovirt.engine.core.bll.GetVmFromOvaQuery] (default task-6)
      [e2a953ca-1460-4899-a958-7dbe37e40a21] Failed to query OVA info<br>
      2018-03-05 16:15:58,319-04 ERROR
      [org.ovirt.engine.core.bll.GetVmFromOvaQuery] (default task-6)
      [e2a953ca-1460-4899-a958-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="moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=1529965">https://bugzilla.redhat.com/show_bug.cgi?id=1529965</a><br>
      The unique solution is a update ?<br>
      <br>
      Sincerely<br>
      Fabrice  <br>
      <b><i></i></b><br>
      <br>
      Le 05/03/2018 à 13:13, Fabrice SOLER a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:744cc79b-4e81-f327-18e1-32533d7c7c21@ac-guadeloupe.fr">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div class="moz-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.vdsbroker.vdsbroker.GetVolumeInfoVDSCommand]
        (EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072]
        FINISH, GetVolumeInfoVDSCommand, return:
org.ovirt.engine.core.common.businessentities.storage.DiskImage@90e3c610,
        log id: 84f89c3<br>
        2018-03-05 13:03:18,529-04 ERROR
        [org.ovirt.engine.core.bll.CreateOvaCommand]
        (EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072]
        Command 'org.ovirt.engine.core.bll.CreateOvaCommand' failed:
        null<br>
        2018-03-05 13:03:18,529-04 ERROR
        [org.ovirt.engine.core.bll.CreateOvaCommand]
        (EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072]
        Exception: java.lang.NullPointerException<br>
        ...<br>
        2018-03-05 13:03:18,533-04 ERROR
        [org.ovirt.engine.core.bll.exportimport.ExportOvaCommand]
        (EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072]
        Failed to create OVA file<br>
        2018-03-05 13:03:18,533-04 INFO 
        [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback]
        (EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072]
        Command 'ExportOva' id: 'c484392e-3540-4a11-97bf-3fecbc13e080'
        failed when attempting to perform the next operation, marking as
        FAILED '[d5d4381b-ec82-4927-91a4-74597cd2511d]'<br>
        2018-03-05 13:03:18,533-04 INFO 
        [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback]
        (EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072]
        Command 'ExportOva' id: 'c484392e-3540-4a11-97bf-3fecbc13e080'
        child commands '[d5d4381b-ec82-4927-91a4-74597cd2511d]'
        executions were completed, status 'FAILED'<br>
        2018-03-05 13:03:19,542-04 ERROR
        [org.ovirt.engine.core.bll.exportimport.ExportOvaCommand]
        (EE-ManagedThreadFactory-engineScheduled-Thread-98)
        [c99e94b0-a9dd-486f-9274-9aa17c9590a0] Ending command
        'org.ovirt.engine.core.bll.exportimport.ExportOvaCommand' with
        failure.<br>
        2018-03-05 13:03:19,543-04 INFO 
        [org.ovirt.engine.core.bll.exportimport.ExportOvaCommand]
        (EE-ManagedThreadFactory-engineScheduled-Thread-98)
        [c99e94b0-a9dd-486f-9274-9aa17c9590a0] Lock freed to object
        'EngineLock:{exclusiveLocks='[3ae307cb-53d6-4d70-87b6-4e073c6f5eb6=VM]',
        sharedLocks=''}'<br>
        2018-03-05 13:03:19,550-04 ERROR
        [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
        (EE-ManagedThreadFactory-engineScheduled-Thread-98)
        [c99e94b0-a9dd-486f-9274-9aa17c9590a0] EVENT_ID:
        IMPORTEXPORT_EXPORT_VM_TO_OVA_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"
cite="mid:CAMCgCFG-nwrguWYDs_fAKNwy1Tc9RVz366OcqJ3vOqwk6rmnXw@mail.gmail.com">
        <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">&lt;<a
                  href="mailto:ahadas@redhat.com" target="_blank"
                  moz-do-not-send="true">ahadas@redhat.com</a>&gt;</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 class="">On Mon, Mar
                        5, 2018 at 6:29 PM, Fabrice SOLER <span
                          dir="ltr">&lt;<a
                            href="mailto:fabrice.soler@ac-guadeloupe.fr"
                            target="_blank" moz-do-not-send="true">fabrice.soler@ac-guadeloupe.<wbr>fr</a>&gt;</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 class="">
                        <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 class="">
                          <div text="#000000" bgcolor="#FFFFFF">
                            <p>Sincerely,</p>
                            <p>Fabrice SOLER</p>
                            <span class="m_-6749734223413973824HOEnZb"><font
                                color="#888888">
                                <div
                                  class="m_-6749734223413973824m_7775425517296664061moz-signature">--
                                  <br>
                                  <img
                                    src="cid:part3.2A914D9B.4A730471@laposte.net"
                                    class="" border="0"></div>
                              </font></span></div>
                          <br>
                        </span>______________________________<wbr>_________________<br>
                        Users mailing list<br>
                        <a href="mailto:Users@ovirt.org" target="_blank"
                          moz-do-not-send="true">Users@ovirt.org</a><br>
                        <a
                          href="http://lists.ovirt.org/mailman/listinfo/users"
                          rel="noreferrer" target="_blank"
                          moz-do-not-send="true">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 class="moz-signature">-- <br>
        <img src="cid:part3.2A914D9B.4A730471@laposte.net" class=""
          border="0"></div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>