Recovering cluster

I had a vault cluster using raft storage with 3 instances. The cluster pods were scaled down to 1 pod without propoerly scaling the raft cluster before. Now the the 2 of the vault pods and their PVCs has been deleted. The last one left is in inconsistent state as it is not the active node of the previous raft cluster and now keeps looking for other 2 nodes. Is there a way to force the last remaining node to become the active node.

The usuall commands for “vault operator raft” do not work as ther active node which should process the api commands is not there any more.

Hi @safderali5 , You can refer to this instruction to recover your cluster - Recover from lost quorum | Vault | HashiCorp Developer . We had similar issue below and we followed this instruction which we then successfully recover our cluster.

2 Likes

Thanks @rhiyu_eidi_wee , this indeed solved my issue.

1 Like