Change in ovirt-hosted-engine-ha[master]: agent: enable global maintenance mode

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


Greg Padgett has submitted this change and it was merged.

Change subject: agent: enable global maintenance mode
......................................................................


agent: enable global maintenance mode

Setting the maintenance flag ("maintenance=1") in the cluster-wide
shared metadata block will now cause all aware HA agents to ignore the
HA VM state, allowing the admin to perform arbitrary operations on/with
the VM.

To facilitate setting/unsetting maintenance mode, the HAClient class has
a new method:

  HAClient.set_global_md_flag('maintenance', <true|false>)

The boolean argument can be anything typically parsed as a boolean,
such as True, 'true', 'yes', 1, False, 'false', 'no', 0.

Change-Id: I796d768e197c5fe73646e67297714392bc6e8201
Bug-Url: https://bugzilla.redhat.com/1015724
Signed-off-by: Greg Padgett <gpadgett at redhat.com>
---
M doc/agent-fsm.gv
M ovirt_hosted_engine_ha/agent/hosted_engine.py
M ovirt_hosted_engine_ha/broker/constants.py.in
M ovirt_hosted_engine_ha/broker/storage_broker.py
M ovirt_hosted_engine_ha/client/client.py
M ovirt_hosted_engine_ha/env/constants.py.in
M ovirt_hosted_engine_ha/lib/metadata.py
7 files changed, 241 insertions(+), 30 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I796d768e197c5fe73646e67297714392bc6e8201
Gerrit-PatchSet: 7
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: Federico Simoncelli <fsimonce 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