RouterOS: first armed apply after the 11-17 password rotation (watch) #142
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/iac#142
Loading…
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?
Low priority, watch item. Close after the first real armed apply on an rb5009 succeeds post-rotation.
Context
2026-11-17 (#68, PR #135): the terraform REST password of all three devices was rotated live with
task routeros:rotate-password(crs309 13:58, rb5009-b 14:25, rb5009-a 14:43 local; OpenBaosecret/routeros-secretsv4 -> v7). After each one, a triggered reconcile ran detectDrift with the new password: no drift, no apply. Runner pods are created per reconcile, so their env always carries the current Secret.Verified read-only: each rb5009 reaches its peer's
/rest/system/schedulerwith the peer password from the cluster Secret (HTTP 200 both ways). That is the first requestarm.shmakes.Not yet exercised on hardware: a full arm -> judge -> commit after the rotation. The sim (
routeros/sim/rollback/run.sh) proves that path; rotation changed values only, not code.If an apply fails after this
peer ... answered HTTP 401, cannot prove it is unarmedrouteros-<peer>-envstale or KV/device disagreetask routeros:rotate-password DEVICE=<peer>(resumes)WARN: stored credentials refused (rotated?); no early armrouteros-<dev>-envnot refreshedkubectl -n flux-system annotate externalsecret routeros-<dev>-env force-sync=$(date +%s) --overwrite$XDG_RUNTIME_DIRresumes the runDocs:
docs/routeros/README.mdsection "Secrets and state". Sim:task routeros:rotate-sim.Refs #68, #74
Closing: armed applies have gone through arm, judge and commit on both rb5009s since the 11-17 rotation (#140, #163-#166), and both runners are Ready at
d4e98ba.