Commit Graph

540 Commits

Author SHA1 Message Date
Joshua Boniface 805477b8be Ignore more errors for user: module 2024-08-29 01:08:44 -04:00
Joshua Boniface 65af8ef149 Ignore errors on all user commands
After a D10->D12 upgrade, these all fail. Let them.
2024-08-29 01:02:01 -04:00
Joshua Boniface 6f2aeed3c9 Avoid failing if setting root password fails 2024-08-29 00:55:55 -04:00
Joshua Boniface beef030656 Fix ansible_lsb call on Debian 10
Fails due to empty ansible_lsb, so skip it
2024-08-29 00:13:46 -04:00
Joshua Boniface f00b43f20f Add extra waits before unsetting maintenance
Avoids issues after restarting the API.
2024-08-28 12:42:01 -04:00
Joshua Boniface 4e59ad5efe Remove obsolete upgrade script
Debian 11 is now deprecated.
2024-08-28 12:41:50 -04:00
Joshua Boniface e35842675f Add new is-primary condition to autobackup timers
Avoids running these except on the primary coordinator at the time of
firing, to avoid duplicate runs being passed to pvcworkerd.
2024-08-25 22:18:20 -04:00
Joshua Boniface b395f47852 Ensure pvcapid is restarted after migrations 2024-08-20 09:23:37 -04:00
Joshua Boniface a54c730662 Add retries to ipmitool output 2024-07-29 01:04:55 -04:00
Joshua Boniface 7f32414675 Add role run to initial D12 upgrade
Avoids errors failing out later if there are any issues with these
roles, and ensures the system is fully updated before the actual Debian
upgrades.
2024-06-29 02:31:43 -04:00
Joshua Boniface e26a2f3ca5 Update aptitude -> apt references 2024-06-29 01:33:36 -04:00
Joshua Boniface 7026cee4d3 Remove aptitude from nodes 2024-06-29 01:31:27 -04:00
Joshua Boniface 223faa82b8 Warn about requiring jmespath on controller 2024-06-29 00:46:11 -04:00
Joshua Boniface 0b2cd2a2e3 Fix bad echo output format 2024-05-24 14:48:31 -04:00
Joshua Boniface e65e519d69 Remove version entries from issue 2024-05-24 14:47:16 -04:00
Joshua Boniface 2e5d23fd74 Switch to dynamic /etc/issue generator 2024-05-24 10:36:19 -04:00
Joshua Boniface 1cd155885a Update to fancier /etc/issue 2024-05-23 17:06:38 -04:00
Joshua Boniface cc2fb44689 Lower default pgnum and pgpnum to 32 2024-03-27 11:11:50 -04:00
Joshua Boniface 7136229536 Add wait to service restarts 2024-03-26 17:11:21 -04:00
Joshua Boniface c74af55d87 Fully split ntp and ntpsec configs
And fix ntpsec config to properly work in Debian 12+.
2024-03-07 14:24:05 -05:00
Joshua Boniface 7cf1806bcb Add force to that 2024-03-07 13:56:21 -05:00
Joshua Boniface e8eaf2c058 Fix ntpsec configuration on Debian 12 2024-03-07 13:55:07 -05:00
Joshua Boniface fcb4096f19 Ensure directory is created first 2024-03-07 13:34:23 -05:00
Joshua Boniface 5a3233a905 Fix shutdown bug with keydb 2024-03-07 13:21:10 -05:00
Joshua Boniface 1ce5d033b4 Use .gpg 2024-02-13 11:05:40 -05:00
Joshua Boniface 00983e3b59 Update key location 2024-02-13 11:03:24 -05:00
Joshua Boniface e326639e18 Become primary and apply migrations on first node 2024-02-12 11:51:03 -05:00
Joshua Boniface 4a5727e671 Remove old legacy maintenance sets
All clusters I know of are long-updated, so this is no longer needed.
2024-01-30 10:44:41 -05:00
Joshua Boniface 133ba8b57a Fix bad ownership on motd file 2024-01-19 11:20:47 -05:00
Joshua Boniface 3b45f56e35 Update MOTD format for clarity 2024-01-18 16:24:42 -05:00
Joshua Boniface db8c437a31 Add email reporting for autobackups (0.9.90) 2024-01-11 00:32:38 -05:00
Joshua Boniface 65dce44f72 Ignore errors when disabling units 2024-01-09 12:07:45 -05:00
Joshua Boniface b7f1c55279 Update and add default vars for autobackup 2024-01-09 09:54:38 -05:00
Joshua Boniface f6878c69ad Add enable_prometheus switch 2023-12-29 09:29:29 -05:00
Joshua Boniface 5089aec178 Use node names rather than IPs 2023-12-28 11:54:33 -05:00
Joshua Boniface ae4237c173 Use all coordinators 2023-12-28 11:47:38 -05:00
Joshua Boniface ce14cdb938 Rename file for consistency 2023-12-28 11:38:33 -05:00
Joshua Boniface 3be0da1e21 Fix incorrect source template path 2023-12-28 11:36:39 -05:00
Joshua Boniface 687d8f31bb Ignore errors when disabling sockets 2023-12-27 15:35:17 -05:00
Joshua Boniface d45bbad17a Only install libvirt exporter on Debian 11+ 2023-12-27 13:57:21 -05:00
Joshua Boniface 7c21763994 Add final restart of worker/health daemons
Ensures that schema updates are properly applied.
2023-12-27 13:24:31 -05:00
Joshua Boniface aa6488854a Add forced upgrade of vhostmd 2023-12-26 01:08:53 -05:00
Joshua Boniface fc1556c16c Fix incorrect flag 2023-12-14 14:05:45 -05:00
Joshua Boniface fdf856c53d Add creation of PVC directory 2023-12-14 12:53:11 -05:00
Joshua Boniface 9842f628a3 Use GO zkcli instead of trash BASH one
With Debian 12+ the interactive zkCli.sh is completely broken, failing
to load the JLine module regardless of what is done, and no one in the
project seems to care about that.

Instead let's swap this out for the (non-interactive) GO-based zkcli of
https://github.com/go-zkcli/zkcli instead, as this suits our needs
nicely.
2023-12-13 15:48:12 -05:00
Joshua Boniface b2a7eecf2c Only set exclude_perf_counts on Debian 12+ 2023-12-10 12:43:34 -05:00
Joshua Boniface 09eba9de80 Add Prometheus Zookeeper exporter 2023-12-10 12:39:35 -05:00
Joshua Boniface 1eb618e8f3 Fix typo 2023-12-10 03:15:02 -05:00
Joshua Boniface 1f34427a0c Add user as well 2023-12-10 03:05:11 -05:00
Joshua Boniface c7d914696b Add configuration for Postgres Prom exporter 2023-12-10 02:53:11 -05:00