fix: close kanidm cutover gaps (drill, signup-drill, runbook) #657

Sammanfogat
supernaut sammanfogade 5 incheckningar från fix/cutover-kanidm-gaps in i main 2026-10-11 11:06:49 +00:00
Ägare

Refs #575

Close the gaps that would break at or after the Keycloak cutover.

  • backup-drill: skip the Kanidm boot and restore check when kanidm_enabled is false, so the weekly drill passes after cutover.
  • signup-drill: pick Kanidm or Keycloak from kanidm_enabled. The Keycloak path uses the portal admin client against /realms/bitborg, checks group membership and deletes the test user.
  • Runbook, stand-up: apply the opentofu/keycloak realm between the two passes, so the end-of-run health gate passes on a host with no restored realm.
  • Runbook, cutover: take a final Kanidm dump in the window, age-encrypted, kept on the backup volume and off-site under a name retention never matches. Delete it by hand at the end of the rollback window.
  • Runbook, rollback: re-pin web to pin-c01b015, a same-digest copy of sha-c01b015, which registry retention deletes.

Checks: shellcheck, ansible syntax-check, ansible-lint, prettier, markdownlint, Jinja render of the drill template with kanidm_enabled true and false. The Keycloak signup drill ran against a mock only. The final-dump step has not run on a host.

Refs #575 Close the gaps that would break at or after the Keycloak cutover. - backup-drill: skip the Kanidm boot and restore check when `kanidm_enabled` is false, so the weekly drill passes after cutover. - signup-drill: pick Kanidm or Keycloak from `kanidm_enabled`. The Keycloak path uses the portal admin client against `/realms/bitborg`, checks group membership and deletes the test user. - Runbook, stand-up: apply the `opentofu/keycloak` realm between the two passes, so the end-of-run health gate passes on a host with no restored realm. - Runbook, cutover: take a final Kanidm dump in the window, age-encrypted, kept on the backup volume and off-site under a name retention never matches. Delete it by hand at the end of the rollback window. - Runbook, rollback: re-pin web to `pin-c01b015`, a same-digest copy of `sha-c01b015`, which registry retention deletes. Checks: shellcheck, ansible syntax-check, ansible-lint, prettier, markdownlint, Jinja render of the drill template with `kanidm_enabled` true and false. The Keycloak signup drill ran against a mock only. The final-dump step has not run on a host.
supernaut lade till 4 incheckningar 2026-10-11 10:57:31 +00:00
supernaut schemalade den här ändringsförfrågan för automatisk sammanfogning när alla kontroller lyckas 2026-10-11 10:58:57 +00:00
supernaut lade till 1 incheckning 2026-10-11 11:04:25 +00:00
fix(signup-drill): silence sc2317 for pinned shellcheck 0.10.0
Alla kontroller lyckades
ci / ci (pull_request) Successful in 1m56s
3c556836c3
supernaut sammanfogade incheckning 7280f02996 till main 2026-10-11 11:06:49 +00:00
supernaut tog bort grenen fix/cutover-kanidm-gaps 2026-10-11 11:06:49 +00:00
Logga in för att delta i denna konversation.
Inga granskare
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-infra!657
Ingen beskrivning angiven.