host: delete legacy-rename and purge the old store #585
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra#585
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Part of bitborg/bitborg-docs#128 (ADR 0043).
After #584 plus a 7-day soak and one weekly backup drill.
legacy-renamerole.images.tar.Done when
find / -xdev -name '*gitborg*'is empty on each host.Purge date: Mon 2026-10-26, after the weekly drills of 2026-10-17 and 2026-10-24. Staging first. The scope also covers the shared
keycloakdatabase and role (the rollback copy since #670),/root/keycloak-move/, theprerename-*-20261015Cinder snapshots and the 7 stale.volumefiles on the monitoring VM.Also in scope: delete the
kanidm-cleanuprole and itssite.ymlentry (runbook "Kanidm removal"). A read-only check on 2026-10-15 found no Kanidm volume or image on prod. Staging is not checked yet. Prepare the PR before 2026-10-26.PR prepared on
chore/585-purge. It removes thelegacy-renameandkanidm-cleanuproles and theirsite.ymlentries, and trims the runbook. The host purge is a one-off run on 2026-10-26, staging first, outside Ansible. It removes the old container stores, the rename state dirs,/root/keycloak-move/, the sharedkeycloakdatabase and role, the 7 stale.volumeunits on monitoring, and theprerename-*-20261015snapshots. Read-only check 2026-10-15: no Kanidm state on staging or prod. Old stores are 5.7 GB on staging, 12 GB on prod and 2.1 GB on monitoring. The PR merges after the run.Leftovers outside this purge are tracked in #758.
PR #759 removes the roles. Merge it after the 2026-10-26 run on both environments.
Purged 2026-10-27 on both prod hosts and staging: the old container stores, the legacy-rename state, the Keycloak move state, the shared
keycloakdatabase and role, and the fiveprerename-*-20261015snapshots. Health checks pass afterwards. #759 removes the roles.gitborgnames left on purpose:*.gitborg.senames. Those names still 301 to bitborg.se, so the certificates are live./srv/bitborg-lfs/actions_log/gitborg/*: logs of CI runs from before the rename.gitborg-prodandgitborg-prod-monitoring.Closing.