I’m trying to setup a 3 node cluster with Vault version 1.11.4 and running into some issues. I am using AWS to auto-unseal which works fine on the primary node, and works on the secondary nodes if I have them set to file. When I try to have them retry_join the primary node, the primary node shows them as raft members, but voting is false.
Node Address State Voter
---- ------- ----- -----
node_1 primary IP:8201 leader true
node_3 secondary IP:8201 follower false
node_2 tertiary IP:8201 follower false
Additionally the Status output of the secondary nodes is as follows:
Key Value
--- -----
Recovery Seal Type awskms
Initialized false
Sealed true
Total Recovery Shares 0
Threshold 0
Unseal Progress 0/0
Unseal Nonce n/a
Version 1.11.4
Build Date 2022-09-23T06:01:14Z
Storage Type raft
HA Enabled true
additional information, I get these two log errors:
Oct 7 14:16:21 vault-3 vault: 2022-10-07T14:16:21.104-0600 [ERROR] core: failed to retry join raft cluster: retry=2s err="failed to send answer to raft leader node: error bootstrapping cluster: cluster already has state"
Oct 7 14:16:22 vault-3 vault: 2022-10-07T14:16:22.192-0600 [INFO] core: stored unseal keys supported, attempting fetch
Oct 7 14:16:22 vault-3 vault: 2022-10-07T14:16:22.192-0600 [WARN] failed to unseal core: error="stored unseal keys are supported, but none were found"
Any ideas what’s going on here? Why would the auto unseal work fine with a file storage type, then suddenly break when attempting to join a raft?