Decommission legacy single-user containers #6
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
posta/server#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
After ~1 week stability window post-migration (#3): permanently delete the legacy single-user containers from fismen.
This is HITL — destructive operation, operator decision on timing.
Acceptance criteria
incus deleteBlocked by
Ready-for-Human Brief
Category: enhancement
Summary: After a stability window of at least 7 days following the migration in #3, permanently delete the legacy single-user containers (
arne-msg,marcus-msg,tarald-msg) from fismen.Why this is human-only:
The operation is destructive and irreversible —
incus deleteremoves the containers and their disks. The "stability window" criterion is a human judgment call: the operator reads daemon logs over the preceding week and decides whether the new multi-tenant deployment has been stable enough to give up the rollback artifact. There is no automated signal that's safe to delegate; an AFK agent cannot meaningfully assess "anything weird in the logs?" The cost of getting this wrong is high (no quick rollback path) and the cost of waiting longer is essentially zero (stopped containers consume only disk).Blocked by: #3 (cutover must have happened, with the legacy containers stopped-but-not-deleted as rollback artifacts).
Procedure:
journalctl -u posta(or equivalent) on the newpostacontainer for the past week. Look for unexpected restarts, panics, or per-identity errors. If anything looks off, postpone — there is no time pressure.DEPLOY.md(or wherever the migration runbook from #3 ended up) recording the deletion date and confirming the rollback artifacts are gone.Acceptance criteria:
arne-msg,marcus-msg,tarald-msg) are removed viaincus delete.Out of scope:
posta-servercode. This is purely a deploy-side cleanup.Cleanup complete — 2026-05-10
The three legacy containers (
arne-msg,marcus-msg,tarald-msg) wereincus delete'd on fismen, same day as the cutover in #3. The 7-day stability window in the original brief was waived — operator decision after verifying the new multi-tenant daemon end-to-end and confirming all per-identity data already lives in the newpostacontainer.State after cleanup:
incus listshows no*-msgposta containers; onlyposta(.168),posta-web, and unrelatedmsg-web(the historical web frontend container) remain./etc/caddy/Caddyfile.bak.posta-multitenant-cutover-20260510-004551).DEPLOY.mdrollback section updated: no live rollback target — recovery path now requires rebuilding from the legacy binary at commit793e9edplus the per-identity data still inposta:/var/lib/posta/<slug>/.Acceptance criteria:
incus delete(forced, since they had been auto-restarted by Incus default autostart between cutover and cleanup)Closing.