<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 "Preparing for maintenance". 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 "Up" in </div><div>the manager if I press button "Activate", but the column "Virtual Machines" </div><div>continues to count the migrated VM. If I then reboot the host it reverts to </div><div>state "Up" and the VM count no longer includes the vacated hosted engine, so I'm </div><div>guessing it never *really* achieved state "Maintenance" 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 "Maintenance". <span style="line-height:1.5">I'm running 4.0.1, and I'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>