<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>OK, then,</p>
    <p>Please find the vdsm logs for both source and destination
      attached.<br>
    </p>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">Eduardo Mayoral Jimeno (<a class="moz-txt-link-abbreviated" href="mailto:emayoral@arsys.es">emayoral@arsys.es</a>)
Administrador de sistemas. Departamento de Plataformas. Arsys internet.
+34 941 620 145 ext. 5153</pre>
    <div class="moz-cite-prefix">On 16/03/17 12:13, Yaniv Kaul wrote:<br>
    </div>
    <blockquote
cite="mid:CAJgorsaMQRA-bAJKORZzm7ej1TNLk9YLadxW0fyzXy9fYySsUw@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr">Please share on the mailing list - I might not get
        to look at them.
        <div>It's not too big.</div>
        <div>Y.</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Mar 16, 2017 at 1:06 PM,
          Eduardo Mayoral <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:emayoral@arsys.es" target="_blank">emayoral@arsys.es</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>Sure! Please find the logs attached. I do not mind
                sharing them on the mailing list, but I feel they are
                probably too big.<br>
              </p>
              <span class="">
                <pre class="m_2346460104026717064moz-signature" cols="72">Eduardo Mayoral Jimeno (<a moz-do-not-send="true" class="m_2346460104026717064moz-txt-link-abbreviated" href="mailto:emayoral@arsys.es" target="_blank">emayoral@arsys.es</a>)
Administrador de sistemas. Departamento de Plataformas. Arsys internet.
<a moz-do-not-send="true" href="tel:+34%20941%2062%2001%2045" value="+34941620145" target="_blank">+34 941 620 145 ext. 5153</a></pre>
              </span>
              <div>
                <div class="h5">
                  <div class="m_2346460104026717064moz-cite-prefix">On
                    16/03/17 11:58, Yaniv Kaul wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr"><br>
                      <div class="gmail_extra"><br>
                        <div class="gmail_quote">On Thu, Mar 16, 2017 at
                          12:56 PM, Eduardo Mayoral <span dir="ltr">&lt;<a
                              moz-do-not-send="true"
                              href="mailto:emayoral@arsys.es"
                              target="_blank">emayoral@arsys.es</a>&gt;</span>
                          wrote:<br>
                          <blockquote class="gmail_quote"
                            style="margin:0 0 0 .8ex;border-left:1px
                            #ccc solid;padding-left:1ex">Hi,<br>
                            <br>
                                An interesting thing just happened on my
                            oVirt deployment.<br>
                            <br>
                                While setting a host for maintenance,
                            one of the VMs running on that<br>
                            host failed to migrate. Then ovirt-engine
                            for some reason turned the VM<br>
                            off. Here are the relevant log lines from
                            engine.log:<br>
                            <br>
                            <br>
                            <br>
                            <br>
                            2017-03-16 09:56:23,324Z INFO<br>
                            [org.ovirt.engine.core.bll.Mig<wbr>rateVmCommand]
                            (default task-60)<br>
                            [61a52216] Lock Acquired to object<br>
                            'EngineLock:{exclusiveLocks='[<wbr>422663a9-d712-4992-7c81-165b29<wbr>76073e=&lt;VM,<br>
                            ACTION_TYPE_FAILED_VM_IS_BEING<wbr>_MIGRATED$VmName<br>
                            entorno127.arsysdesarrollo.lan<wbr>&gt;]',
                            sharedLocks='null'}'<br>
                            2017-03-16 09:56:23,957Z INFO<br>
                            [org.ovirt.engine.core.dal.dbb<wbr>roker.auditloghandling.AuditLo<wbr>gDirector]<br>
                            (default task-60) [61a52216] EVENT_ID:<br>
                            VM_MIGRATION_START_SYSTEM_INIT<wbr>IATED(67),
                            Correlation ID: 61a52216, Job<br>
                            ID: fbc5e0d7-4618-4ca8-b7a7-0fd9a4<wbr>3f490f,
                            Call Stack: null, Custom Event<br>
                            ID: -1, Message: Migration initiated by
                            system (VM:<br>
                            entorno127.arsysdesarrollo.lan<wbr>, Source:
                            <a moz-do-not-send="true"
                              href="http://llkk594.arsyslan.es"
                              rel="noreferrer" target="_blank">llkk594.arsyslan.es</a>,<br>
                            Destination: <a moz-do-not-send="true"
                              href="http://llkk593.arsyslan.es"
                              rel="noreferrer" target="_blank">llkk593.arsyslan.es</a>,
                            Reason: Host preparing for maintenance).<br>
                            2017-03-16 09:56:26,818Z INFO<br>
                            [org.ovirt.engine.core.vdsbrok<wbr>er.monitoring.VmAnalyzer]<br>
                            (DefaultQuartzScheduler10)
                            [7c6c403b-0a82-47aa-aeb4-57fbe<wbr>06e20e1]
                            VM<br>
                            '422663a9-d712-4992-7c81-165b2<wbr>976073e'(entorno127.arsysdesar<wbr>rollo.lan)<br>
                            was unexpectedly detected as 'MigratingTo'
                            on VDS<br>
                            '43f43ec5-e51d-400d-8569-261c9<wbr>8382e3a'(<a
                              moz-do-not-send="true"
                              href="http://llkk593.arsyslan.es"
                              rel="noreferrer" target="_blank">llkk593.arsyslan.es</a>)
                            (expected on<br>
                            '11a82467-afa4-4e4e-bd92-33830<wbr>82d0a5e')<br>
                            2017-03-16 09:56:42,149Z INFO<br>
                            [org.ovirt.engine.core.vdsbrok<wbr>er.monitoring.VmAnalyzer]<br>
                            (DefaultQuartzScheduler10)
                            [fac8ade9-a867-4ff7-aac5-912f7<wbr>8cc3bb5]
                            VM<br>
                            '422663a9-d712-4992-7c81-165b2<wbr>976073e'(entorno127.arsysdesar<wbr>rollo.lan)<br>
                            was unexpectedly detected as 'MigratingTo'
                            on VDS<br>
                            '43f43ec5-e51d-400d-8569-261c9<wbr>8382e3a'(<a
                              moz-do-not-send="true"
                              href="http://llkk593.arsyslan.es"
                              rel="noreferrer" target="_blank">llkk593.arsyslan.es</a>)
                            (expected on<br>
                            '11a82467-afa4-4e4e-bd92-33830<wbr>82d0a5e')<br>
                            2017-03-16 09:56:54,755Z INFO<br>
                            [org.ovirt.engine.core.vdsbrok<wbr>er.monitoring.VmAnalyzer]<br>
                            (DefaultQuartzScheduler3)
                            [54fa9a1b-fddb-4812-b5d2-06cf9<wbr>2834709]
                            VM<br>
                            '422663a9-d712-4992-7c81-165b2<wbr>976073e'(entorno127.arsysdesar<wbr>rollo.lan)<br>
                            moved from 'MigratingFrom' --&gt; 'Down'<br>
                            2017-03-16 09:56:54,755Z INFO<br>
                            [org.ovirt.engine.core.vdsbrok<wbr>er.monitoring.VmAnalyzer]<br>
                            (DefaultQuartzScheduler3)
                            [54fa9a1b-fddb-4812-b5d2-06cf9<wbr>2834709]
                            Handing<br>
                            over VM<br>
                            '422663a9-d712-4992-7c81-165b2<wbr>976073e'(entorno127.arsysdesar<wbr>rollo.lan)<br>
                            to Host '43f43ec5-e51d-400d-8569-261c9<wbr>8382e3a'.
                            Setting VM to status<br>
                            'MigratingTo'<br>
                            2017-03-16 09:56:58,160Z INFO<br>
                            [org.ovirt.engine.core.vdsbrok<wbr>er.monitoring.VmAnalyzer]<br>
                            (DefaultQuartzScheduler4)
                            [dd4ea7bb-85bc-410e-9a8f-357c2<wbr>8d85d1c]
                            VM<br>
                            '422663a9-d712-4992-7c81-165b2<wbr>976073e'(entorno127.arsysdesar<wbr>rollo.lan)<br>
                            is running in db and not running on VDS<br>
                            '43f43ec5-e51d-400d-8569-261c9<wbr>8382e3a'(<a
                              moz-do-not-send="true"
                              href="http://llkk593.arsyslan.es"
                              rel="noreferrer" target="_blank">llkk593.arsyslan.es</a>)<br>
                            2017-03-16 09:56:58,161Z INFO<br>
                            [org.ovirt.engine.core.vdsbrok<wbr>er.monitoring.VmAnalyzer]<br>
                            (DefaultQuartzScheduler4)
                            [dd4ea7bb-85bc-410e-9a8f-357c2<wbr>8d85d1c]
                            add VM<br>
                            '422663a9-d712-4992-7c81-165b2<wbr>976073e'(entorno127.arsysdesar<wbr>rollo.lan)<br>
                            to rerun treatment<br>
                              turn to maintenance while VMs are still
                            running on it.(VM:<br>
                            entorno127.arsysdesarrollo.lan<wbr>, Source:
                            <a moz-do-not-send="true"
                              href="http://llkk594.arsyslan.es"
                              rel="noreferrer" target="_blank">llkk594.arsyslan.es</a>,<br>
                            Destination: <a moz-do-not-send="true"
                              href="http://llkk593.arsyslan.es"
                              rel="noreferrer" target="_blank">llkk593.arsyslan.es</a>).<br>
                            2017-03-16 09:56:59,193Z INFO<br>
                            [org.ovirt.engine.core.bll.Mig<wbr>rateVmCommand]<br>
                            (org.ovirt.thread.pool-7-threa<wbr>d-27)
                            [14d40a88] Lock freed to object<br>
                            'EngineLock:{exclusiveLocks='[<wbr>422663a9-d712-4992-7c81-165b29<wbr>76073e=&lt;VM,<br>
                            ACTION_TYPE_FAILED_VM_IS_BEING<wbr>_MIGRATED$VmName<br>
                            entorno127.arsysdesarrollo.lan<wbr>&gt;]',
                            sharedLocks='null'}'<br>
                            <br>
                            Now, I understand an VM migration may fail
                            for a number of reasons, but<br>
                            in that case, shouldn't the VM keep running
                            on the source host? I do not<br>
                            quite understand what happened here or how
                            to avoid it in the future.<br>
                          </blockquote>
                          <div><br>
                          </div>
                          <div>Can you share vdsm logs from both source
                            and destination?</div>
                          <div>Y.</div>
                          <div> </div>
                          <blockquote class="gmail_quote"
                            style="margin:0 0 0 .8ex;border-left:1px
                            #ccc solid;padding-left:1ex"> <br>
                            Best regards,<br>
                            <span class="m_2346460104026717064HOEnZb"><font
                                color="#888888"><br>
                                --<br>
                                Eduardo Mayoral Jimeno (<a
                                  moz-do-not-send="true"
                                  href="mailto:emayoral@arsys.es"
                                  target="_blank">emayoral@arsys.es</a>)<br>
                                Administrador de sistemas. Departamento
                                de Plataformas. Arsys internet.<br>
                                <a moz-do-not-send="true"
                                  href="tel:%2B34%20941%20620%20145%20ext.%205153"
                                  value="+34941620145" target="_blank">+34
                                  941 620 145 ext. 5153</a><br>
                                <br>
                                ______________________________<wbr>_________________<br>
                                Users mailing list<br>
                                <a moz-do-not-send="true"
                                  href="mailto:Users@ovirt.org"
                                  target="_blank">Users@ovirt.org</a><br>
                                <a moz-do-not-send="true"
                                  href="http://lists.ovirt.org/mailman/listinfo/users"
                                  rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
                              </font></span></blockquote>
                        </div>
                        <br>
                      </div>
                    </div>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>