pvc/node-daemon/pvcnoded
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
..
CephInstance.py Fix typo in CephInstance path 2021-06-10 00:36:02 -04:00
DNSAggregatorInstance.py Handle an additional exception case 2021-06-14 17:15:40 -04:00
Daemon.py Revert "Return to all command-based Ceph gathering" 2021-07-10 03:47:45 -04:00
MetadataAPIInstance.py Ensure we don't grab None data 2021-06-13 16:43:25 -04:00
NodeInstance.py Fix typo in schema path name 2021-07-05 23:23:23 -04:00
SRIOVVFInstance.py Ensure MTU is set on VF when starting up 2021-06-22 02:26:14 -04:00
VMConsoleWatcherInstance.py Use more compatible is_alive in thread 2021-06-13 14:36:27 -04:00
VMInstance.py Make extra sure VMs terminate when told 2021-07-02 11:40:34 -04:00
VXNetworkInstance.py Fix name of schema element 2021-06-13 20:56:17 -04:00
__init__.py Use consistent naming of components 2020-02-08 19:34:07 -05:00
dnsmasq-zookeeper-leases.py Update copyright year in headers 2021-03-25 17:01:55 -04:00
fencing.py Convert fencing to new ZK schema handler 2021-06-09 21:29:01 -04:00