openbao: fix bootstrap so it completes on 2.6.x #134
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Jinemi/thermograph#134
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/openbao-bootstrap-2-6"
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?
bootstrap.sh could not run to completion on OpenBao 2.6.1:
bao_<ver>_linux_amd64.tar.gzandbao_<ver>_SHA256SUMSboth 404; the assets areopenbao_<ver>_...andchecksums.txt. The tarball is now saved under its real name and the checksumgrep anchored to end-of-line, because checksums.txt also lists a .sbom.json and
sha256sum -cresolves each line by the filename inside it.openssl rand -base64 32appends a newline and the static seal reads the keyfile raw, so the service failed with
Error configuring seal "static": unknown encoding for AES-256 key.explicit
typeandpathwith device settings underoptions. Worth noting theintermediate state: with type and path but a bare
file_path, the server startsand silently ignores the log location, which is the worse failure given a wedged
audit device stops OpenBao answering at all.
disable_mlockis unsupported in 2.6.1 and warned on every start.reach the vault. dev renders on vps1, so this would have surfaced as a timeout
during cutover rather than here.
bootstrap-policies.sh installed beta's credentials as
deploy:deploy, but vps2 hasno
deployuser and both environments deploy asagent(env-topology.sh setsTG_SSH_TARGET=agent@ for both; deploy.yml uses one VPS2_SSH_USER). install_creds
also printed a success line after a failed chown: the call site wrapped it in
|| echo, which suppressesset -efor everything inside the function, so it fellthrough to chmod and reported an ownership it never applied. It now removes the
half-written file and returns non-zero.
Corrects the isolation rationale accordingly — separate credentials buy audit
attribution and a policy boundary against mistakes, not deploy-user isolation.
Documents the 2.6.0 root-token change (HCSEC-2026-08):
generate-rootnow targetsan authenticated endpoint, so recovery keys cannot mint a replacement token and
revoking the last root token before a second admin identity exists is a one-way
door. Also corrects the runbook's
verify-parity.sh --all, which cannot work froma single host given the AppRole CIDR bindings.
Pull request closed