Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vault is not initialized in ha mode #975

Open
tomthomas123 opened this issue Nov 9, 2023 · 1 comment
Open

Vault is not initialized in ha mode #975

tomthomas123 opened this issue Nov 9, 2023 · 1 comment

Comments

@tomthomas123
Copy link

i have deployed vault in azure cluster using the chart. I have enabled ha and raft in values.yaml. I have vault pods and an injector pod. vault pods are vault-0, vault-1 and vault-2. I have initialized vault-0 using vault operator init command and unsealed the vault-0 using the vault operator unseal command. now vault-0 is in ready state. Now when I try to unseal vault-1 and vault-2 using the unseal key obtained by running init comman din vault-- I am getting the following error.
Error unsealing: Error making API request.

URL: PUT http://127.0.0.1:8200/v1/sys/unseal
Code: 400. Errors:

  • Vault is not initialized
@ram-parameswaran
Copy link

Well, this is expected behaviour. Unless you are using retry_join in your vault config, you will need to do a explicit raft join of vault-1 and vault-2 to vault-0 and then do the Vault unseal on vault-1 and vault-2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants