-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
GCP: Vault 1.4 crashes on start-up with KMS unseal #8821
Comments
I believe I am having the same problem but with AWSKMS as the unsealer. I am running in an AWS EKS cluster using the Hashicorp vault helm chart (0.5.0). I started with Shamir, but when I add the seal stanza to use the KMS to do a migrate, the vault pods launch but the server never come up. In addition, there are no log messages. If I comment the seal stanza, it comes up. I am using raft as my storage. It's a two node cluster. |
@jpds thanks for the report! Is it possible for you to share the full log, including the startup log entries? |
I would. But I see nothing. Once the container has been created, This is the config from my helm values.yml
When the seal stanza is there: nothing. No seal stanza, vault comes up (and I can manually unseal the master and standby) |
@jpds I was able to find the source of the panic and opened a PR for a fix. In the meantime, can you try setting the seal type via the config (instead of the env var) and see if you're able to get around this panic? The other gcpkms values should still be properly set via environment variables. Remove this line:
Add this to your config:
@corbesero Can you provide more information on your set up? This issue seems to be specific to gcpkms autoseal so it might be unrelated to your problem. Edit: I missed your latest update. I'll need to investigate on this, but your config seems to be fine. |
aws eks cluster (v1.15) in us-east-1 |
@corbesero it's a bit odd that you're not getting any logs at all, so it could be that the pods are failing to start. Can you give Since this issue is not related to your report, can we also open a separate GH issue to track this going forward? Thanks! |
I use Vault on Google Cloud Platform with KMS auto-unseal and a cloud storage bucket for the backend. I also use the Vault Docker image.
This ran fine with Vault 1.3.3, I upgraded to 1.4.0 and my Vault containers fail with the below log output.
I downgraded back to 1.3.4 and my containers were able to start again.
Environment: GCP
Vault Config File:
Startup Log Output:
The text was updated successfully, but these errors were encountered: