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 Sealed when tried to restore backup. #7829

Open
rdeb22 opened this issue May 11, 2020 · 1 comment
Open

Vault Sealed when tried to restore backup. #7829

rdeb22 opened this issue May 11, 2020 · 1 comment
Labels
theme/consul-vault Relating to Consul & Vault interactions theme/kubernetes Consul-helm/kubernetes related questions

Comments

@rdeb22
Copy link

rdeb22 commented May 11, 2020

When I tried to restore an existing backup of keys into vault pods, all pods got sealed and I could not unseal even with unseal Key.
Steps: Backup File k8s-backup

#copying the backup folder into consul sever.
Step 1: kubectl cp /tmp/k8s-backup consul-consul-server-0:/tmp 
#restoring
Step 2: onsul snapshot restore /tmp/k8s-backup

Result in all Vault Pods got sealed and failed to unseal even with unsealing key.

could it be because of consul key has to be passed during the vault initialization?

@jsosulska jsosulska added theme/consul-vault Relating to Consul & Vault interactions theme/kubernetes Consul-helm/kubernetes related questions labels May 11, 2020
@jsosulska
Copy link
Contributor

Matching Discuss post to track conversation: https://discuss.hashicorp.com/t/vault-sealed-when-tried-to-restore-backup/8606/2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/consul-vault Relating to Consul & Vault interactions theme/kubernetes Consul-helm/kubernetes related questions
Projects
None yet
Development

No branches or pull requests

2 participants