180 Commits

Author SHA1 Message Date
aef38639cf Rename pvcapid-worker to pvcworkerd 2023-11-15 20:31:39 -05:00
42ed6f6420 Remove redis as a dependency 2023-11-05 18:23:34 -05:00
3dc1f57de2 Revert "Switch to ZK+PG over Redis for Celery queue"
This reverts commit 54215bab6c1c420bc284160c6c4633e0ab2e8ff2.
2023-11-05 17:10:46 -05:00
54215bab6c Switch to ZK+PG over Redis for Celery queue
Redis did not provide a distributed solution for the worker, which
precluded several important planned functions. So instead, move to using
Zookeeper + PostgreSQL as the broker and result backend respectively.

Should be a seamless drop-in change but for future uses requires the
database host to be the primary coordinator IP rather than localhost, so
that writes can occur to the database from non-primary hosts.
2023-11-04 12:46:34 -04:00
5b4dd61754 Bump version to 0.9.80 2023-10-27 09:56:31 -04:00
5954feaa31 Add autobackup functionality to CLI
Adds autobackup (integrated, managed VM backups with automatic remote
filesystem mounting, included backup expiry/removal and automatic
full/incremental selection, independent from the manual "pvc vm backup"
commands) to the CLI client.

This is a bit of a large command to handle only inside the CLI client,
but this was chosen as it's the only real place for it aside from an
external script.

There are several major restrictions on this command, mainly that it
must be run from the primary coordinator using the "local" connection,
and that it must be run as "root".

The command is designed to run in a cron/systemd timer installed by
pvc-ansible when the appropriate group_vars are enabled, and otherwise
not touched.
2023-10-26 21:25:23 -04:00
e63d8e59e9 Install sample configs to /usr/share/pvc instead
Also clean up the old versions in the postinst as they are obsolete and
not needed going forward. These only ever served as reference for a
manual installation which itself is long-obsoleted, and thus can be put
somewhere less "important".
2023-10-26 13:00:54 -04:00
221af3f241 Bump version to 0.9.79 2023-10-24 02:10:24 -04:00
c6c44bf775 Bump version to 0.9.78 2023-09-30 12:57:55 -04:00
7c0f12750e Bump version to 0.9.77 2023-09-19 11:05:55 -04:00
51e78480fa Bump version to 0.9.76 2023-09-18 10:15:52 -04:00
f46bfc962f Bump version to 0.9.75 2023-09-16 23:06:38 -04:00
1a906b589e Bump version to 0.9.74 2023-09-16 00:18:13 -04:00
a8115cafd1 Bump version to 0.9.73 2023-09-02 02:16:19 -04:00
fdda47e8a2 Bump version to 0.9.72 2023-09-01 16:34:45 -04:00
bb2aac145d Bump version to 0.9.71 2023-09-01 00:36:38 -04:00
a7c1b91f60 [Bookworm] Correct install of manage scripts 2023-09-01 00:36:24 -04:00
6c407d54c3 Bump version to 0.9.70 2023-08-31 14:15:54 -04:00
9ba7aa5b08 [Bookworm] Remove obsolete package 2023-08-31 14:13:05 -04:00
83b8ce7b62 Bump version to 0.9.69 (nice) 2023-08-29 22:02:13 -04:00
83d475bd15 Bump version to 0.9.68 2023-08-27 20:59:23 -04:00
705ec802a3 Bump version to 0.9.67 2023-08-27 14:47:20 -04:00
0b90f37518 Bump version to 0.9.66 2023-08-27 11:41:22 -04:00
1e083d7652 Bump version to 0.9.65 2023-08-23 01:56:57 -04:00
075dbe7cc9 Bump version to 0.9.64 2023-08-18 12:34:27 -04:00
3a90fda109 Bump version to 0.9.63 2023-04-28 14:47:04 -04:00
45ad3b9a17 Bump version to 0.9.62 2023-02-22 18:13:45 -05:00
3c742a827b Initial implementation of monitoring plugin system 2023-02-13 12:06:26 -05:00
aeb238f43c Bump version to 0.9.61 2023-02-08 10:08:05 -05:00
a49510ecc8 Bump version to 0.9.60 2022-12-06 15:42:55 -05:00
92feeefd26 Bump version to 0.9.59 2022-11-15 15:50:15 -05:00
095bcb2373 Bump version to 0.9.58 2022-11-07 12:27:48 -05:00
d65f512897 Bump version to 0.9.57 2022-11-06 01:39:50 -04:00
c3bc55eff8 Bump version to 0.9.56 2022-10-27 14:21:04 -04:00
6c58d52fa1 Add node autoready oneshot unit
This replicates some of the more important functionality of the defunct
pvc-flush.service unit. On presence of a trigger file (i.e.
/etc/pvc/autoready), it will trigger a "node ready" on boot. It does
nothing on shutdown as this must be handled by other mechanisms, though
a similar autoflush could be added as well.
2022-10-27 14:09:14 -04:00
f1df1cfe93 Bump version to 0.9.55 2022-10-04 13:21:40 -04:00
239c392892 Bump version to 0.9.54 2022-08-23 11:01:05 -04:00
9b499b9f48 Bump version to 0.9.53 2022-08-12 17:47:11 -04:00
2a21d48128 Bump version to 0.9.52 2022-08-12 11:09:25 -04:00
645b525ad7 Bump version to 0.9.51 2022-07-25 23:25:41 -04:00
ec559aec0d Remove pvc-flush service
This service caused more headaches than it was worth, so remove it.

The original goal was to cleanly flush nodes on shutdown and unflush
them on startup, but this is tightly controlled by Ansible playbooks at
this point, and this is something best left to the Administrator and
their particular situation anyways.
2022-07-25 23:21:34 -04:00
56129a3636 Fix bad changelog entries 2022-07-06 16:57:55 -04:00
932b3c55a3 Bump version to 0.9.50 2022-07-06 16:01:14 -04:00
51ad2058ed Bump version to 0.9.49 2022-05-06 15:49:39 -04:00
5807351405 Bump version to 0.9.48 2022-04-29 15:03:52 -04:00
ea709f573f Bump version to 0.9.47 2021-12-28 22:03:08 -05:00
58d57d7037 Bump version to 0.9.46 2021-12-28 15:02:14 -05:00
f164d898c1 Bump version to 0.9.45 2021-11-25 09:34:20 -05:00
817dffcf30 Bump version to 0.9.44 2021-11-11 16:20:38 -05:00
6e9fcd38a3 Bump version to 0.9.43 2021-11-08 02:29:17 -05:00