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 <gpadg...@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 <gpadg...@redhat.com> Gerrit-Reviewer: Doron Fediuck <dfedi...@redhat.com> Gerrit-Reviewer: Federico Simoncelli <fsimo...@redhat.com> Gerrit-Reviewer: Greg Padgett <gpadg...@redhat.com> Gerrit-Reviewer: Martin Sivák <msi...@redhat.com> Gerrit-Reviewer: Sandro Bonazzola <sbona...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches