Change in vdsm[ovirt-3.5]: fencing: Skip fencing if host is maintaining its lease

ybronhei at redhat.com ybronhei at redhat.com
Fri Aug 8 19:55:57 UTC 2014


Yaniv Bronhaim has submitted this change and it was merged.

Change subject: fencing: Skip fencing if host is maintaining its lease
......................................................................


fencing: Skip fencing if host is maintaining its lease

1) Adds fencingPolicy parameter to fenceNode API call. The parameter is
   optional, but it's supposed to be used in oVirt >= 3.5.
2) fencingPolicy parameter can contain storageDomainHostIdMap, which
   is a map of storage domains and host ids
3) If clusterlock reports that host is live on at least one of specified
   storage domains, the fence agent execution is skipped and host is
   considered alive

Change-Id: I7b1fd9521cebea28d0402e53d46d74b95e73f383
Bug-Url: https://bugzilla.redhat.com/1090799
Signed-off-by: Martin Perina <mperina at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/31230
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
Reviewed-by: Nir Soffer <nsoffer at redhat.com>
Reviewed-by: Oved Ourfali <oourfali at redhat.com>
---
M vdsm/API.py
M vdsm/rpc/BindingXMLRPC.py
M vdsm/rpc/vdsmapi-schema.json
3 files changed, 89 insertions(+), 12 deletions(-)

Approvals:
  Nir Soffer: Looks good to me, but someone else must approve
  Martin Peřina: Verified
  Dan Kenigsberg: Looks good to me, approved
  Oved Ourfali: Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7b1fd9521cebea28d0402e53d46d74b95e73f383
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: automation at ovirt.org


More information about the vdsm-patches mailing list