Swap dev to .97.15 + retire the microvm (ADR-0018, PR3) #162

Closed
opened 2026-06-14 14:52:40 +02:00 by dominik.polakovics · 1 comment

ADR: https://git.cloonar.com/Cloonar/nixos/src/branch/main/docs/adr/0018-dev-self-managed-qemu-vm.md
Blocked by #161 — only after the new VM is validated.

Final cutover: swap the validated new VM onto .97.15 and retire the microvm (ADR-0018). Re-triage once unblocked to confirm the agent-vs-human split (the Nix edits are agent-doable; parking live sessions + the go-live swap are operational).

  • Park sessions on the old microvm; flip cloonar.vms.dev + hosts/dev/ net .97.16 → .97.15.
  • Delete ./vms/dev microvm wrapper + config; retarget cpu-priorities.nix CFS weight from microvm@dev to the new unit.
  • Reclaim: rm the old 51 G rootfs.img + /var/lib/microvm-persist/dev.

Split from #159.

ADR: https://git.cloonar.com/Cloonar/nixos/src/branch/main/docs/adr/0018-dev-self-managed-qemu-vm.md Blocked by #161 — only after the new VM is validated. Final cutover: swap the validated new VM onto `.97.15` and retire the microvm (ADR-0018). Re-triage once unblocked to confirm the agent-vs-human split (the Nix edits are agent-doable; parking live sessions + the go-live swap are operational). - [ ] Park sessions on the old microvm; flip `cloonar.vms.dev` + `hosts/dev/` net `.97.16 → .97.15`. - [ ] Delete `./vms/dev` microvm wrapper + config; retarget `cpu-priorities.nix` CFS weight from `microvm@dev` to the new unit. - [ ] Reclaim: `rm` the old 51 G `rootfs.img` + `/var/lib/microvm-persist/dev`. Split from #159.
Author
Owner

Landed in #168 (merged a5addf2): the shared-store microVM is retired, the self-managed QEMU VM is the canonical dev box on .97.15, cpu-priorities retargeted to dev-vm, and restartIfChanged=false so fw rebuilds no longer reboot the guest. Remaining ops are manual on fw (systemctl restart dev-vm for 12 GiB; rm the old rootfs/persist to reclaim ~51 GiB).

Landed in #168 (merged a5addf2): the shared-store microVM is retired, the self-managed QEMU VM is the canonical dev box on .97.15, cpu-priorities retargeted to dev-vm, and restartIfChanged=false so fw rebuilds no longer reboot the guest. Remaining ops are manual on fw (systemctl restart dev-vm for 12 GiB; rm the old rootfs/persist to reclaim ~51 GiB).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Cloonar/nixos#162
No description provided.