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
Joshua Boniface
653b95ee25
Normalize return messages for node commands
2023-05-04 17:02:46 -04:00
Joshua Boniface
59c9d89986
Port cluster management functions
2023-05-04 03:04:10 -04:00
Joshua Boniface
e294e1c087
Initial work on new CLI client rewrite
...
1. lib copied verbatim from existing client
2. initial reworking of Click to split logic from Click definitions
2023-05-02 17:28:52 -04:00
Joshua Boniface
4685ba1ec4
Move cli_lib to lib directory
2023-05-01 13:43:54 -04:00
Joshua Boniface
969091ed22
Another slight wording tweak
2023-05-01 11:03:58 -04:00
Joshua Boniface
148f04b256
Reword the sections to add clarity
2023-05-01 10:59:23 -04:00
Joshua Boniface
dc9e43fbee
Add a bit of shade
2023-05-01 10:56:42 -04:00
Joshua Boniface
d8dcec254d
Add another reference to Ganeti and Harvester
2023-05-01 10:54:42 -04:00
Joshua Boniface
3a90fda109
Bump version to 0.9.63
2023-04-28 14:47:04 -04:00
Joshua Boniface
78322f4de4
Improve size handling during volume add/resize
2023-04-28 12:16:16 -04:00
Joshua Boniface
c1782c5004
Add full/nearfull OSD health detection
2023-04-28 11:33:39 -04:00
Joshua Boniface
9114255af5
Add *.update-* obsolete configs to dpkg plugin
2023-04-10 15:39:40 -04:00
Joshua Boniface
b26bb5cb65
Mention Ganeti in the docs
2023-03-19 21:23:21 -04:00
Joshua Boniface
74c4ce3ec7
Increase timeout for connections to API
2023-03-14 09:19:13 -04:00
Joshua Boniface
2c3a3cdf52
Use try when watching health value in NodeInstance
2023-03-07 09:53:01 -05:00
Joshua Boniface
0b583bfdaf
Bump IPMI timeout to 2 seconds
2023-03-07 09:25:27 -05:00