Follow-up of the planned openbao role (a single-node OpenBao server: tarball install, raft storage, consumer-supplied TLS, an opt-in init entry point returning a no_log fact, optional Shamir unseal from vaulted keys, an update entry point and a declarative file audit device). That role runs one node only, so the server is a single point of failure.
Out of scope: auto-unseal (separate issue) and any change to the storage backend.
Proposal
Let the role form a raft cluster of several nodes:
retry_join stanzas built from the consumer's list of peers;
per-node TLS: the consumer supplies a certificate per node whose SANs cover that node's API and cluster addresses;
api_addr and cluster_addr set per node;
init runs on one node only; the others join and are unsealed.
The first version already uses raft storage with node_id and cluster_addr, so a single-node deployment grows into a cluster without a storage migration.
Acceptance criteria
A multi-instance Molecule scenario brings up three nodes that form one raft cluster (bao operator raft list-peers shows three voters).
Losing the leader elects a new one and the cluster keeps serving reads (checked in the scenario's verify).
The single-node default scenario still passes unchanged.
The README documents the cluster variables and the per-node TLS requirement.
A changelog fragment in minor_changes.
Assisted-by: Claude Code
### Problem
Follow-up of the planned `openbao` role (a single-node OpenBao server: tarball install, raft storage, consumer-supplied TLS, an opt-in `init` entry point returning a `no_log` fact, optional Shamir unseal from vaulted keys, an `update` entry point and a declarative file audit device). That role runs one node only, so the server is a single point of failure.
Out of scope: auto-unseal (separate issue) and any change to the storage backend.
### Proposal
Let the role form a raft cluster of several nodes:
- `retry_join` stanzas built from the consumer's list of peers;
- per-node TLS: the consumer supplies a certificate per node whose SANs cover that node's API and cluster addresses;
- `api_addr` and `cluster_addr` set per node;
- `init` runs on one node only; the others join and are unsealed.
The first version already uses raft storage with `node_id` and `cluster_addr`, so a single-node deployment grows into a cluster without a storage migration.
### Acceptance criteria
- [ ] A multi-instance Molecule scenario brings up three nodes that form one raft cluster (`bao operator raft list-peers` shows three voters).
- [ ] Losing the leader elects a new one and the cluster keeps serving reads (checked in the scenario's verify).
- [ ] The single-node default scenario still passes unchanged.
- [ ] The README documents the cluster variables and the per-node TLS requirement.
- [ ] A changelog fragment in `minor_changes`.
Assisted-by: Claude Code
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
Follow-up of the planned
openbaorole (a single-node OpenBao server: tarball install, raft storage, consumer-supplied TLS, an opt-ininitentry point returning ano_logfact, optional Shamir unseal from vaulted keys, anupdateentry point and a declarative file audit device). That role runs one node only, so the server is a single point of failure.Out of scope: auto-unseal (separate issue) and any change to the storage backend.
Proposal
Let the role form a raft cluster of several nodes:
retry_joinstanzas built from the consumer's list of peers;api_addrandcluster_addrset per node;initruns on one node only; the others join and are unsealed.The first version already uses raft storage with
node_idandcluster_addr, so a single-node deployment grows into a cluster without a storage migration.Acceptance criteria
bao operator raft list-peersshows three voters).minor_changes.Assisted-by: Claude Code