0
0
plan 0040: promote 93fd8c11 root cause; decisions 75, 76
docs/plans/0040-findings.md+19−0
| @@ -3292,3 +3292,22 @@ Each: what was seen (with the log), the cause, the fix, its proof. | ||
0003:run and 0013:run passed by hand from hat-8 (requester on the host, stable bidders): the hand prod run did not | ||
have promote's topology (the requester inside a guest rented on a prod bidder). CAUSE: in work | ||
(`~/.tmp/promote-93fd/report.md`). LESSON: a hand prod proof must run from inside a rented guest, as promote does. | ||
- PROMOTE 93fd8c11 ROOT CAUSE (one cause for 0003:run, 0007:webrtc, 0013:run; evidence `~/.tmp/promote-93fd/`: | ||
`artifacts/`, `artifacts-a7/`, `journals/hat-{7,8,9,10}.log`, journal times PST). A guest's nftables bridge rules are | ||
loaded once, when vmexec starts the VM (`guestnet.Fence`, only from `Wire`, `wire_linux.go:21`), from the bidder | ||
binary that booted it. The release VM `fc-gmlkrhimouee-141c0d19` was prepared and placed on hat-7 at 21:26:58Z by | ||
bidder pid 1638022 (688c2105: no webrtcUDPPorts rule, hostUDP off); hat-7 self-updated 21:28:36-48Z; the new binary | ||
only adopted the unit (`hostprocess_unit_adopted` twice, one `prepared`), its rules were never reloaded until its | ||
release 22:57:24Z. The three targets were on hat-7 too (0003 `fc-ocnuqjlzgohy-f37b401f` port 31664; 0007:webrtc | ||
`fc-ocnuqjlzgohy-7a225470` 31664; 0013 vm1 `fc-lpfuqerea3de-4792c404` 31665): the only path is release VM to | ||
192.168.0.17:316xx (the host's own address), dropped by the old rules (`fence_linux.go:171`); srflx to srflx dies on | ||
the router (no hairpin); 172.30.0.2 is the same in every guest. Cross-host works from the same VM: 0009's four shells | ||
landed on hat-8, hat-9, hat-8, hat-9 and passed; bidder mesh rounds connected hat-8 4 of 4, hat-9 4 of 4, hat-7 0 | ||
of 4, hat-10 0 of 4. 0003:RUN IS PLACEMENT, NOT CODE: at a7dab399 its guest won on hat-8 (release VM on hat-7); now | ||
hat-7 bid first and took 21 of the gate's 33 rentals; acc-0003's webrtc path is unchanged. WHY NOT SEEN BEFORE THE | ||
ROLL: staging's requester is on the atproto VM and targets advertise overlay addresses (never a guest of the host | ||
it dials); the hand prod run had its requester on hat-8 itself, outside any guest rules. Decision 54's rule covers | ||
exactly this path but has never been proven packet by packet. FIX: decision 75 (rules reloaded on adopt). HAT-10: | ||
its firewalld zone opened no UDP (decision 76, opened 31000-31999/udp); it hosted no gate VM this time (declined | ||
for capacity). LESSON: a rule or guest-side change shipped in a release is not on guests booted before the roll; | ||
the hand prod proof must run from inside a guest rented on a prod bidder, on the same host as its target. | ||
docs/plans/0040-release-pipeline.md+9−0
| @@ -706,6 +706,15 @@ All answered 2026-11-17. | ||
to 27.7 ms, startup allocations 10.2 MB to 16.1 MB at every start of the binary, binary +7.8 MiB (chroma's init); | ||
inside tmux without a truecolor TERM lipgloss v2 also runs `tmux info` once per start. Error paths and every | ||
non-help output stay byte for byte as before (branch `cli-help` 11de77b7; plan 0043 Built). | ||
75. (2026-11-20) Guest network rules follow the running bidder (asked after promote 93fd8c11 went red; answer: | ||
"Approve reload on adopt"): when a bidder adopts a running guest (after an update or a rollback) it reloads that | ||
guest's nftables rules from its own current rule set: exactly decision 54's rule, nothing wider. Cause it fixes: | ||
a guest's rules were loaded once, by the bidder binary that booted it; promote's own VM is booted before channel | ||
rc moves, so a rule shipped in a release was never on the promote's requester. Branch `fence-on-adopt`, a staging | ||
entry for it, proven on a held staging network before the next roll. | ||
76. (2026-11-20) hat-10's firewalld zone opened no UDP (hat-9: 31000-31999/udp; hat-7, hat-8: 1025-65535/udp); answer: | ||
"Yes, match hat-9": done by the lead 23:2xZ: `firewall-cmd --zone=FedoraServer --add-port=31000-31999/udp`, runtime | ||
and permanent (before: `1997/tcp`; after: `1997/tcp 31000-31999/udp`). | ||