|
D-114 ADOPTED: VR1 site containment VMs + MAAS-composed LXD VMs for the non-stack machines
Operator ruling. AMENDS D-103 (which gave Office1 three sibling service VMs on vcloud). WHAT THE OPERATOR'S SCREENSHOTS PROVED -- and where I was wrong. I had grepped bundle.yaml, found only Juju's `lxd:N` CONTAINER placements, and concluded "there is no VR0 precedent for MAAS composing LXD VMs -- zero." FLATLY WRONG. VR0's MAAS (3.7.2) has an `lxd` machine registered back into MAAS as an LXD KVM host (LXD 5.21.4), and `tailscale` is a VM COMPOSED BY MAAS INSIDE IT. The bundle's Juju LXD containers and MAAS's LXD VM host are TWO DIFFERENT LXD usages in the same cloud; reading only the bundle collapses them into one. Recorded in the decision because the error is instructive. The ruling: 1. Non-stack machines (NetBox, GitBucket, Tailscale) become MAAS-COMPOSED LXD VMs -- MAAS-visible, enlisted/commissioned/deployed/powered. This is VR0's proven `lxd` + `tailscale` pattern per site, at ~2 cores / 2 GiB each. The Juju-deployed OpenStack services stay in Juju-created LXD CONTAINERS, invisible to MAAS, exactly as in VR0 -- per the operator, that visibility is not wanted. 2. Each site gets a containment VM (voffice1/vdc1/vdc2). The decisive rationale is the operator's: full-facility snapshots, and simulating total geographical failure of a facility. D-108's DR drill currently has NO honest "hard-down a DC" primitive -- `virsh destroy vdc1` IS that primitive. The flat model cannot offer this at any price. 3. Office1 FIRST, fully up; DC1 GATED behind it. 4. LXD pinned to the 5.21 LTS track: MAAS 3.6/3.7 is INCOMPATIBLE with LXD >= 6.7 (endpoint consolidation vs pinned pylxd 2.3.5). VR0 is on 5.21.4 -- safe by timing, now safe by decision. KNOWN RISK: vcloud is itself a KVM guest (measured), so a containment VM puts servers one level deeper than VR0 runs them. Office1 IS the nesting probe -- LXD VMs are qemu/KVM guests, so it needs nested KVM at the same L3 depth the DCs would (an earlier draft of the entry said Office1 needed none; corrected in-entry). Office1 is simply the cheap place to prove it: no OpenStack, no Ceph. DC1's gate additionally proves L4, the depth VR0 has never exercised. Bonus: voffice1 booting on office1-local takes the FIRST REAL DHCP LEASE from Kea -- a path proven only at the daemon level, never end to end. repo-lint 0 fail. No live system touched. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
|---|
|
|
| docs/design-decisions.md |
|---|