Bug 1393686 - When putting hypervisor into maintenance, HostedEngine does not migrate
Summary: When putting hypervisor into maintenance, HostedEngine does not migrate
Keywords:
Status: CLOSED DUPLICATE of bug 1362618
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-ha
Version: 4.0.4
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Martin Sivák
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-10 07:25 UTC by Marcus West
Modified: 2016-11-23 11:51 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-23 11:51:42 UTC
oVirt Team: SLA
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Marcus West 2016-11-10 07:25:23 UTC
## 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'

Comment 4 Martin Sivák 2016-11-11 08:59:12 UTC
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

Comment 5 Martin Sivák 2016-11-11 09:01:44 UTC
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

Comment 6 Martin Sivák 2016-11-11 09:04:11 UTC
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.

Comment 8 Marcus West 2016-11-16 07:08:08 UTC
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'

Comment 9 Doron Fediuck 2016-11-23 11:51:42 UTC

*** This bug has been marked as a duplicate of bug 1362618 ***


Note You need to log in before you can comment on or make changes to this bug.