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(a)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(a)redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server