Joshua Boniface
a7c1b91f60
[Bookworm] Correct install of manage scripts
2023-09-01 00:36:24 -04:00
Joshua Boniface
ec6d3351b2
[Bookworm] Correct Celery invocation
2023-09-01 00:30:01 -04:00
Joshua Boniface
22faaa9bbc
[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
Joshua Boniface
6c407d54c3
Bump version to 0.9.70
2023-08-31 14:15:54 -04:00
Joshua Boniface
9ba7aa5b08
[Bookworm] Remove obsolete package
2023-08-31 14:13:05 -04:00
Joshua Boniface
cb413e5ce6
[Bookworm] Fix Ceph 16 OSD stat parsing
2023-08-31 00:45:03 -04:00
Joshua Boniface
123499f75f
[Bookworm] Specify YAML loader explicitly
2023-08-31 00:16:19 -04:00
Joshua Boniface
83b8ce7b62
Bump version to 0.9.69 (nice)
2023-08-29 22:02:13 -04:00
Joshua Boniface
5e43f9bd7c
Ensure Patroni failures do not block takeover
2023-08-29 22:00:11 -04:00
Joshua Boniface
ed087d83c2
Found cpuload to 2 decimal places
2023-08-29 21:41:44 -04:00
Joshua Boniface
83d475bd15
Bump version to 0.9.68
2023-08-27 20:59:23 -04:00
Joshua Boniface
3d5cdf2b23
Fix missing function parameter
2023-08-27 20:57:27 -04:00
Joshua Boniface
705ec802a3
Bump version to 0.9.67
2023-08-27 14:47:20 -04:00
Joshua Boniface
47d7b23763
Fix missing re import
2023-08-27 14:45:51 -04:00
Joshua Boniface
0bae729a18
Better handle empty diffs
2023-08-27 14:44:21 -04:00
Joshua Boniface
b968110e9f
Add missing import for difflib unified_diff
2023-08-27 14:40:52 -04:00
Joshua Boniface
4898ae5082
Fix missing import of colorama Fore
2023-08-27 14:34:47 -04:00
Joshua Boniface
249e1568a1
Fix incorrect echo() calls
2023-08-27 14:33:42 -04:00
Joshua Boniface
0b90f37518
Bump version to 0.9.66
2023-08-27 11:41:22 -04:00
Joshua Boniface
33205273dc
Fix missing YAML load
2023-08-27 11:41:10 -04:00
Joshua Boniface
1e083d7652
Bump version to 0.9.65
2023-08-23 01:56:57 -04:00
Joshua Boniface
65d2b7869c
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
Joshua Boniface
66aee73f1d
Fix incorrect short flags in node list
2023-08-22 09:26:35 -04:00
Joshua Boniface
075dbe7cc9
Bump version to 0.9.64
2023-08-18 12:34:27 -04:00
Joshua Boniface
2ff7a6865b
Avoid none entries in VM state list
2023-08-18 12:34:27 -04:00
Joshua Boniface
2002394a51
Improve timing in test script
2023-08-18 11:58:13 -04:00
Joshua Boniface
0e8bdfad15
Improve testing with more tests
2023-08-18 11:44:39 -04:00
Joshua Boniface
b5f996febd
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
Joshua Boniface
3a4914fa5e
Readd errexit to test script
2023-08-18 10:33:59 -04:00
Joshua Boniface
dcda7b5748
Revamp cluster test script
2023-08-17 23:01:38 -04:00
Joshua Boniface
ae7950e9b7
Fix bad import
2023-08-17 22:45:50 -04:00
Joshua Boniface
d769071799
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
Joshua Boniface
e298d10561
Ensure ACPI is included in Deb VMs
2023-08-17 11:16:08 -04:00
Joshua Boniface
fc8cf9ed44
Ensure consistency in variable names and fix bug
2023-08-17 11:09:51 -04:00
Joshua Boniface
4ccdd6347e
Move provisioner wait to helpers and fix
2023-08-17 10:26:19 -04:00
Joshua Boniface
b32f478633
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
Joshua Boniface
cf442fcc2d
Correct entrypoint for CLI package
2023-08-17 00:27:45 -04:00
Joshua Boniface
b753f85410
Update linting options for new CLI client
2023-08-16 23:55:44 -04:00
Joshua Boniface
d2bcaec28f
Move new CLI client into place
2023-08-16 23:55:27 -04:00
Joshua Boniface
a70273dbae
Move old CLI client out of the way
2023-08-16 23:54:51 -04:00
Joshua Boniface
30ebd6b42c
Add provisioner formatters
2023-08-16 23:48:56 -04:00
Joshua Boniface
b2e6feeba3
Add storage formatters
2023-08-16 22:46:13 -04:00
Joshua Boniface
c9b06ffdb2
Add network formatters
2023-08-10 00:58:36 -04:00
Joshua Boniface
a032dcc5c8
Add formatters for Node and VM, fix handling
2023-08-09 13:13:03 -04:00
Joshua Boniface
01122415f6
Add provisioner management commands
...
TODO: Add proper new formatters as required
2023-08-09 11:44:43 -04:00
Joshua Boniface
bd3e3829b3
Add storage management commands
...
TODO: Add proper new formatters as required
2023-08-09 10:51:44 -04:00
Joshua Boniface
e01bbe9764
Add network management commands
...
TODO: Add proper new formatters as required
2023-07-03 00:18:07 -04:00
Joshua Boniface
3e7953531c
Add VM management commands
...
TODO: Add proper new formatters as required
2023-07-02 01:03:09 -04:00
Joshua Boniface
c7b7ad0cf7
Fix key display and add stubs
2023-07-01 21:51:46 -04:00
Joshua Boniface
776daac267
Add node management commands
2023-05-05 02:10:02 -04:00