You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an alloc fails, a post-stop task cannot get the vault token. This breaks eg our use case where we use a post-stop task to detect if the job has failed, and if so get a slack token from vault and send an alert.
Reproduction steps
Write a job spec with a main task that fails and a poststop task that uses vault:
Nomad version
v1.9.4
Issue
If an alloc fails, a post-stop task cannot get the vault token. This breaks eg our use case where we use a post-stop task to detect if the job has failed, and if so get a slack token from vault and send an alert.
Reproduction steps
Write a job spec with a main task that fails and a poststop task that uses vault:
Expected Result
Vault access succeeds.
Actual Result
Error
Vault: server failed to derive vault token: Can't request Vault token for terminal allocation
The text was updated successfully, but these errors were encountered: