Change in ovirt-hosted-engine-ha[ovirt-hosted-engine-ha-1.2]: Stop monitoring domain during maintenance / shutdown

msivak at redhat.com msivak at redhat.com
Tue Jan 19 14:22:45 UTC 2016


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

Change subject: Stop monitoring domain during maintenance / shutdown
......................................................................


Stop monitoring domain during maintenance / shutdown

The vdsm's domain monitor has to be stopped when owned by
the HA agent. The stop is important for upgrade reasons as
it releases sanlock leases that would otherwise prevent
sanlock from upgrading.
Increasing killproc timeout from default (3 seconds) to 90
seconds (systemd defaults) to have all the time to properly
remove the lease and stop monitoring before being killed
with -9.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1298461
Change-Id: I7761fe7e40cb4df6a942b70d2f3307c098828293
Signed-off-by: Martin Sivak <msivak at redhat.com>
---
M initscripts/ovirt-ha-agent.init.in
M ovirt_hosted_engine_ha/agent/hosted_engine.py
2 files changed, 55 insertions(+), 3 deletions(-)

Approvals:
  Martin Sivák: Verified; Looks good to me, approved; Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7761fe7e40cb4df6a942b70d2f3307c098828293
Gerrit-PatchSet: 9
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: ovirt-hosted-engine-ha-1.2
Gerrit-Owner: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list