Commit Graph

3153 Commits

Author SHA1 Message Date
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
Joshua Boniface 7c07fbefff Adjust keepalive health printing and ordering 2023-02-24 11:08:30 -05:00
Joshua Boniface 202dc3ed59 Correct error handling if monitoring plugins fail 2023-02-24 10:19:41 -05:00
Joshua Boniface 8667f4d03b Add documentation details about plugin logging 2023-02-23 22:24:07 -05:00
Joshua Boniface 4c2d99f8a6 Fix bug with SMART info 2023-02-23 13:21:23 -05:00
Joshua Boniface bcff6650d0 Set timeout on IPMI command 2023-02-23 11:10:09 -05:00
Joshua Boniface a11206253d Fix ZK check location 2023-02-23 11:04:02 -05:00
Joshua Boniface 7f57c6dbf7 Adjust the main location too 2023-02-23 10:32:31 -05:00
Joshua Boniface 6865979e08 Show possible version minimum 2023-02-23 10:30:45 -05:00
Joshua Boniface 5126bc3272 Handle old clusters in cluster detail list 2023-02-23 10:28:55 -05:00
Joshua Boniface 765f0ef13d Better handle N/A health from old versions 2023-02-23 10:22:00 -05:00
Joshua Boniface fe258d9d56 Correct bad health text call for old clusters 2023-02-23 10:19:18 -05:00
Joshua Boniface 93d89a2414 Fix status when connecting to old clusters 2023-02-23 10:16:29 -05:00
Joshua Boniface a49f3810d3 Set maintenance colour in cluster detail 2023-02-22 18:20:18 -05:00
Joshua Boniface 45ad3b9a17 Bump version to 0.9.62 2023-02-22 18:13:45 -05:00
Joshua Boniface 07623fad1a Merge branch 'revamp-health'
Add detailed health checking, status reporting, and enhancements to the
PVC system.

Closes #161 #154 #159
2023-02-22 18:12:35 -05:00
Joshua Boniface 8331b7ecd8 Add cluster detail list
Adds a command to show a list of details including health and item
counts for all configured clusters in the client.
2023-02-22 18:09:11 -05:00
Joshua Boniface 94d4ee5b9b Lower default connect timeout to 1s 2023-02-22 18:09:01 -05:00