Change in vdsm[master]: API: setHaMaintenanceMode command
danken at redhat.com
danken at redhat.com
Tue Feb 11 23:18:45 UTC 2014
Dan Kenigsberg has submitted this change and it was merged.
Change subject: API: setHaMaintenanceMode command
......................................................................
API: setHaMaintenanceMode command
New API for setting hosted engine maintenance mode. This allows the
engine to send commands to the hosted engine agent in order to ease any
necessary maintenance tasks. The following modes are supported:
local - allow maintenance of the host by effectively stopping the ha
agent from performing any vm-related activity. The engine vm is
moved to another host in the ha cluster, and the host score is set
to 0. It is meant to correspond to vds maintenance operations
performed by the engine.
global - allow maintenance of the ha system or engine vm. All hosted
engine state changes are halted for all nodes in the ha cluster,
so that user-initiated changes to the vm or hosts are ignored.
This API improves usability for the hosted engine subsystem by enabling
changes in the engine ui that would otherwise require the command-line.
For more information:
http://www.ovirt.org/Features/Self_Hosted_Engine_Maintenance_Flows
Change-Id: Ic08c5edb0e9b8cc11eb70ef6a66301335c42aad3
Bug-Url: https://bugzilla.redhat.com/1053040
Signed-off-by: Greg Padgett <gpadgett at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/23264
Reviewed-by: Yaniv Bronhaim <ybronhei at redhat.com>
Reviewed-by: Adam Litke <alitke at redhat.com>
---
M client/vdsClient.py
M lib/vdsm/define.py
M vdsm/API.py
M vdsm/BindingXMLRPC.py
M vdsm_api/vdsmapi-schema.json
5 files changed, 75 insertions(+), 0 deletions(-)
Approvals:
Adam Litke: Looks good to me, approved
Greg Padgett: Verified
Yaniv Bronhaim: Looks good to me, but someone else must approve
--
To view, visit http://gerrit.ovirt.org/23264
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic08c5edb0e9b8cc11eb70ef6a66301335c42aad3
Gerrit-PatchSet: 7
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the vdsm-patches
mailing list