Change in ovirt-hosted-engine-ha[master]: Lockspace reset tool support

msivak at redhat.com msivak at redhat.com
Tue Mar 10 12:49:53 UTC 2015


Martin Sivák has submitted this change and it was merged.

Change subject: Lockspace reset tool support
......................................................................


Lockspace reset tool support

A new method is added to the Client class.

reset_lockspace(force=False)

This method connects to the broker, retrieves stats
and verifies that all hosts reported stopped==True
and that the HA cluster is in global maintenance
mode.

It then uses sanlock to reinitialize the lockspace
used to protect agent id numbers.

Change-Id: I1c9d1c329ad56f288aac50077411778f99d194f0
Signed-off-by: Martin Sivak <msivak at redhat.com>
---
M ovirt_hosted_engine_ha/client/client.py
1 file changed, 47 insertions(+), 0 deletions(-)

Approvals:
  Sandro Bonazzola: Looks good to me, but someone else must approve
  Martin Sivák: Verified; Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/38494
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1c9d1c329ad56f288aac50077411778f99d194f0
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: master
Gerrit-Owner: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list