]> git.proxmox.com Git - pve-ha-manager.git/commit
sim: implement skip-round command for crm/lrm
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 19 Jan 2022 09:55:29 +0000 (10:55 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 19 Jan 2022 10:19:34 +0000 (11:19 +0100)
commit1b21e7e651602defde46d42b7340d1381379a73c
tree9e2c3d72a8f92c206c3b7f12af9c1d41e0225d7e
parent214b70f45aa4d46543bab02f56405a6dbf7a1e33
sim: implement skip-round command for crm/lrm

This allows to simulate situations where there's some asymmetry
required in service type scheduling, e.g., if we the master should
not pickup LRM changes just yet - something that can happen quite
often in the real world due to scheduling not being predictable,
especially across different hosts.

The implementation is pretty simple for now, that also means we just
do not care about watchdog updates for the skipped service, meaning
that one is limited to skip two 20s rounds max before self-fencing
kicks in.

This can be made more advanced once required.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/HA/Sim/Hardware.pm
src/PVE/HA/Sim/TestHardware.pm