<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 31 July 2016 at 02:24, Kenneth Bingham <span dir="ltr">&lt;<a href="mailto:w@qrk.us" target="_blank">w@qrk.us</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"><div>When I set local maintenance on the self-hosted engine hypervisor host through   </div><div>the manager GUI it becomes stuck in state &quot;Preparing for maintenance&quot;. The       </div><div>hosted engine virtual guest is automatically migrated because the HA broker is   </div><div>successfully set to maintenance mode=local. The host returns to state &quot;Up&quot; in    </div><div>the manager if I press button &quot;Activate&quot;, but the column &quot;Virtual Machines&quot;      </div><div>continues to count the migrated VM. If I then reboot the host it reverts to      </div><div>state &quot;Up&quot; and the VM count no longer includes the vacated hosted engine, so I&#39;m </div><div>guessing it never *really* achieved state &quot;Maintenance&quot; even though the event    </div><div>log claims so immediately after the button is pressed. The condition persists    </div><div>after the reboot if the then-current hosted engine hypervisor host is again      </div><div>assigned to mode &quot;Maintenance&quot;. <span style="line-height:1.5">I&#39;m running 4.0.1, and I&#39;ve tried restarting services </span></div><div><span style="line-height:1.5">and rebooting the hosts and VM involved. I suspect it has something to do with my other </span></div><div><span style="line-height:1.5">thread about the locked storage domain.</span></div></div>
<br></blockquote><div><br></div><div>how much time did you wait? </div><div><br></div><div>The Host is in preparing for maintenance as long as it&#39;s VM count is &gt; 0. So if the HE VM migrated to another host, the engine will detect that and will update the count accordingly. This transition is fast but not instant, cause the engine is pulling the info from all the hosts. If  the host is not running any vm and still can&#39;t be move to maintenance then lets see the logs VDSM of src and dst + engine.log  </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>