pvc/daemon-common
Joshua Boniface a6f8500309 Improve fence handling to prevent anomalies
1. Move fence monitoring to its own thread rather than doing the listing
and triggering within the main keepalive thread.
2. Add a global lock key at /config/fence_lock and use this lock key to
prevent multiple nodes from trying to run fences simultaneously.
3. Run the fencing monitor for each node sequentially within the context
of the main fence monitoring thread, to ensure that fences of multiple
nodes happen sequentially rather than in parallel.

All of these should help to prevent any anomalies where one node can try
to fence multiple nodes at once without recourse.
2024-10-10 16:42:57 -04:00
..
migrations/versions Improve fence handling to prevent anomalies 2024-10-10 16:42:57 -04:00
__init__.py Add module tag for daemon lib 2022-11-04 03:47:18 -04:00
autobackup.py Simplify Celery event handling 2024-08-25 21:59:12 -04:00
benchmark.py Allow specifying job names for benchmarks 2024-09-18 14:55:12 -04:00
celery.py Update copyright header on all files for 2024 2023-12-29 11:16:59 -05:00
ceph.py Fix bug where snapshot rollback was never called 2024-09-30 03:04:35 -04:00
cluster.py Add "mirror" VM state 2024-09-28 02:01:56 -04:00
common.py Add "mirror" VM state 2024-09-28 02:01:56 -04:00
config.py Port VM autobackups into pvcworkerd with snaps 2024-08-23 17:23:06 -04:00
faults.py Update copyright header on all files for 2024 2023-12-29 11:16:59 -05:00
libvirt_schema.py Update copyright header on all files for 2024 2023-12-29 11:16:59 -05:00
log.py Update copyright header on all files for 2024 2023-12-29 11:16:59 -05:00
network.py Update copyright header on all files for 2024 2023-12-29 11:16:59 -05:00
node.py Fix bug with network stats 2024-03-07 15:44:35 -05:00
vm.py Properly preserve state on promotion 2024-10-10 01:21:05 -04:00
vmbuilder.py Add check for invalid profile 2024-07-13 17:13:40 -04:00
zkhandler.py Improve fence handling to prevent anomalies 2024-10-10 16:42:57 -04:00