Commit Graph

2786 Commits

Author SHA1 Message Date
bbf8bc6c00 [Bookworm] Correct install of manage scripts 2023-09-01 00:36:24 -04:00
1d34550c1c [Bookworm] Correct Celery invocation 2023-09-01 00:30:01 -04:00
07fbd724a3 [Bookworm] Correct Flask DB migration process
Move the old manage script to _legacy, and add a new _flask version with
modern Flask tooling. Decide which one to call via pvc-api-db-migrate
using /etc/debian_version call.
2023-09-01 00:29:17 -04:00
b1e6eb1d84 Bump version to 0.9.70 2023-08-31 14:15:54 -04:00
bf82d7e1d4 [Bookworm] Remove obsolete package 2023-08-31 14:13:05 -04:00
4986ef1b47 [Bookworm] Fix Ceph 16 OSD stat parsing 2023-08-31 00:45:03 -04:00
bf030328b4 [Bookworm] Specify YAML loader explicitly 2023-08-31 00:16:19 -04:00
e8f0005894 Bump version to 0.9.69 (nice) 2023-08-29 22:02:13 -04:00
e15f9ed509 Ensure Patroni failures do not block takeover 2023-08-29 22:00:11 -04:00
26921d81cc Found cpuload to 2 decimal places 2023-08-29 21:41:44 -04:00
2e1269eaae Bump version to 0.9.68 2023-08-27 20:59:23 -04:00
bc37df2c11 Fix missing function parameter 2023-08-27 20:57:27 -04:00
1c79ce05ac Bump version to 0.9.67 2023-08-27 14:47:20 -04:00
2fdf33ae20 Fix missing re import 2023-08-27 14:45:51 -04:00
346384b173 Better handle empty diffs 2023-08-27 14:44:21 -04:00
22f5448060 Add missing import for difflib unified_diff 2023-08-27 14:40:52 -04:00
7c4c0e4381 Fix missing import of colorama Fore 2023-08-27 14:34:47 -04:00
c41ec58e66 Fix incorrect echo() calls 2023-08-27 14:33:42 -04:00
d08b90f90d Bump version to 0.9.66 2023-08-27 11:41:22 -04:00
f5cbedce6a Fix missing YAML load 2023-08-27 11:41:10 -04:00
ce9eaaac8e Bump version to 0.9.65 2023-08-23 01:56:57 -04:00
773571ae62 Restore original no-connection behavior
Previously not specifying a connection when multiple were available
would error. This restores that behaviour.
2023-08-23 01:38:50 -04:00
37cbee5060 Fix incorrect short flags in node list 2023-08-22 09:26:35 -04:00
529ecfdcf0 Bump version to 0.9.64 2023-08-18 12:34:27 -04:00
87ddd66e92 Avoid none entries in VM state list 2023-08-18 12:34:27 -04:00
4727f6e848 Improve timing in test script 2023-08-18 11:58:13 -04:00
3b36ecf199 Improve testing with more tests 2023-08-18 11:44:39 -04:00
36558c73b8 Fix bugs for node flush for stop/shutdown/restart
Previously VMs in stop/shutdown/restart states wouldn't be properly
handled during a node flush. This fixes the bugs and ensures that the
transient VM states (shutdown/restart) are completed before proceeding,
and then avoids setting a stopped/shutdown VM to shutdown/auotstart.
2023-08-18 11:25:59 -04:00
ea3f68442c Readd errexit to test script 2023-08-18 10:33:59 -04:00
790e9becc0 Revamp cluster test script 2023-08-17 23:01:38 -04:00
50479be3ef Fix bad import 2023-08-17 22:45:50 -04:00
d11abc928f Revamp behaviour of VM "--restart" options
Previously, either "--restart" was specified or a prompt was given, with
the prompt being ignored with "--unsafe" in favour of a reboot. This
failed to provide an explicit way to prevent VM restarts with these
commands, which might be desired in some non-interactive situations, and
the interaction of "--unsafe" with this option was an undesired bug.

This is now a complete binary flag with --restart and --no-restart
versions, while still defaulting to a prompt if neither is specified.
This allows full non-interactive control of this option.
2023-08-17 22:19:36 -04:00
2b15f64960 Ensure ACPI is included in Deb VMs 2023-08-17 11:16:08 -04:00
5d3ccd9d6a Ensure consistency in variable names and fix bug 2023-08-17 11:09:51 -04:00
55b004f815 Move provisioner wait to helpers and fix 2023-08-17 10:26:19 -04:00
4aa6a65e6c Work around strange Python anomaly
Apparently, `True` is both an instance of `int` and `bool`, which is a
change and is very strange. Instead flip the conditional here.
2023-08-17 09:55:19 -04:00
81e16e99f6 Correct entrypoint for CLI package 2023-08-17 00:27:45 -04:00
bcabfa9d70 Update linting options for new CLI client 2023-08-16 23:55:44 -04:00
2dc2055cfa Move new CLI client into place 2023-08-16 23:55:27 -04:00
5bd2bd468a Move old CLI client out of the way 2023-08-16 23:54:51 -04:00
3ed60ac1c1 Add provisioner formatters 2023-08-16 23:48:56 -04:00
362d65c011 Add storage formatters 2023-08-16 22:46:13 -04:00
561cb8e465 Add network formatters 2023-08-10 00:58:36 -04:00
7c64f153a1 Add formatters for Node and VM, fix handling 2023-08-09 13:13:03 -04:00
865742c906 Add provisioner management commands
TODO: Add proper new formatters as required
2023-08-09 11:44:43 -04:00
8d479b4068 Add storage management commands
TODO: Add proper new formatters as required
2023-08-09 10:51:44 -04:00
96fffa42c4 Add network management commands
TODO: Add proper new formatters as required
2023-07-03 00:18:07 -04:00
eca726f7a5 Add VM management commands
TODO: Add proper new formatters as required
2023-07-02 01:03:09 -04:00
070a57df99 Fix key display and add stubs 2023-07-01 21:51:46 -04:00
e3777ff00c Add node management commands 2023-05-05 02:10:02 -04:00