Change in ovirt-hosted-engine-ha[master]: Add EngineMaybeAway state to wait before EngineUnexpectedlyD...

Code Review gerrit at ovirt.org
Wed Mar 15 15:25:36 UTC 2017


>From Martin Sivák <msivak at redhat.com>:

Martin Sivák has submitted this change and it was merged.

Change subject: Add EngineMaybeAway state to wait before EngineUnexpectedlyDown state
......................................................................


Add EngineMaybeAway state to wait before EngineUnexpectedlyDown state

When the hosted engine VM is migrated quickly, the source agent will miss
the migation process and switch to EngineUnexpetedlyDown state.

This patch adds an intermediate state, EngineMaybeAway, which waits for the
VM to appear on another host. If it does not appear in a certain time,
it moves to EngineUnexpetedlyDown.

Change-Id: I1a71997bf744666a9b2cb6dd926d034a945d76a0
Bug-Url: https://bugzilla.redhat.com/1419326
Signed-off-by: Andrej Krejcir <akrejcir at redhat.com>
---
M ovirt_hosted_engine_ha/agent/constants.py.in
M ovirt_hosted_engine_ha/agent/states.py
2 files changed, 54 insertions(+), 7 deletions(-)

Approvals:
  Martin Sivák: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Andrej Krejcir: Verified



-- 
To view, visit https://gerrit.ovirt.org/73863
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1a71997bf744666a9b2cb6dd926d034a945d76a0
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: master
Gerrit-Owner: Andrej Krejcir <akrejcir at redhat.com>
Gerrit-Reviewer: Andrej Krejcir <akrejcir at redhat.com>
Gerrit-Reviewer: Denis Chaplygin <dchaplyg at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Jenny Tokar <jtokar at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Phillip Bailey <phbailey at redhat.com>
Gerrit-Reviewer: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Yanir Quinn <yquinn at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list