pvc/debian
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
..
source Move to YAML config and allow split functions 2019-03-11 01:47:40 -04:00
changelog Bump version to 0.9.24 2021-07-09 15:58:36 -04:00
compat Debianize the packaging 2018-06-17 14:55:13 -04:00
control Revert "Return to all command-based Ceph gathering" 2021-07-10 03:47:45 -04:00
copyright Update file copyright header. 2021-03-25 16:58:02 -04:00
pvc-client-cli.install Convert pvc-client-cli into a proper Python module 2021-06-23 05:03:19 -04:00
pvc-client-cli.postinst Ensure postinst and prerm always succeed 2021-06-23 20:35:40 -04:00
pvc-client-cli.prerm Ensure postinst and prerm always succeed 2021-06-23 20:35:40 -04:00
pvc-daemon-api.install Add missing install of pvcapid-worker.sh 2021-07-06 09:40:42 -04:00
pvc-daemon-api.postinst Fix script link in postinst message 2020-02-17 11:31:41 -05:00
pvc-daemon-api.prerm Use consistent naming of components 2020-02-08 19:34:07 -05:00
pvc-daemon-common.install Rename API and common Debian packages 2020-02-08 18:50:38 -05:00
pvc-daemon-node.install Add initial monitoring configurations to daemon 2020-08-17 17:05:55 -04:00
pvc-daemon-node.postinst Use consistent naming of components 2020-02-08 19:34:07 -05:00
pvc-daemon-node.preinst Align naming of Debian packages 2020-02-08 18:58:56 -05:00
pvc-daemon-node.prerm Use consistent naming of components 2020-02-08 19:34:07 -05:00
rules Convert pvc-client-cli into a proper Python module 2021-06-23 05:03:19 -04:00