pvc/node-daemon
Joshua Boniface cfeba50b17 Revert "Return to all command-based Ceph gathering"
This reverts commit 65d14ccd92.

This was actually a bad idea. For inexplicable reasons, running these
Ceph commands manually (not even via Python, but in a normal shell)
takes 7 * two orders of magnitude longer than running them with the
Rados module, so long in fact that some basic commands like "ceph
health" would sometimes take longer than the 1 second timeout to
complete. The Rados commands would however take about 1ms instead.

Despite the occasional issues when monitors drop out, the Rados module
is clearly far superior to the shell commands for any moderately-loaded
Ceph cluster. We can look into solving timeouts another way (perhaps
with Processes instead of Threads) at a later time.

Rados module "ceph health":
    b'{"checks":{},"status":"HEALTH_OK"}'
    0.001204 (s)
    b'{"checks":{},"status":"HEALTH_OK"}'
    0.001258 (s)
Command "ceph health":
    joshua@hv1.c.bonilan.net ~ $ time ceph health >/dev/null
    real    0m0.772s
    user    0m0.707s
    sys     0m0.046s
    joshua@hv1.c.bonilan.net ~ $ time ceph health >/dev/null
    real    0m0.796s
    user    0m0.728s
    sys     0m0.054s
2021-07-10 03:47:45 -04:00
..
monitoring Improve Munin check with extinfo 2020-10-19 11:01:00 -04:00
pvcnoded Revert "Return to all command-based Ceph gathering" 2021-07-10 03:47:45 -04:00
daemon_lib Add daemon_lib symlink to pvcnoded 2021-05-30 00:00:07 -04: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 Update copyright year in headers 2021-03-25 17:01:55 -04:00
pvcnoded.sample.yaml Add initial SR-IOV support to node daemon 2021-06-15 22:56:09 -04:00
pvcnoded.service Remove systemd deps on zookeeper and libvirt 2021-01-28 16:25:02 -05:00