Commit Graph

24 Commits

Author SHA1 Message Date
caa91d3801 Add "mirror" VM state 2024-09-24 09:53:24 -04:00
73c0834f85 Remove headers and add util to short output 2024-09-06 11:40:39 -04:00
2de999c700 Add total cluster utilization stats
Useful for evaluating the cluster resources as a whole.
2024-09-05 16:05:33 -04:00
9714ac20b2 Update formatting for Black 24.4.0 2024-04-19 10:26:06 -04:00
2886176762 Improve handling of task arg display
Shows each subarg of the task_args as its own element, if applicable,
and fits the width to the terminal using MAX_CONTENT_WIDTH instead of an
arbitrary value.
2024-01-18 13:00:48 -05:00
123c7ce857 Update copyright header on all files for 2024
Last release of 2023 is probably the best time to do this.
2023-12-29 11:16:59 -05:00
3b3ffaf2d4 Add Prometheus file SD output to connection list
Allows an administrator to easily generate a Prometheus file service
discovery configuration via the CLI for all clusters they have
configured. Assumes that all the various connection details are correct,
and due to the limits of the file SD config does not include the scheme
or SSL verification options (as these are global in Prometheus).
2023-12-29 11:13:54 -05:00
764e3e3722 Fix bug in fault header format 2023-12-09 16:47:56 -05:00
6c0dfe16cf Improve word splitting for fault messages
This ensures that fault messages are split on word boundaries and that
the column length is equal to the longest of these if applicable.
2023-12-06 17:10:19 -05:00
3fde494fc5 Add status back to short fault list 2023-12-06 16:53:23 -05:00
0945b3faf3 Use same fault formatting for short and long 2023-12-06 16:19:44 -05:00
1416f9edc0 Remove bad sort values 2023-12-06 14:38:29 -05:00
0c34c88a1f Fix bad dict key name 2023-12-06 14:16:19 -05:00
6fc5c927a1 Properly sort status faults 2023-12-06 13:27:18 -05:00
2267a9c85d Improve output formatting for simplicity 2023-12-05 10:37:35 -05:00
672e58133f Implement interfaces to faults 2023-12-04 01:37:54 -05:00
9958d1cfe8 Add name to task output 2023-11-16 13:23:31 -05:00
8915864fa9 Lower truncation size and add elipses 2023-11-16 11:47:36 -05:00
79f7e8f82e Skip "run_on" argument in output
This isn't required to know, it's internal.
2023-11-16 11:46:15 -05:00
eb1d61a8b9 Generalize task status output 2023-11-16 11:39:08 -05:00
c4397219da Ensure fencing states are properly reflected 2023-09-18 09:59:18 -04:00
79d871ebc6 Ensure provisioning VMs are properly coloured 2023-09-15 15:42:46 -04:00
2ff7a6865b Avoid none entries in VM state list 2023-08-18 12:34:27 -04:00
d2bcaec28f Move new CLI client into place 2023-08-16 23:55:27 -04:00