pvc/node-daemon
Joshua Boniface 7c99a7bda7 Safely reset RBD locks on failed VMs
Should correct issues on cold start as well as if a VM crashes
uncleanly, which would prevent the VM from starting due to stale RBD
locks.

This implementation has four parts:
  1. Update how IP addresses are handled, specifically by replacing all
  previous instances of "vni_ipaddr" with "vni_floatingipaddr", and then
  adding the "vni_ipaddr" with the real data for this node's IPs. Also
  include the storage IPs in this where they weren't before, so each
  this_node actually has the local IPs plus floating IPs. This enables
  the next two steps.
  2. Modify flush_locks to take this_node as an argument, and update the
  run_command function to only operate against this node, rather than on
  the primary coordinator.
  3. Have the flush_locks check each lock against the current node, to
  verify that the lock is actually held by the current node. This is the
  only way to do this safely. During fencing, we override this by not
  passing a this_node which bypasses this check.
  4. Have the VM start do the check for VM failure/startup and execute a
  flush_locks before actually starting the VM.
2020-12-14 15:53:18 -05:00
..
monitoring Improve Munin check with extinfo 2020-10-19 11:01:00 -04:00
pvcnoded Safely reset RBD locks on failed VMs 2020-12-14 15:53:18 -05:00
pvc-flush.service Increase start delay of flush service 2020-08-11 14:17:35 -04:00
pvc.target Correct name of systemd target 2020-02-08 20:39:07 -05:00
pvcnoded.py Lint: E261 at least two spaces before inline comment 2020-11-07 13:11:03 -05:00
pvcnoded.sample.yaml Rename sample database for API 2020-08-25 01:59:35 -04:00
pvcnoded.service Depend pvcnoded on Zookeeper (harder) and libvirtd 2020-04-09 09:57:53 -04:00