pvc/daemon-common
Joshua Boniface 80f04ce8ee Remove connection renewal in state handler
Regenerating the ZK connection was fraught with issues, including
duplicate connections, strange failures to reconnect, and various other
wonkiness.

Instead let Kazoo handle states sensibly. Kazoo moves to SUSPENDED state
when it loses connectivity, and stays there indefinitely (based on
cursory tests). And Kazoo seems to always resume from this just fine on
its own. Thus all that hackery did nothing but complicate reconnection.

This therefore turns the listener into a purely informational function,
providing logs of when/why it failed, and we also add some additional
output messages during initial connection and final disconnection.
2021-07-07 11:55:12 -04:00
..
migrations/versions Add node PVC version data to Node information 2021-07-05 09:57:38 -04:00
ceph.py Move Ceph pool/volume list assembly to thread pool 2021-07-01 17:33:13 -04:00
cluster.py Fix incorrect handling of deletions in init 2021-06-29 18:41:02 -04:00
common.py Remove unnecessary try/except blocks from VM reads 2021-07-02 12:01:58 -04:00
log.py Move logger to common, fix buffering 2021-06-01 18:50:26 -04:00
network.py Store PHY MAC for VFs and restore after free 2021-06-22 00:56:47 -04:00
node.py Add node PVC version data to Node information 2021-07-05 09:57:38 -04:00
vm.py Move VM list assembly to thread pool 2021-07-01 17:32:47 -04:00
zkhandler.py Remove connection renewal in state handler 2021-07-07 11:55:12 -04:00