<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:56 PM, Simone
      Tiraboschi wrote:<br>
    </div>
    <blockquote
cite="mid:CAN8-ONoLO_bReAa=OMseF_HqV=eV1eBrYYt7n+YapC5joTw9qg@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Thu, Nov 24, 2016 at 2:08 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:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000">
                <div>
                  <div class="h5">
                    <div class="m_-6170493833456119351moz-cite-prefix">On
                      11/24/2016 06:15 PM, Simone Tiraboschi wrote:<br>
                    </div>
                    <blockquote 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 moz-do-not-send="true"
                              class="m_-6170493833456119351moz-txt-link-freetext">INFO::2016-11-24</a>
                            17:55:04,914::ovf_store::112::<wbr>ovirt_hosted_engine_ha.lib.<wbr>ovf.ovf_store.OVFStore::(<wbr>getEngineVMOVF)
                            Extracting Engine VM OVF from the OVF_STORE<br>
                            MainThread::<a moz-do-not-send="true"
                              class="m_-6170493833456119351moz-txt-link-freetext">INFO::2016-11-24</a>
                            17:55:04,919::ovf_store::119::<wbr>ovirt_hosted_engine_ha.lib.<wbr>ovf.ovf_store.OVFStore::(<wbr>getEngineVMOVF)
                            OVF_STORE volume path:
                            /rhev/data-center/mnt/<wbr>glusterSD/10.70.36.79:_engine/<wbr>27f054c3-c245-4039-b42a-<wbr>c28b37043016/images/fdf49778-<wbr>9a06-49c6-bf7a-a0f12425911c/<wbr>8c954add-6bcf-47f8-ac2e-<wbr>4c85fc3f8699<br>
                            MainThread::ERROR::2016-11-24
                            17:55:04,928::ovf_store::124::<wbr>ovirt_hosted_engine_ha.lib.<wbr>ovf.ovf_store.OVFStore::(<wbr>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::<wbr>ovirt_hosted_engine_ha.agent.<wbr>agent.Agent::(_run_agent)
                            Error: ''Configuration value not found:
                            file=/var/run/ovirt-hosted-<wbr>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>
                  </div>
                </div>
                <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>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>And the host where you see the initial issue was the
              third one? <br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    It is on the first host.<br>
    <blockquote
cite="mid:CAN8-ONoLO_bReAa=OMseF_HqV=eV1eBrYYt7n+YapC5joTw9qg@mail.gmail.com"
      type="cite">
      <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">
              <div bgcolor="#FFFFFF" text="#000000">
                <p>[1] <a moz-do-not-send="true"
                    class="m_-6170493833456119351moz-txt-link-freetext"
href="http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/HC/vm_conf/"
                    target="_blank">http://rhsqe-repo.lab.eng.blr.<wbr>redhat.com/sosreports/HC/vm_<wbr>conf/</a></p>
                <p>Thanks</p>
                <p>kasturi<br>
                </p>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>