]> git.proxmox.com Git - pve-ha-manager.git/commit
HA Env: add 'is_poweroff' function
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 14 Dec 2015 14:29:59 +0000 (15:29 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 15 Dec 2015 15:35:12 +0000 (16:35 +0100)
commitd42219a3c7c25ce42860962a24c5bd0b2beed706
tree46413ab8b1ca40ddd8e0d159258c85d5d32dabc1
parent27a9e51da586c8640a505504c73d8de2f39d8cc7
HA Env: add 'is_poweroff' function

This function returns true if we do an shutdown/poweroff and thus the
services should not get freezed but fenced if the node does not
comes back up fast enough.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
src/PVE/HA/Env.pm
src/PVE/HA/Env/PVE2.pm
src/PVE/HA/Sim/Env.pm
src/PVE/HA/Sim/TestEnv.pm