<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 11/24/2016 06:15 PM, Simone
      Tiraboschi wrote:<br>
    </div>
    <blockquote
cite="mid:CAN8-ONq1qKA_-Sb_NCFPDsbhFRgBY6hrAXUfbg_utEjfAqSAAg@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Thu, Nov 24, 2016 at 1:26 PM,
            knarra <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:knarra@redhat.com" target="_blank">knarra@redhat.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">Hi,<br>
              <br>
                  I have three nodes with glusterfs as storage domain.
              For some reason i see that vm.conf from
              /var/run/ovirt-hosted-engine-h<wbr>a is missing and due to
              this on one of my host i see that Hosted Engine HA : Not
              Active. Once i copy the file from some other node and
              restart ovirt-ha-broker and ovirt-ha-agent services
              everything works fine. But then this happens again. Can
              some please help me identify why this happens. Below is
              the log i see in ovirt-ha-agent.logs.<br>
              <br>
              <br>
              <a moz-do-not-send="true"
                href="https://paste.fedoraproject.org/489120/79990345/"
                rel="noreferrer" target="_blank">https://paste.fedoraproject.or<wbr>g/489120/79990345/</a><br>
              <br>
            </blockquote>
            <div><br>
            </div>
            Once the engine correctly imported the hosted-engine storage
            domain, a couple of OVF_STORE volumes will appear there.<br>
            Every modification to the engine VM configuration will be
            written by the engine into that OVF_STORE, so all the
            ovirt-ha-agent running on the hosted-engine hosts will be
            able to re-start the engine VM with a coherent
            configuration.<br>
            <br>
            Till the engine imports the hosted-engine storage domain,
            ovirt-ha-agent will fall back to the initial vm.conf.<br>
            <br>
            In you case the OVF_STORE volume is there,<br>
            but the agent fails extracting the engine VM configuration:<br>
            MainThread::<a class="moz-txt-link-freetext" href="INFO::2016-11-24">INFO::2016-11-24</a>
17:55:04,914::ovf_store::112::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF)
            Extracting Engine VM OVF from the OVF_STORE<br>
            MainThread::<a class="moz-txt-link-freetext" href="INFO::2016-11-24">INFO::2016-11-24</a>
17:55:04,919::ovf_store::119::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF)
            OVF_STORE volume path:
/rhev/data-center/mnt/glusterSD/10.70.36.79:_engine/27f054c3-c245-4039-b42a-c28b37043016/images/fdf49778-9a06-49c6-bf7a-a0f12425911c/8c954add-6bcf-47f8-ac2e-4c85fc3f8699<br>
            MainThread::ERROR::2016-11-24
17:55:04,928::ovf_store::124::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF)
            Unable to extract HEVM OVF<br>
            <br>
            So it tries to rollback to the initial vm.conf, but also
            that one seams to miss some values and so the agent is
            failing:<br>
            MainThread::ERROR::2016-11-24
17:55:04,974::agent::205::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent)
            Error: ''Configuration value not found:
            file=/var/run/ovirt-hosted-engine-ha/vm.conf, key=memSize''
            - trying to restart agent<br>
            <br>
            Both of the issue seams storage related, could yuo please
            share your gluster logs?<br>
            <br>
             
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <br>
              Thanks<br>
              <br>
              kasturi<br>
              <br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <p>Hi Simone,</p>
    <p>    Below [1] is the link for the sosreports on the first two
      hosts. The third host has some issue. Once it is up will give the
      sosreport from there as well.</p>
    <p>[1]
      <a class="moz-txt-link-freetext" href="http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/HC/vm_conf/">http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/HC/vm_conf/</a></p>
    <p>Thanks</p>
    <p>kasturi<br>
    </p>
  </body>
</html>