Change in ovirt-hosted-engine-ha[master]: Add clean shutdown flag and checksum to the published metadata

msivak at redhat.com msivak at redhat.com
Mon Mar 2 14:24:17 UTC 2015


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 at 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 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