2026-11-04: OpenBao StatefulSet update waits for the restart that applies its priority class¶
Kind: reference (incident report)
Severity: warning · Status: open · Resolved by: not yet; the restart is with the owner (dunk) in person task #2558, checked by the operator agent · Duration: not resolved (Helm revision 7 applied 22:29:39 UTC; alert firing from 23:00:33 UTC) · Taskbase task: #2562
Summary¶
PR #1217 (#2544) set server.priorityClassName: stateful-service on OpenBao, so the kubelet evicts
every priority-0 pod that is over its memory request before openbao-0. The OpenBao StatefulSet is
OnDelete, so the new pod template waits until openbao-0 is deleted, and
KubeStatefulSetUpdateNotRolledOut fires until then. This is the expected alert of
Rolling out an OpenBao pod-template change.
OpenBao is healthy. The restart window is with the owner in person task #2558, created before
the merge as that page requires, so the operator changed nothing.
Impact¶
- Services: none degraded.
openbao-0isRunning,1/1,Sealed false,Storage Type raft,HA Mode active. EveryExternalSecretisSecretSynced. Until the restart,openbao-0keeps priority 0, so under worker memory pressure it is not yet ranked last, which is what #2544 is for.openbao-0stays under its 256Mi memory request (7-day working-set max 156Mi, per #2558), so it is not among the first pods the kubelet evicts in the meantime. - Users: none noticed. The alert is a warning.
- Data: none at risk.
prepare-datadeletes nothing on the coming restart: the volume holds onlyraftandlost+foundsince #1390. - Duration: fault from 22:29:39 UTC (Helm revision 7 applied); alert firing from 23:00:33 UTC; still open.
Timeline¶
All times UTC, 2026-11-04.
| Time | Event | Source |
|---|---|---|
| 21:41 | Person task #2558 created for the restart window, assigned to the owner, depends_on #2544 |
Taskbase #2558 |
| 21:42 | Commit e0b6b3c8 (#2544) sets server.priorityClassName: stateful-service in components/openbao/base/helmrelease.yaml |
git log |
| 22:27 | #2544 done: PR #1217 merged | Taskbase #2544 |
| 22:29:39 | Helm revision 7 applied (chart 0.30.4, app v2.7.1). StatefulSet revision 7 (openbao-85fb6d8cc4) is created. The pod stays on revision 6 (openbao-5d5d4f65ff), because the StatefulSet is OnDelete |
helm history openbao, ControllerRevision |
| ~22:44–22:46:56 | worker-2 NotReady. The openbao container fails its liveness probe and is restarted in place (exit 137) at 22:47:04. A container restart keeps the pod, so the template does not roll out |
pod events, node conditions |
| 23:00:33 | KubeStatefulSetUpdateNotRolledOut starts firing (fingerprint 006cb13222b4e2a8) |
Alertmanager |
| 23:01 | Detected: Taskbase incident #2562 created | Taskbase |
| 23:02 | Operator: alert active, not silenced, not inhibited |
Alertmanager API v2 |
| 23:03 | Operator: cause found. The only template change from revision 6 to 7 is priorityClassName: stateful-service. updatedReplicas 0 of 1. The restart is left to #2558 |
kubectl, ControllerRevision diff |
Root cause¶
The OpenBao chart (openbao 0.30.4) renders its StatefulSet with updateStrategy: OnDelete.
A pod-template change only creates a new ControllerRevision, and Kubernetes starts a pod on it only
when the old pod is deleted. #2544 added server.priorityClassName, which changes the pod template.
kube-prometheus' KubeStatefulSetUpdateNotRolledOut fires when currentRevision != updateRevision,
replicas != updatedReplicas and the updated count has not changed for 5 minutes, held for 15
minutes. With OnDelete that stays true until someone deletes openbao-0. The restart is a person's
step, as described in
Who runs the restart window.
The diff between StatefulSet revisions 6 and 7 is one line: "priorityClassName": "stateful-service".
What the agent did¶
The agent made no write to the cluster and set no silence. Every step was read-only. The alert's runbook (KubeStatefulSetUpdateNotRolledOut) fixes this by rolling the pods. The repository's pod-template change page assigns that step to a person, so the agent did not take it.
kubectl -n monitoring port-forward svc/alertmanager-operated 19093:9093, thencurl -sG .../api/v2/alerts --data-urlencode 'filter=alertname="KubeStatefulSetUpdateNotRolledOut"': one alert,state: active,silencedBy: [],inhibitedBy: [],startsAt23:00:33.kubectl -n openbao get sts openbao -o json:updateStrategy: OnDelete,replicas: 1,readyReplicas: 1,currentRevision: openbao-548f7d779c,updateRevision: openbao-85fb6d8cc4,observedGeneration: 7,updatedReplicasunset (0 of 1).kubectl -n openbao get pods -L controller-revision-hash:openbao-0onopenbao-5d5d4f65ff(revision 6), 41 h old, 2 restarts.kubectl -n openbao get controllerrevision <rev> -o jsonfor revisions 6 and 7, diffed: onlypriorityClassName: stateful-servicewas added.helm -n openbao history openbao: revision 7deployed22:29:39.flux get helmreleases -n openbao:openbaoReady, "Helm upgrade succeeded for release openbao/openbao.v7".flux get kustomizations -A:openbao,openbao-backup,openbao-externalandopenbao-preupgradeReady onmain@49f8beca. The only Kustomization that was not Ready washarbor("Reconciliation in progress"), which is not related.kubectl -n openbao describe pod openbao-0,kubectl -n openbao get events, andkubectl get node worker-2with its events: the 22:47 restart was a liveness kill whileworker-2was NotReady, not the rollout.kubectl -n openbao get cronjob openbao-snapshot -o jsonpath='{.status.lastSuccessfulTime}': 2026-11-04T01:30:27Z.kubectl -n openbao-drill get cronjob openbao-restore-drill -o jsonpath='{.status.lastSuccessfulTime}': 2026-11-01T04:00:40Z.kubectl -n openbao exec openbao-0 -c openbao -- bao status:Sealed false,Storage Type raft,HA Mode active.kubectl get externalsecrets -A --no-headers | grep -v SecretSynced: none.- Taskbase: #2544 is done. Its follow-up #2558, "Restart openbao-0 to apply the stateful-service
priority class", is open, assigned to
dunkand carries the restart window's steps. No new task was needed.
Resolution and verification¶
Not resolved. To resolve it, the owner (or a person they choose) runs #2558, the restart window:
kubectl -n openbao get cronjob openbao-snapshot -o jsonpath='{.status.lastSuccessfulTime}{"\n"}' # today
flux get helmreleases -n openbao # Ready, v7
kubectl -n openbao delete pod openbao-0 # ~2 min downtime starts
kubectl -n openbao exec openbao-0 -- bao status # Sealed false
kubectl get externalsecrets -A | grep -v SecretSynced # only the header
kubectl -n openbao get pod openbao-0 -o jsonpath='{.spec.priority}{"\n"}' # 1000
kubectl -n openbao get sts openbao -o jsonpath='{.status.updateRevision} {.status.updatedReplicas}/{.spec.replicas}{"\n"}' # openbao-85fb6d8cc4 1/1
The restart is done when the pod's priority is 1000, updatedReplicas is 1/1, and the alert
has gone from Alertmanager (about 15 minutes later). The incident is resolved after that, once this
report is updated to resolved with the times.
Follow-ups¶
-
2558 (person step, the owner): the restart window above. If an OpenBao image update (Renovate¶
PR #1079, 2.7.2) merges first, one restart applies both.
References¶
- Alert:
KubeStatefulSetUpdateNotRolledOut,openbao/openbaoon hetzner-mgmt; runbook - Taskbase incident task: #2562
- Runs: the
operatorrun of #2562 on 2026-11-04 - Pull requests: #1217 (the cause), this report's pull request
- Runbook sections: Rolling out an OpenBao pod-template change, the earlier occurrence, #1542
Open questions¶
- Merging this report completes #2562 while the alert still fires, and the next Alertmanager
notification reopens it, as happened with #1542. Linking #2562
depends_on#2558 would hold it until the restart has run. Agents may only link tasks they created in their run, so the operator could not add the link. worker-2was NotReady around 22:44–22:46:56, and theopenbaocontainer was killed by its liveness probe then. This run did not investigate why, because it is outside this alert. Memory stalls on the workers are covered by #2502, #2544 and the worker memory eviction page.