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
This is not a Nomad issue, but can cause unexpected pain for Nomad users.
This is a mirror issue to hashicorp/vault#8972 for visibility; it should be monitored for work and solution. This will help folks that might search the Nomad issue base crosswalk back to the Vault issue.
Upgrading vault from 1.3.x to 1.4.x causes token renew-self failures with nomad 0.11.1 (and possibly others). This might be a silent BC break for nomad users. It went unnoticed for several days in my test environment, but I suspect that it could have lead to widespread downtime if left long enough.
Error message logged by nomad:
nomad.vault: got error or bad auth, so backing off: error="failed to renew the vault token: Error making API request.#012#012URL: PUT https://active.vault.service.consul:8200/v1/auth/token/renew-self#012Code: 500. Errors:#012#012* 1 error occurred:#012#011* failed to renew entry: unable to fetch instance ID from metadata during renewal#012#012" recoverable=true
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.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
This is not a Nomad issue, but can cause unexpected pain for Nomad users.
This is a mirror issue to hashicorp/vault#8972 for visibility; it should be monitored for work and solution. This will help folks that might search the Nomad issue base crosswalk back to the Vault issue.
Upgrading vault from 1.3.x to 1.4.x causes token renew-self failures with nomad 0.11.1 (and possibly others). This might be a silent BC break for nomad users. It went unnoticed for several days in my test environment, but I suspect that it could have lead to widespread downtime if left long enough.
Error message logged by nomad:
Gitter discussions:
The issue seems to be related to recent value changes related to EC2 instance metadata:
In my environment, adding back the the ec2_metadata attributes appears to completely fix the issue:
I also added iam_metadata based on a previous community member's findings, but those may not be necessary to fix this particular problem.
Environment:
vault status
): 1.4.1vault version
): 1.4.1The text was updated successfully, but these errors were encountered: