## Description of problem: When putting a hypervisor into maintenance mode, normal VM's automatically migrate off. However, HostedEngine does not move, and the host stays in 'preparing for maintenance stage' until HostedEngine is manually migrated (or shut down) ## Version-Release number of selected component (if applicable): rhevm-4.0.4.4-0.1.el7ev.noarch ovirt-hosted-engine-ha-2.0.4-1.el7ev.noarch rhvh-4.0-0.20161012.0 ## How reproducible: Always. Sometimes, i can get HostedEngine to get stuck in a 'migrating' state, but it's not. Restarting ovirt-engine clears this out. ## Steps to Reproduce: 1. Right click HostedEngine and put into global maintenance state 2. Put hypervisor running HostedEngine into maintenance 3. ## Actual results: Host says "Preparing for maintenance", but HostedEngine does not start migrating ## Expected results: HostedEngine should migrate automatically if hypervisor is put into maintenance. ## Additional info: Same results if Global Maintenance disabled. If this is not the expected behaviour, it would be nice if there was a pop up reminding you to deal with HostedEngine, or, putting host into maintenance 'fails'
Marcus, can you please give us the hosted engine logs too? A screenshot of the webadmin (Hosts and VMs tabs) would help us too. This might be a duplicate of https://bugzilla.redhat.com/1362618
Ah, no.. we still want the logs, but I just noticed the issue is in your steps: All automatic is disabled when you put the cluster to global maintenance. This includes the local maintenance migrations. Was there a reason for the global maintenance? If not, then this might be a DUP of https://bugzilla.redhat.com/1359499
Btw you might want to check for https://bugzilla.redhat.com/show_bug.cgi?id=1362618#c15 when testing with Global maintenance disabled. This part should be fixed in 4.0.5 iirc.
Created attachment 1221044 [details] migration stuck screenshot I have tried to migrate HostedEngine by putting the host (intelh5) into maintenance. By checking the hypervisors, I can see that it has actually migrated successfully, but the gui only shows '0% completed'
*** This bug has been marked as a duplicate of bug 1362618 ***