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 the specified vault_agent_token_file is empty or missing, it will not be re-read after being populated. This issue was introduced in version 0.29.3.
We are able to workaround this issue by pre-populating the token file with a placeholder value.
Consul Template version
Reproducible with 0.39.1 and presumably any version after 0.29.3. Version 0.29.2 (and earlier) will re-read the token file successfully.
Configuration
This config has generous retry attempts to make it easier to test. Versions less than 0.29.3 will successfully re-read the token file during a retry attempt and successfully render templates.
If the specified
vault_agent_token_file
is empty or missing, it will not be re-read after being populated. This issue was introduced in version0.29.3
.We are able to workaround this issue by pre-populating the token file with a placeholder value.
Consul Template version
Reproducible with
0.39.1
and presumably any version after0.29.3
. Version0.29.2
(and earlier) will re-read the token file successfully.Configuration
This config has generous retry attempts to make it easier to test. Versions less than
0.29.3
will successfully re-read the token file during a retry attempt and successfully render templates.Command
Debug output
Version
0.39.1
Vault token file was empty at the start and was populated at about retry 6Version
0.39.1
with placeholder token value This time the token file contained a placeholder value at the start and succeeds after a valid token is setVersion
0.29.2
Vault token file was empty at the startExpected behavior
When a token file is created and populated during the Vault retry loop it should be re-read by the file watcher and used in subsequent requests.
Actual behavior
All Vault retries are exhausted despite the token file containing a valid token.
Steps to reproduce
0.29.3
and up will exhaust all retries and fail, lesser versions will succeed on the next retryReferences
The text was updated successfully, but these errors were encountered: