Loading
Record a recreated VM's addresses and harden the pair restores
just lab restore of a gone VM kept the old addresses, so it waited 900 s on one nothing held, and the lab's own URL still named it.
flowchart LR
R[restore] --> V{VM exists?}
V -- no --> C[recreate]
V -- yes --> S[start]
C --> A[record addresses]
S --> A
A --> H{address moved?}
H -- omnibus --> O[gitlab.rb, reconfigure, stable sign-in]
H -- caproni --> K[chart values, helm upgrade]
H -- https --> P[private CA move]
O --> W[settle]
K --> W
P --> W- Addresses are read from the cloud into state before any wait (#51).
- The lab's own URL follows: omnibus gitlab.rb with a reconfigure, caproni chart values with a helm upgrade, https through the private-CA move (selftest only). A caller-owned
--hostis left alone. - Pair restores refuse if a member snapshot is not READY, and geo fails closed on an unreadable secondary status.
SIM_PAIR_VERBalone no longer bypasses the member refusal.- A restore raises the VM-up notice.
Tests: each has a selftest check, red before and green after. Live: omnibus moved to 34.173.24.44 and answered a Location on it; caproni answered 200 on its new address; rigs torn down.
Closes #51
Edited by Andrew Dunn