IL-0046 UK Ministry of Justice · 2024-04-15kubernetesawsobservability
A planned change on the Ministry of Justice Cloud Platform restarted Prometheus. The WAL count was high, so the WAL reload took longer than the startup probe allowed; the report gives the default as 15 minutes. The startup probe failed before the reload finished, the container was restarted, and the next start went the same way. Reverting the planned change to rule it out did not help.
At 15:21 the team decided to raise the startupProbe to 30 minutes and applied it at 15:53. The WAL reload then completed and Prometheus became available, 3h 21m after it was first seen down. Users were updated at 13:00 and 16:00. The incident was closed on 2024-04-18 at 16:13, once the team had found and recorded why the reload took longer.
At 12:32 Prometheus on the Cloud Platform was not available after a planned change, and the Prometheus pod had restarted several times. The platform lost its monitoring and had missing metrics for the period.
By 12:52 the team found that Prometheus never finished reloading its write-ahead log (WAL), the on-disk log of recent samples it replays at startup: the pod was restarted before the reload completed. Reverting the planned change at 12:57 to rule it out did not help. At 13:46 the logs showed a startupProbe failed event.
Symptom ? Monitoring outageProbe failures
Root cause ? Capacity exhaustion
The team saw that the Prometheus pod had restarted several times after the planned change.
–
same root cause · shared Prometheus
same root cause · shared Prometheus
same root cause · shared Prometheus
same root cause · shared Prometheus
same root cause · shared Prometheus