Commit Graph

552 Commits

Author SHA1 Message Date
d0bcbf123f Move kernel cleanup to after reboot
Otherwise, modules might fail etc. when the kernel package is purged
before reboot causing odd failures.
2023-10-24 10:41:47 -04:00
7fe682aa60 Handle freshness for all 3 types separately
If microcode was missing, checking the other two would be UNKN and thus
not restart. But, if microcode *is* present, we want to restart for
either of the other two as well.

So separate into 3 distinct checks and restart if any one is changed.
2023-10-24 10:41:47 -04:00
c11f896a60 Fix zk_status check target znode 2023-10-22 00:42:43 -04:00
5764695699 Add AMD microcode as well 2023-10-03 13:36:56 -04:00
f4bbdb7c86 Use full path for uuidgen 2023-09-29 03:00:53 -04:00
c5d572521f Ensure any errors are fatal during deploy 2023-09-21 15:18:34 -04:00
82accb3b5e Install intel-microcode on Intel CPUs
Required otherwise needrestart fails.
2023-09-20 16:43:08 -04:00
6d05f40242 Fix import for newer Ansible versions 2023-09-18 09:42:01 -04:00
a6957e9a8a Add default monitoring interval to group_vars 2023-09-15 22:32:02 -04:00
83636388f0 Add configurable monitoring interval 2023-09-15 22:31:16 -04:00
e995f3750b Fix incorrect repo name in Bullseye 2023-09-09 19:28:47 -04:00
85253e9706 Enable pass-through IOMMU on Bookworm 2023-09-05 16:35:58 -04:00
6ac6b74023 Update key name 2023-09-05 13:50:37 -04:00
8a901e5326 Add master checkout during update-remote 2023-09-05 13:22:01 -04:00
80f5a4f260 Add dpkg-cleanup step to base config 2023-09-05 10:32:40 -04:00
8ebb8a8339 Disable autoscale via command
As per [1] the ceph.conf option does not work properly and must be set this way.

[1] https://stackoverflow.com/questions/63853436/ceph-octopus-setting-autoscale-mode-from-ceph-conf-file
2023-09-02 01:59:47 -04:00
a10b3e8d4a Lower default pgs and disable autoscale 2023-09-01 23:54:10 -04:00
cf426408f2 Restore original setting 2023-09-01 16:18:20 -04:00
3680717daa Remove extra restarts on bootstrap 2023-09-01 15:42:30 -04:00
6908f7070c Properly disable autoscaling PGs 2023-09-01 15:42:30 -04:00
b267db8474 Loop over pvcnoded restart 2023-09-01 15:42:30 -04:00
1f4cd92d63 Fix bad calls to node primary 2023-09-01 15:42:30 -04:00
c9d1edf63d Disable PG autoscaling after upgrade 2023-09-01 15:42:30 -04:00
5b98e03f5a Fix bad delegate_to 2023-09-01 15:42:30 -04:00
b88b79fa30 Update minimum PVC version 2023-09-01 15:42:30 -04:00
6da9956811 Fix delegate_to 2023-09-01 15:42:30 -04:00
fb60093750 Ignore errors in Patroni restart handler 2023-09-01 15:42:30 -04:00
0c28d3b42f Ensure confold force during install 2023-09-01 15:42:30 -04:00
3fc90c90a7 Add comments to script steps 2023-09-01 15:42:30 -04:00
7b061966ad Ignore errors in Patroni
Required during upgrades as the service may be masked.
2023-09-01 15:42:30 -04:00
d92acb7e6f Make D10->D12 upgrade steps noninteractive 2023-09-01 15:42:30 -04:00
1e497413e8 Remove extra whitespace 2023-09-01 15:42:30 -04:00
64ce09122d Add additional primary node switch 2023-09-01 15:42:30 -04:00
353399a407 Ensure core pg_hba entries are present 2023-09-01 15:42:30 -04:00
e754ca84f6 Add one more fact regathering 2023-09-01 15:42:30 -04:00
cb2cbdff61 Add zstd dependency for D10+ 2023-09-01 15:42:30 -04:00
37ebdaac9c Add PVC upgrade to Debian 12 playbook 2023-09-01 15:42:30 -04:00
b21778f117 Fix Patroni upgrade and D12 support 2023-09-01 15:42:30 -04:00
9411679004 Fix reboot 2023-09-01 15:42:30 -04:00
0de0ec7ded Ensure facts are always regathered 2023-09-01 15:42:30 -04:00
7c8b6919fe Add Debian 12 Patroni config 2023-09-01 15:42:30 -04:00
7fc57a69b2 Fix warning in user module 2023-09-01 15:42:30 -04:00
2ba8f1cfc3 Add retries to all apt commands 2023-09-01 15:42:30 -04:00
d54844746e Ignore errors enabling vhostmd
Seems to cause issues in bookworm.
2023-09-01 15:42:30 -04:00
1c2bd544b3 Use non-free-firmware repository 2023-09-01 15:42:30 -04:00
71d956dab7 Add final pvcnoded restart 2023-09-01 15:42:30 -04:00
7e09ee7d21 Allow specifying interface mode 2023-09-01 15:42:30 -04:00
ed2fe7106e Fix support for bookworm 2023-09-01 15:42:30 -04:00
25ab984c9b Revert "Disallow Deb10 -> Deb12 upgrades"
This reverts commit 6e56dd3e4a.
2023-09-01 15:42:30 -04:00
4bcd7b40a0 Remove extra echo with PVC 0.9.64 2023-09-01 15:42:30 -04:00