harness: OpenBao on test-01..03 like c1; harness OpenBao configured from vault/sim #34
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/machine-configs!34
Loading…
Reference in a new issue
No description provided.
Delete branch "harness-openbao"
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?
The lab now runs OpenBao the way c1 does, and configures every OpenBao it uses from the same Terraform module as production.
OpenBao on test-01..03
modules/openbao-think.nixgains options for the lab:sealToken:yubikey(the default) orsofthsmrootCaFileapiCertFileThe defaults are the thinks' values. think-01 and think-02 build byte-identical before and after this change.
modules/profiles/harness.niximports the module with SoftHSM. The unit stays off until the node has been provisioned.scripts/harness-openbao-cluster.sh:harness-ceremony.sh server)configureapplies lab/iacvault/simthrough a tunnel.task vm:openbao-cluster-checkruns invm:e2eafter the cluster check. It restarts one node, which must unseal itself, and stops another, so the remaining two must keep serving.Harness OpenBao configured from code
harness-bao.shapplies lab/iacvault/siminstead of running hand-writtenbaocommands. That root uses the production contract module (vault/modules/openbao-platform) with lab values. Runningupa second time applies no changes.Fixes
k3s-reset.shchecked each node's OpenBao from the operator's machine, which may not be able to reach the node's address. It now asks each node over SSH.k3s-rejoin-dropin-check: a timer, an hour after boot and hourly after that, that fails visibly if ak3s-reset --noderejoin drop-in was left behind. It isn't part of node-health, so it never rolls a generation back.vm:reset-checkcovers both outcomes.lab:destroynow removes.vm/bedrock.Tested
The full
vm:e2epasses onc6a23f5.vm:watchdog-checkfailed once: the VM reset without the soft-lockup panic, and the same boot loggedclocksource: Watchdog remote CPU 1 read timed out. That looks like the host starving the VM, not this change. The stage passed on rerun, along withvm:reboot-checkandvm:reset-check, and it passed in three earlier full runs.