Martin Sivák has submitted this change and it was merged.
Change subject: Add clean shutdown flag and checksum to the published metadata
......................................................................
Add clean shutdown flag and checksum to the published metadata
The shutdown flag is published only when the agent shuts down
cleanly and the checksum (crc32) is used to protect the metadata
section from corruption.
Both features will be then used together with sanlock lease file
to make sure a host can be decommisioned.
Change-Id: Idbcc3a345a08a03e95edcbdf9f3c6f7e6fa1a5fd
Signed-off-by: Martin Sivak <msivak(a)redhat.com>
---
M ovirt_hosted_engine_ha/agent/hosted_engine.py
M ovirt_hosted_engine_ha/agent/states.py
M ovirt_hosted_engine_ha/lib/metadata.py
3 files changed, 76 insertions(+), 15 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/38276
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Idbcc3a345a08a03e95edcbdf9f3c6f7e6fa1a5fd
Gerrit-PatchSet: 1
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