Hello
I have a cluster of 3 node Vault which using raft backend.
I install them via a helm charts on a kubernetes cluster, I had to upgrade the kubernetes cluster and I put the stateful sets to 0 after that I put back the stateful set to 3 but at this moment I lost the leader (cf below the status).
Some one had this issue, can support me or know how to rejoin the cluster without lost any data?
Vault-0 : the leader have these attributes :
version : 1.7.2
storage type : raft
sealed : false
initialized : true
cluster name : vault-cluster-17dd5a5b
ha enabled : true
ha cluster : n/a
ha mode : standby
active node address :
Vault-1
version : 1.7.2
storage type : raft
sealed : false
initialized : true
cluster name : vault-cluster-17dd5a5b
ha enabled : true
ha cluster : https://vault-1.vault-internal:8201
ha mode : standby
active node address : http://172.20.28.47:8200 ← ip of the vault-1
Vault-2
version : 1.7.2
storage type : raft
sealed : false
initialized : true
cluster name : vault-cluster-17dd5a5b
ha enabled : true
ha cluster : https://vault-1.vault-internal:8201
ha mode : standby
active node address : http://172.20.28.47:8200 ← ip of the vault-1
Others info
Kubectl exec vault-0 – vault operator raft list-peers
Error reading the raft cluster configuration: Error making API request.
URL: GET http://127.0.0.1:8200/v1/sys/storage/raft/configuration
Code: 500. Errors:
- local node not active but active cluster node not found
command terminated with exit code 2
Kubectl exec vault-1 – vault operator raft list-peers
No raft cluster configuration found
command terminated with exit code 2
Kubectl exec vault-2 – vault operator raft list-peers
No raft cluster configuration found
command terminated with exit code 2
many thanks in advance
Best regards