mention the fleet.pending-reboots job in the reboots playbook authored by anarcat's avatar anarcat
...@@ -354,13 +354,16 @@ those services directly in needrestart. ...@@ -354,13 +354,16 @@ those services directly in needrestart.
# Reboots # Reboots
Sometimes it is necessary to perform a reboot on the hosts, when the Sometimes it is necessary to perform a reboot on the hosts, when the
kernel is updated. Nagios will warn about this, with something like kernel is updated. Prometheus will warn about this with the
this: `NeedsReboot` alert, which looks like:
WARNING: Kernel needs upgrade [linux-image-4.9.0-9-amd64 != linux-image-4.9.0-8-amd64] Servers running bookworm neeeds to reboot
TODO: the above is the old way, the needrestart check has a different You can see the list of pending reboots with this Fabric task:
output. document it above.
fab fleet.pending-reboots
See below for how to handle specific situations.
## Rebooting a single host ## Rebooting a single host
... ...
......