Joshua Boniface
58d57d7037
Bump version to 0.9.46
2021-12-28 15:02:14 -05:00
Joshua Boniface
f164d898c1
Bump version to 0.9.45
2021-11-25 09:34:20 -05:00
Joshua Boniface
817dffcf30
Bump version to 0.9.44
2021-11-11 16:20:38 -05:00
Joshua Boniface
6e9fcd38a3
Bump version to 0.9.43
2021-11-08 02:29:17 -05:00
Joshua Boniface
dfca998adf
Fix bad test in postinst
2021-10-19 00:27:12 -04:00
Joshua Boniface
e88147db4a
Bump version to 0.9.42
2021-10-12 15:25:42 -04:00
Joshua Boniface
f13cc04b89
Bump version to 0.9.41
2021-10-09 19:39:21 -04:00
Joshua Boniface
c27359c4bf
Bump version to 0.9.40
2021-10-07 14:42:04 -04:00
Joshua Boniface
bdb9db8375
Bump version to 0.9.39
2021-10-07 11:52:38 -04:00
Joshua Boniface
da9248cfa2
Bump version to 0.9.38
2021-10-03 22:32:41 -04:00
Joshua Boniface
bba73980de
Revamp postinst for the API daemon
...
Ensures that the worker is always restarted and make the NOTE
conditional more specific.
2021-10-03 15:15:26 -04:00
Joshua Boniface
23977b04fc
Bump version to 0.9.37
2021-09-30 02:08:14 -04:00
Joshua Boniface
d0f3e9e285
Bump version to 0.9.36
2021-09-23 14:01:38 -04:00
Joshua Boniface
772807deb3
Bump version to 0.9.35
2021-09-13 02:20:46 -04:00
Joshua Boniface
694b8e85a0
Bump version to 0.9.34
2021-08-24 16:15:25 -04:00
Joshua Boniface
a18cef5f25
Bump version to 0.9.33
2021-08-21 03:28:48 -04:00
Joshua Boniface
afdf254297
Bump version to 0.9.32
2021-08-19 12:37:58 -04:00
Joshua Boniface
7ecc6a2635
Bump version to 0.9.31
2021-07-30 12:08:12 -04:00
Joshua Boniface
32613ff119
Remove obsolete Suggests lines from control
2021-07-20 00:35:21 -04:00
Joshua Boniface
2a99a27feb
Bump version to 0.9.30
2021-07-20 00:01:45 -04:00
Joshua Boniface
fa1d93e933
Bump version to 0.9.29
2021-07-19 16:55:41 -04:00
Joshua Boniface
71e4d0b32a
Bump version to 0.9.28
2021-07-19 09:29:34 -04:00
Joshua Boniface
15d92c483f
Bump version to 0.9.27
2021-07-19 00:03:40 -04:00
Joshua Boniface
602093029c
Bump version to 0.9.26
2021-07-18 20:49:52 -04:00
Joshua Boniface
2e9f6ac201
Bump version to 0.9.25
2021-07-11 23:19:09 -04:00
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
Joshua Boniface
551bae2518
Bump version to 0.9.24
2021-07-09 15:58:36 -04:00
Joshua Boniface
65d14ccd92
Return to all command-based Ceph gathering
...
Using the Rados module was very problematic, specifically because it had
no sensible timeout parameters and thus would hang for many seconds.
This has poor implications since it blocks further keepalives.
Instead, remove the Rados usage entirely and go back completely to using
manual OS commands to gather this information. While this may cause PID
exhaustion more quickly it's worthwhile to avoid failure scenarios when
Ceph stats time out.
Closes #137
2021-07-06 11:30:45 -04:00
Joshua Boniface
adc022f55d
Add missing install of pvcapid-worker.sh
2021-07-06 09:40:42 -04:00
Joshua Boniface
7082982a33
Bump version to 0.9.23
2021-07-05 23:40:32 -04:00
Joshua Boniface
37cd278bc2
Bump version to 0.9.22
2021-07-05 14:18:51 -04:00
Joshua Boniface
fe0a1d582a
Bump version to 0.9.21
2021-06-29 19:21:31 -04:00
Joshua Boniface
dbfa339cfb
Ensure postinst and prerm always succeed
2021-06-23 20:35:40 -04:00
Joshua Boniface
f248d579df
Convert pvc-client-cli into a proper Python module
...
Also fixes up the Debian packaging such that this works how I would
want, with proper module installation while leaving everything else
untouched. Finally implements automatic installation and removal of the
BASH completion for the PVC command.
2021-06-23 05:03:19 -04:00
Joshua Boniface
d2bcfe5cf7
Bump version to 0.9.20
2021-06-14 18:06:27 -04:00
Joshua Boniface
cf96bb009f
Bump version to 0.9.19
2021-06-06 01:47:41 -04:00
Joshua Boniface
0c75a127b2
Bump version to 0.9.18
2021-05-23 17:23:10 -04:00
Joshua Boniface
9de14c46fb
Bump version to 0.9.17
2021-05-19 17:06:29 -04:00
Joshua Boniface
fe15bdb854
Bump version to 0.9.16
2021-05-10 01:13:21 -04:00
Joshua Boniface
669338c22b
Bump version to 0.9.15
2021-04-08 13:37:47 -04:00
Joshua Boniface
c4ac75b973
Bump version to 0.9.14
2021-03-30 10:27:37 -04:00
Joshua Boniface
f4ec161aa2
Update file copyright header.
...
Remove the option to select a later version of the GPL.
2021-03-25 16:58:02 -04:00
Joshua Boniface
0ccfc41398
Bump version to 0.9.13
2021-02-17 11:37:59 -05:00
Joshua Boniface
0db8fd9da6
Bump version to 0.9.12
2021-01-28 16:29:58 -05:00
Joshua Boniface
9fbe35fd24
Bump version to 0.9.11
2021-01-05 15:58:26 -05:00
Joshua Boniface
518d699c15
Bump version to 0.9.10
2020-12-15 10:45:15 -05:00
Joshua Boniface
b36ec43a2d
Bump version to 0.9.9
2020-12-09 02:20:20 -05:00
Joshua Boniface
ce5ee11841
Bump version to 0.9.8
2020-11-24 12:26:57 -05:00
Joshua Boniface
d4a28d7a58
Bump version to 0.9.7
2020-11-19 10:48:28 -05:00
Joshua Boniface
e69eb93cb3
Bump version to 0.9.6
2020-11-17 13:01:54 -05:00
Joshua Boniface
a4e5323e81
Bump version to 0.9.5
2020-11-17 12:34:04 -05:00
Joshua Boniface
9053edacd8
Bump version to 0.9.4
2020-11-10 15:33:50 -05:00
Joshua Boniface
baac8f24fd
Bump version to 0.9.3
2020-11-09 10:28:15 -05:00
Joshua Boniface
6fa173648f
Fix faulty debian changelog
2020-11-08 02:17:19 -05:00
Joshua Boniface
11702f4bc8
Bump version to 0.9.2
2020-11-08 02:03:29 -05:00
Joshua Boniface
56ba7b1457
Bump version to 0.9.1
2020-10-29 12:16:38 -04:00
Joshua Boniface
d2c0d868c4
Add gevent to node daemon
...
Required for the Metadata API instance.
2020-10-27 02:42:49 -04:00
Joshua Boniface
0f299777f1
Modify version to 3-digit numbering
...
I expect 0.9 will be fairly long-lived, so add another decimal place so
I may continue adding tweaks to it.
THIS IS NOT SEMVER.
2020-10-26 02:13:11 -04:00
Joshua Boniface
fbbdb209c3
Remove Python OpenSSL dependency
...
Not actually required for the SSL configuration.
2020-10-26 02:02:15 -04:00
Joshua Boniface
f85c2c2a75
Remove PyWSGI and move to Flask server
...
Gevent was completely failure. The API would block during large file
uploads with no obvious solutions beyond "use gunicorn", which is not
suited to this. I originally had this working with the Flask "debug"
server, so just move to using that all the time. SSL is added using a
custom context with the OpenSSL library, so include that as a
dependency.
2020-10-26 01:58:43 -04:00
Joshua Boniface
c6e34c7dc6
Bump base version to 0.9
2020-10-18 14:31:19 -04:00
Joshua Boniface
891aeca388
Bump Debian changelog version
2020-10-15 11:02:41 -04:00
Joshua Boniface
4fbec63bf4
Add missing dependency for CLI
2020-08-27 13:14:46 -04:00
Joshua Boniface
78dec77987
Bump version to 0.8
2020-08-26 10:24:44 -04:00
Joshua Boniface
887e14a4e2
Add storage benchmarking to API
2020-08-25 01:57:21 -04:00
Joshua Boniface
7e2114b536
Add initial monitoring configurations to daemon
...
Initial work to support multiple monitoring agents including Munin,
Check_MK, and NRPE at the least.
2020-08-17 17:05:55 -04:00
Joshua Boniface
598b2025e8
Use Rados and add Ceph entries to pvcnoded.yaml
2020-06-06 21:12:51 -04:00
Joshua Boniface
ce9d0e9603
Add helper scripts to CLI client
2020-03-22 01:19:55 -04:00
Joshua Boniface
ca65cb66b8
Update Debian changelog
2020-03-15 17:32:12 -04:00
Joshua Boniface
4417bd374b
Add Python requests toolbelt to CLI deps
2020-02-20 23:27:07 -05:00
Joshua Boniface
a7432281a8
Fix script link in postinst message
2020-02-17 11:31:41 -05:00
Joshua Boniface
90f965f516
Remove installation of obsolete script
2020-02-16 19:51:51 -05:00
Joshua Boniface
9c7041f12c
Update package version to 0.7
2020-02-15 23:25:47 -05:00
Joshua Boniface
760805fec1
Ensure database migrations are in source control
2020-02-15 23:16:40 -05:00
Joshua Boniface
560cb609ba
Add database management with SQLAlchemy
...
Add management of the pvcprov database with SQLAlchemy, to allow
seamless management of the database. Add automatic tasks to the postinst
of the API to execute these migrations.
2020-02-15 22:51:27 -05:00
Joshua Boniface
bd8536d9d1
Add OVA upload to API (initial)
...
Initial, very barebones OVA parsing and image creation.
References #71
2020-02-15 02:10:14 -05:00
Joshua Boniface
37310e5455
Correct name of systemd target
2020-02-08 20:39:07 -05:00
Joshua Boniface
ce985234c3
Use consistent naming of components
...
Rename "pvcd" to "pvcnoded", and "pvc-api" to "pvcapid" so names for the
daemons are fully consistent. Update the names of the configuration
files as well to match this new formatting.
References #79
2020-02-08 19:34:07 -05:00
Joshua Boniface
83704d8677
Adjust package descriptions
...
References #79
2020-02-08 19:01:01 -05:00
Joshua Boniface
97e318a2ca
Align naming of Debian packages
...
Rename pvc-daemon to pvc-daemon-node and pvc-api to pvc-daemon-api.
Closes #79
2020-02-08 18:58:56 -05:00
Joshua Boniface
4505b239eb
Rename API and common Debian packages
...
Closes #79
2020-02-08 18:50:38 -05:00
Joshua Boniface
74228eb063
Bump version to 0.6
2020-02-08 18:27:39 -05:00
Joshua Boniface
b6474198a4
Implement cluster maintenance mode
...
Implements a "maintenance mode" for PVC clusters. For now, the only
thing this mode does is disable node fencing while the state is true.
This allows the administrator to tell PVC that network connectivity,
etc. might be interrupted and to avoid fencing nodes.
Closes #70
2020-01-09 10:53:27 -05:00
Joshua Boniface
0671a81aa2
Add missing install line for cli_lib
2019-12-29 21:02:05 -05:00
Joshua Boniface
f4ef08df49
Add lxml dependency for pretty parsing of VM XML
2019-12-29 16:33:50 -05:00
Joshua Boniface
f5436ed8a9
Change dependencies for CLI client
2019-12-29 16:33:50 -05:00
Joshua Boniface
e4c96ee43d
Add flask-restful dependency
2019-12-24 10:48:15 -05:00
Joshua Boniface
eecc07b731
Depend daemons on systemd
...
Numerous parts of PVC call systemctl commands or otherwise require a
functioning systemd-based system. Make the dependencies explicitly
reflect this.
2019-12-19 19:04:25 -05:00
Joshua Boniface
669a8fbacd
Clean up pycache files before (re)installing
2019-12-18 18:39:03 -05:00
Joshua Boniface
355e16e23a
Add missing dependencies
2019-12-18 11:56:22 -05:00
Joshua Boniface
2b5c134970
Add missing distutils dep
2019-12-15 13:53:22 -05:00
Joshua Boniface
292c2d9a44
Install newly moved schema file
2019-12-14 16:52:09 -05:00
Joshua Boniface
b3e21a5bf8
Integrate metadata API into node daemon
2019-12-14 16:41:01 -05:00
Joshua Boniface
0727a7f6ed
Move all provisioner API functionality into main
2019-12-14 14:12:55 -05:00
Joshua Boniface
22ae087836
Add examples to deb install
2019-12-12 22:52:12 -05:00
Joshua Boniface
1377c15948
Fix text in postinst
2019-12-09 13:33:47 -05:00
Joshua Boniface
57e8fba602
Add provisioner to Debian packages
2019-12-09 10:40:27 -05:00
Joshua Boniface
267a3d16e5
Bump version to 0.5
2019-08-08 20:56:27 -04:00
Joshua Boniface
804f72d905
Remove obsolete init attempt
2019-07-06 19:03:55 -04:00
Joshua Boniface
c638bdeaee
Add configuration file, authentication, pywsgi
2019-07-06 02:04:26 -04:00