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
41 lines
1.8 KiB
Plaintext
41 lines
1.8 KiB
Plaintext
Source: pvc
|
|
Section: main
|
|
Priority: optional
|
|
Maintainer: Joshua Boniface <joshua@boniface.me>
|
|
Standards-Version: 3.9.8
|
|
Homepage: https://www.boniface.me
|
|
X-Python3-Version: >= 3.2
|
|
|
|
Package: pvc-daemon-node
|
|
Architecture: all
|
|
Depends: systemd, pvc-daemon-common, python3-kazoo, python3-psutil, python3-apscheduler, python3-libvirt, python3-psycopg2, python3-dnspython, python3-yaml, python3-distutils, python3-rados, python3-gevent, ipmitool, libvirt-daemon-system, arping, vlan, bridge-utils, dnsmasq, nftables, pdns-server, pdns-backend-pgsql
|
|
Suggests: pvc-client-api, pvc-client-cli
|
|
Description: Parallel Virtual Cluster node daemon (Python 3)
|
|
A KVM/Zookeeper/Ceph-based VM and private cloud manager
|
|
.
|
|
This package installs the PVC node daemon
|
|
|
|
Package: pvc-daemon-api
|
|
Architecture: all
|
|
Depends: systemd, pvc-daemon-common, python3-yaml, python3-flask, python3-flask-restful, python3-celery, python-celery-common, python3-distutils, redis, python3-redis, python3-lxml, python3-flask-migrate, python3-flask-script, fio
|
|
Description: Parallel Virtual Cluster API daemon (Python 3)
|
|
A KVM/Zookeeper/Ceph-based VM and private cloud manager
|
|
.
|
|
This package installs the PVC API daemon
|
|
|
|
Package: pvc-daemon-common
|
|
Architecture: all
|
|
Depends: python3-kazoo, python3-psutil, python3-click, python3-lxml
|
|
Description: Parallel Virtual Cluster common libraries (Python 3)
|
|
A KVM/Zookeeper/Ceph-based VM and private cloud manager
|
|
.
|
|
This package installs the common libraries for the daemon and API
|
|
|
|
Package: pvc-client-cli
|
|
Architecture: all
|
|
Depends: python3-requests, python3-requests-toolbelt, python3-yaml, python3-lxml, python3-click
|
|
Description: Parallel Virtual Cluster CLI client (Python 3)
|
|
A KVM/Zookeeper/Ceph-based VM and private cloud manager
|
|
.
|
|
This package installs the PVC API command-line client
|