Change in ovirt-hosted-engine-ha[master]: agent: temporarily drop host score upon enexpected VM shutdown

gpadgett at redhat.com gpadgett at redhat.com
Tue Oct 29 13:56:48 UTC 2013


Greg Padgett has submitted this change and it was merged.

Change subject: agent: temporarily drop host score upon enexpected VM shutdown
......................................................................


agent: temporarily drop host score upon enexpected VM shutdown

When the agent detects that the engine VM is shut down unexpectedly,
it will lower the score to encourage the VM to start on a different
host.

This is an optimization to assist the user in putting a host
into maintenance mode more quickly.  If it is used in this manner, the
user should remember to enable host maintenance mode, else the score
will eventually revert to its usual number and the host may re-acquire
the engine VM.

Change-Id: If11d561a39cc9723ffdd55836db693fc2aad0575
Bug-Url: https://bugzilla.redhat.com/1015724
Signed-off-by: Greg Padgett <gpadgett at redhat.com>
---
M ovirt_hosted_engine_ha/agent/constants.py.in
M ovirt_hosted_engine_ha/agent/hosted_engine.py
M ovirt_hosted_engine_ha/lib/util.py
3 files changed, 39 insertions(+), 7 deletions(-)

Approvals:
  Greg Padgett: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/20279
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If11d561a39cc9723ffdd55836db693fc2aad0575
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: master
Gerrit-Owner: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list