Skip to content

2026-11-18: OpenBao StatefulSet update not rolled out after the chart 0.30.6 bump

Kind: reference (incident report)

Severity: warning · Status: resolved · Resolved by: dunk with the restart window #3369, checked by the operator agent (#3374) · Duration: 15:22 from detection to resolution, 2026-11-18 15:05:03 – 2026-11-19 06:27:34 UTC (fault from 14:45:07 to the restart at 06:23:41) · Taskbase task: #3374

Summary

Renovate's PR #1526 (task #3338) moved the openbao chart from 0.30.5 to 0.30.6. The chart change touches only metadata, but the pod template carries the label helm.sh/chart, so Helm revision 9 created a new StatefulSet revision. The StatefulSet uses updateStrategy: OnDelete, so openbao-0 stays on the old revision until a person deletes it, and KubeStatefulSetUpdateNotRolledOut fires until then. This is the expected alert of Rolling Out an OpenBao Pod-Template Change. OpenBao itself stayed healthy. The restart window was person task #3369, created with the upgrade and assigned to the owner. The owner restarted openbao-0 on 2026-11-19 at 06:23:41 UTC, and the alert resolved at 06:27:34. The operator made no change.

Impact

  • Services: none degraded. openbao-0 is Running, 1/1, Version 2.7.2, Sealed false, Storage Type raft, HA Mode active. Every ExternalSecret is SecretSynced.
  • Users: none noticed; the alert is a warning.
  • Data: none at risk. The new revision changes only the label helm.sh/chart: same image (quay.io/openbao/openbao:2.7.2), config and volumes. prepare-data deletes nothing on the restart (the volume holds only raft and lost+found, per #3369).
  • Duration: fault from 2026-11-18 14:45:07 UTC (the new ControllerRevision) to the restart at 2026-11-19 06:23:41; alert from 15:05:03 to 06:27:34. The restart itself cost OpenBao about 100 s (sealed until postStart unsealed it at about 06:25:20), as planned in #3369.

Timeline

All times UTC, 2026-11-18 unless the row says 2026-11-19.

Time Event Source
13:51 Person task #3369 (restart window for 0.30.6) created and assigned to the owner, depends_on #3338 Taskbase #3369
14:10 ## Upgrade evidence posted on #1526: class stateful, chart metadata only, server stays on 2.7.2 PR #1526 comment
14:40:45 #1526 merged PR #1526
14:44:48 openbao-preupgrade gate Job passes for target 0.30.6 (snapshot of 2.7.2, restored and verified) kubectl -n openbao-drill get job openbao-preupgrade
14:45:05 Helm revision 9 (openbao-0.30.6, app v2.7.2) deployed helm history openbao
14:45:07 StatefulSet update revision openbao-67c5d8ffcb (revision 9) created; openbao-0 stays on openbao-55dbcfbf (OnDelete) ControllerRevision
15:05:03 Detected: KubeStatefulSetUpdateNotRolledOut fires for openbao/openbao Alertmanager, fingerprint 006cb13222b4e2a8
15:06 Taskbase opens incident #3374 Taskbase
15:07 Operator: alert still active and unsilenced; cause is the waiting label-only revision; restart left to #3369 this report
15:34 This report merged (#1551); Taskbase closes #3374 while the alert still fires PR #1551, Taskbase
11-19 00:46:26 kube-state-metrics replaced by the kube-prometheus-stack 92.18.0 upgrade (#1578, merged 00:35:48); the alert drops back to pending at 00:52 ALERTS range query, kube-state-metrics ReplicaSet
11-19 01:06:33 Alert fires again; Taskbase reopens #3374 Taskbase comment
11-19 06:23:41 Owner deletes openbao-0 (#3369); the new pod starts on openbao-67c5d8ffcb, openbao-0.30.6 pod startTime
11-19 ~06:25:20 postStart unseals OpenBao; #3369 and #2773 marked done at 06:25 #3369
11-19 06:27:34 Resolved: Alertmanager reports the alert resolved Taskbase comment
11-19 ~09:30 Operator: alert absent from Alertmanager and ALERTS, no silence; OpenBao and ExternalSecrets healthy this report

Root cause

The OpenBao chart renders its StatefulSet with updateStrategy: OnDelete (the chart's default server.updateStrategyType), and its pod template carries the label helm.sh/chart: openbao-<chart version>. Any chart bump therefore creates a new StatefulSet revision, even one like 0.30.6 whose templates, values and image are unchanged. Diffing the two ControllerRevisions' pod templates (openbao-55dbcfbf and openbao-67c5d8ffcb) shows one line: helm.sh/chart: openbao-0.30.5 → openbao-0.30.6. With OnDelete, updatedReplicas stays 0/1 until openbao-0 is deleted, which is the alert's condition. The mechanism is described in Rolling Out an OpenBao Pod-Template Change.

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.

  1. kubectl get --raw "$AM/api/v2/alerts" through the Service proxy of Read Alertmanager and Prometheus on a cluster: hetzner-mgmt KubeStatefulSetUpdateNotRolledOut openbao openbao active, silencedBy empty, since 15:05:03. Still firing, so the run went on.
  2. kubectl -n openbao get sts openbao -o json: updateStrategy: OnDelete, replicas: 1, currentRevision: openbao-548f7d779c, updateRevision: openbao-67c5d8ffcb, updatedReplicas absent (0). kubectl -n openbao get pods: openbao-0 on openbao-55dbcfbf, Ready, started 2026-11-11T07:39:32Z. currentRevision does not move with OnDelete, as the read-only checks say.
  3. kubectl -n openbao get controllerrevisions: revision 8 openbao-55dbcfbf (8 days), revision 9 openbao-67c5d8ffcb (created 14:45:07). The jq -S diff of their pod templates: only helm.sh/chart.
  4. flux get kustomizations -A --status-selector ready=false and flux get helmreleases -A --status-selector ready=false: both empty. flux get helmreleases -n openbao: openbao Ready, 0.30.6, "Helm upgrade succeeded". helm history openbao: revision 9 deployed, openbao-0.30.6, v2.7.2.
  5. kubectl -n openbao exec openbao-0 -c openbao -- bao status: Sealed false, Version 2.7.2, Storage Type raft, HA Mode active. kubectl get externalsecrets -A | grep -v SecretSynced: nothing.
  6. Backups: openbao-snapshot last success 2026-11-18T01:30:20Z; openbao-restore-drill last success 2026-11-01T04:00:40Z; openbao-preupgrade Job succeeded=1, target 0.30.6, completed 14:44:48.
  7. Taskbase: #3338 (#1526) has the person task #3369 linked depends_on, assigned to dunk, with the restart steps and done-condition. The alert's runbook (kubestatefulsetupdatenotrolledout) says to delete the pod for an OnDelete StatefulSet. The repository's page overrides it here: the operator does not run OpenBao's restart window on its own (Who runs the restart window), so the agent left it to #3369 and did not silence the alert, as that page asks.

After the reopen on 2026-11-19, the agent checked the state again, read-only:

  1. kubectl get --raw "$AM/api/v2/alerts" (Service proxy): no KubeStatefulSetUpdateNotRolledOut, no alert in namespace openbao; every alert carries cluster: hetzner-mgmt. $AM/api/v2/silences: no active silence, so the alert really resolved and was not hidden by a silence. Prometheus ALERTS{alertname="KubeStatefulSetUpdateNotRolledOut"}: empty.
  2. A query_range of ALERTS{...,namespace="openbao"} from 14:30 to 07:00: firing 15:05:30–00:51, pending 00:52–01:06:30, firing 01:07–06:24. The drop to pending follows the kube-state-metrics pod change at 00:46–00:51 (#1578): the alert's for restarted, and its next firing reopened #3374.

Resolution and verification

Resolved by the owner's restart window #3369 at 06:23:41 on 2026-11-19 (Run the restart window). Checked by the agent at about 09:30, all with --context admin@mgmt-cluster:

  • kubectl -n openbao get pod openbao-0: started 06:23:41, controller-revision-hash openbao-67c5d8ffcb, helm.sh/chart openbao-0.30.6, image quay.io/openbao/openbao:2.7.2.
  • kubectl -n openbao get sts openbao: updatedReplicas 1 of 1, readyReplicas 1. currentRevision still reads openbao-548f7d779c: with OnDelete the controller does not move it, and the alert's expression no longer matches because replicas == updatedReplicas.
  • bao status: Sealed false, Version 2.7.2, Storage Type raft, HA Mode active.
  • ExternalSecrets not SecretSynced: 0 of 101 on hetzner-mgmt, 0 of 33 on webshop; both ClusterSecretStores openbao Valid, Ready True.
  • flux get helmreleases -A --status-selector ready=false: empty. helm history openbao: revision 9 deployed, openbao-0.30.6.
  • Alertmanager and Prometheus: the alert is gone and no silence covers it (steps 8–9).

Follow-ups

  • 3369 (the owner): the restart window for 0.30.6. Done 2026-11-19.

  • 2773 (the owner): the 0.30.5 restart task, closed 2026-11-19 since its done-condition held.

  • 3377: keep helm.sh/chart out of OpenBao's pod template, so a metadata-only chart bump makes

    no new revision, fires no alert and needs no restart window.

References

Open questions

  • As in #1542, the incident task closed when its report merged while the alert still fired, and Taskbase reopened it once the alert's for restarted (here after kube-state-metrics was replaced). An incident handed to a person task can close only after that person task is done.