-
Notifications
You must be signed in to change notification settings - Fork 2k
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
tasks are killed periodically with Killing task: vault: failed to derive token: failed to unwrap the token for task
#4097
Comments
Hey @dansteen What version of Vault are you running and what is the Vault configuration (single server, performance replicated, etc). Also can you share the Vault logs around that incident? I would also look through your Vault audit log and share the req/responses that include this allocation. You can see how the metadata is formatted here (#2475 (comment)) |
@dansteen Think I got a fix that will go in with 0.8 |
wow @dadgar even without full information. Nice! In case it helps: Vault v0.9.0 ('bdac1854478538052ba5b7ec9a9ec688d35a3335') We are using Vault in HA mode with an AWS ELB handling routing of traffic to the currently active vault server. Here are the vault logs around this time:
Unfortunately, I didn't have audit logs enabled yet (though I have enabled them now). |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Nomad version
Nomad v0.7.1 (0b295d3)
Operating system and Environment details
debian 8
Issue
We have found that our jobs will be periodically killed by nomad with the following message:
04/03/18 08:37:59 EDT Killing Killing task: vault: failed to derive token: failed to unwrap the token for task "core-api-java"
Job file (if appropriate)
The text was updated successfully, but these errors were encountered: