2026-11-19: OpenBao StatefulSet update not rolled out after the helm.sh/chart label was removed¶
Kind: reference (incident report)
Severity: warning · Status: resolved · Resolved by: dunk with the restart window #3460, checked by the operator agent (#3374) · Duration: 6 d 12 h 54 min from detection to resolution, 2026-11-19 17:31:03 – 2026-11-26 06:25:35 UTC (fault from 17:11:10 to the restart at 06:23:20) · Taskbase task: #3374
Summary¶
The second firing of incident #3374. Its first firing came from the chart 0.30.6 bump
(report). #3377
(#1605) then removed the label
helm.sh/chart from the openbao StatefulSet's pod template, so that later chart bumps that
change only metadata create no StatefulSet revision. The removal itself changed the pod template
once: Helm revision 10 (still chart 0.30.6) created StatefulSet revision openbao-777958fdb6, and
since the StatefulSet is OnDelete, KubeStatefulSetUpdateNotRolledOut fired until openbao-0
was deleted. That restart was planned with #3377 as the owner's person task #3460. The owner
restarted openbao-0 on 2026-11-26 at 06:23:20 UTC, and the alert resolved at 06:25:35. The
operator made no change.
Chart 0.30.7 (#1635, Helm revision 11) landed during the wait and created no StatefulSet revision: the first chart bump that #3377 kept from needing a restart. The note of 2026-11-21 on #3374 put the revision down to 0.30.7; it came from #3377's own change (see Root cause).
Impact¶
- Services: none degraded during the wait. The restart cost OpenBao about two minutes
(06:23:20 to the
postStartunseal at 06:25:25): ExternalSecret refreshes and OpenBao logins failed for that time, as #3460 planned. - Users: none noticed; the alert is a warning.
- Data: none at risk. The new revision differs from the old one only by the missing label:
same image (
quay.io/openbao/openbao:2.7.2), config and volumes. Theopenbao-snapshotbackup ran nightly throughout, the last one at 2026-11-26 01:30:17. - Duration: fault from 2026-11-19 17:11:10 UTC (the new ControllerRevision) to the restart at 2026-11-26 06:23:20; alert from 2026-11-19 17:31:03 to 2026-11-26 06:25:35.
Timeline¶
All times UTC.
| Time | Event | Source |
|---|---|---|
| 11-19 10:11 | Person task #3460 (restart window for #3377) created and assigned to the owner | Taskbase #3460 |
| 11-19 17:07:39 | #1605 (#3377) merged | Git, merge commit 61759eec |
| 11-19 17:11:09 | Helm revision 10 (openbao-0.30.6, app v2.7.2) deployed |
helm history openbao |
| 11-19 17:11:10 | StatefulSet update revision openbao-777958fdb6 (revision 10) created; openbao-0 stays on openbao-67c5d8ffcb (OnDelete) |
ControllerRevision |
| 11-19 17:17 | Alert pending |
ALERTS range query |
| 11-19 17:31:03 | Detected: KubeStatefulSetUpdateNotRolledOut fires for openbao/openbao |
Alertmanager, fingerprint 006cb13222b4e2a8 |
| 11-19 17:32:04 | Taskbase reopens #3374 and marks it flapping (its second reopen in 24 h), so it waits for a person | Taskbase comment |
| 11-20 10:48:47 | #1635 (chart 0.30.7) merged | Git, merge commit 5afc9a38 |
| 11-20 10:53:09 | Helm revision 11 (openbao-0.30.7) deployed; no new ControllerRevision |
helm history openbao, ControllerRevisions |
| 11-21 | Note on #3374: stop until the owner's restart #3460 is done | #3374 description |
| 11-26 06:23:20 | Owner deletes openbao-0 (#3460); the new pod starts on openbao-777958fdb6 |
pod startTime |
| 11-26 06:25:25 | postStart unseals OpenBao |
#3460 |
| 11-26 06:25:35 | Resolved: Alertmanager reports the alert resolved | Taskbase comment |
| 11-26 06:25:43 | #3460 marked done | Taskbase #3460 |
| 11-26 06:26 | Operator: alert gone from Alertmanager and ALERTS, no silence; OpenBao and ExternalSecrets healthy |
this report |
The alert fired without a break from 11-19 17:32 to 11-26 06:23 (one-minute query_range of
ALERTS). Taskbase's fire count of 45 counts Alertmanager's repeat notifications, not new firings.
Root cause¶
The StatefulSet renders with updateStrategy: OnDelete, so any change to its pod template waits
for openbao-0 to be deleted, and the alert fires meanwhile
(The alert). #3377 added
a spec.postRenderers patch to the HelmRelease that removes helm.sh/chart from the pod template.
Diffing the pod templates of ControllerRevisions openbao-67c5d8ffcb (revision 9) and
openbao-777958fdb6 (revision 10) shows only that: the line "helm.sh/chart": "openbao-0.30.6" is
gone. Helm revision 11 (chart 0.30.7) rendered the same pod template, so the StatefulSet kept
revision 10 and the change still waiting was #3377's.
What the agent did¶
All commands with --context admin@mgmt-cluster (--kube-context for Helm). Read-only only; no
write was made to the cluster, Flux, Helm or Alertmanager.
kubectl get --raw "$AM/api/v2/alerts"through the Service proxy of Read Alertmanager and Prometheus on a cluster: onlyhetzner-mgmt Watchdog active, so the Alertmanager is hetzner-mgmt's and the alert no longer fires.$AM/api/v2/silences: no active silence, so it is not hidden by one.- Prometheus
ALERTS{alertname="KubeStatefulSetUpdateNotRolledOut"}: empty. Aquery_rangeof it fornamespace="openbao"from 11-19 17:00 to 11-26 06:30:pending17:17–17:31,firing11-19 17:32 – 11-26 06:23. kubectl -n openbao get sts openbao:updateStrategy: OnDelete,updateRevisionopenbao-777958fdb6,updatedReplicas1,readyReplicas1 of 1, nohelm.sh/chartin the pod template.currentRevisionstill readsopenbao-548f7d779c: withOnDeletethe controller does not move it, and the alert no longer matches becausereplicas == updatedReplicas. The kube-state-metrics series say the same.kubectl -n openbao get controllerrevisions: revision 9openbao-67c5d8ffcb(11-18 14:45:07), revision 10openbao-777958fdb6(11-19 17:11:10), none later. Thejq -Sdiff of their pod templates: onlyhelm.sh/chartremoved.helm history openbao: revision 10openbao-0.30.6(11-19 17:11:09), revision 11openbao-0.30.7deployed(11-20 10:53:09).kubectl -n openbao get pod openbao-0:controller-revision-hashopenbao-777958fdb6, nohelm.sh/chartlabel, started 06:23:20, Ready, 0 restarts.kubectl -n openbao exec openbao-0 -c openbao -- bao status -format=json: version2.7.2,sealed: false, storageraft, HA enabled.kubectl get externalsecrets -A: none withoutReady True.flux get helmreleases -n openbao:openbaoReady,0.30.7, "Helm upgrade succeeded".flux get kustomizations -A --status-selector ready=false: empty.- Backups:
openbao-snapshotlast success 2026-11-26 01:30:17;openbao-restore-drill(monthly,0 4 1 * *) last success 2026-11-01 04:00:40;openbao-preupgradeJobsucceeded=1. - Taskbase: #3460 done at 06:25:43 with its done-condition met (pod on the update revision,
updatedReplicas1/1, alert gone), which is what step 3 shows.
Resolution and verification¶
Resolved by the owner's restart window #3460 at 06:23:20 on 2026-11-26 (Run the restart window). The agent's checks at 06:26 (steps 1–6) show the alert gone without a silence, the pod on the update revision without the label, OpenBao unsealed on raft, and every ExternalSecret synced on hetzner-mgmt. The owner's check in #3460 found 0 of 101 ExternalSecrets unsynced on hetzner-mgmt and 0 of 33 on webshop.
Follow-ups¶
-
3460 (the owner): the restart window for #3377. Done 2026-11-26.¶
- None new. From chart 0.30.7 on, a chart bump that changes only metadata creates no StatefulSet revision; only a real pod-template change (image, config, resources) needs a restart window.
References¶
- Alert:
KubeStatefulSetUpdateNotRolledOut, runbook - Taskbase incident task: #3374
- Pull requests: #1605 (#3377, label removed), #1635 (chart 0.30.7)
- Runbook sections: Rolling Out an OpenBao Pod-Template Change
- Earlier firing of the same incident: 2026-11-18, chart 0.30.6