host: delete legacy-rename and purge the old store #585

Stängd
öppnade 2026-10-08 14:53:03 +00:00 av supernaut · 6 kommentarer
Ägare

Part of bitborg/bitborg-docs#128 (ADR 0043).

After #584 plus a 7-day soak and one weekly backup drill.

  • Delete the legacy-rename role.
  • Purge the old container store and images.tar.
  • Delete snapshots from before the window.

Done when

find / -xdev -name '*gitborg*' is empty on each host.

Part of bitborg/bitborg-docs#128 (ADR 0043). After #584 plus a 7-day soak and one weekly backup drill. - [x] Delete the `legacy-rename` role. - [x] Purge the old container store and `images.tar`. - [x] Delete snapshots from before the window. ## Done when `find / -xdev -name '*gitborg*'` is empty on each host.
Upphovsperson
Ägare

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 keycloak database and role (the rollback copy since #670), /root/keycloak-move/, the prerename-*-20261015 Cinder snapshots and the 7 stale .volume files on the monitoring VM.

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 `keycloak` database and role (the rollback copy since #670), `/root/keycloak-move/`, the `prerename-*-20261015` Cinder snapshots and the 7 stale `.volume` files on the monitoring VM.
Upphovsperson
Ägare

Also in scope: delete the kanidm-cleanup role and its site.yml entry (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.

Also in scope: delete the `kanidm-cleanup` role and its `site.yml` entry (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.
Upphovsperson
Ägare

PR prepared on chore/585-purge. It removes the legacy-rename and kanidm-cleanup roles and their site.yml entries, 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 shared keycloak database and role, the 7 stale .volume units on monitoring, and the prerename-*-20261015 snapshots. 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.

PR prepared on `chore/585-purge`. It removes the `legacy-rename` and `kanidm-cleanup` roles and their `site.yml` entries, 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 shared `keycloak` database and role, the 7 stale `.volume` units on monitoring, and the `prerename-*-20261015` snapshots. 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.
Upphovsperson
Ägare

Leftovers outside this purge are tracked in #758.

Leftovers outside this purge are tracked in #758.
Upphovsperson
Ägare

PR #759 removes the roles. Merge it after the 2026-10-26 run on both environments.

PR #759 removes the roles. Merge it after the 2026-10-26 run on both environments.
Upphovsperson
Ägare

Purged 2026-10-27 on both prod hosts and staging: the old container stores, the legacy-rename state, the Keycloak move state, the shared keycloak database and role, and the five prerename-*-20261015 snapshots. Health checks pass afterwards. #759 removes the roles.

gitborg names left on purpose:

  • Caddy certificates and ACME accounts for the *.gitborg.se names. 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.
  • The Renovate repo cache, which rebuilds itself.
  • The hostnames gitborg-prod and gitborg-prod-monitoring.

Closing.

Purged 2026-10-27 on both prod hosts and staging: the old container stores, the legacy-rename state, the Keycloak move state, the shared `keycloak` database and role, and the five `prerename-*-20261015` snapshots. Health checks pass afterwards. #759 removes the roles. `gitborg` names left on purpose: - Caddy certificates and ACME accounts for the `*.gitborg.se` names. 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. - The Renovate repo cache, which rebuilds itself. - The hostnames `gitborg-prod` and `gitborg-prod-monitoring`. Closing.
Logga in för att delta i denna konversation.
Ingen milstolpe
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#585
Ingen beskrivning angiven.