-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Breaking change in the /v1/agent/self endpoint on Consul 1.13.8 #17503
Comments
The docs for the agent-read-self endpoint state:
If |
#17520 Should resolve this issue and will be released as part of Consul 1.13.9. |
whats the fix for this one i just upgraded to 1.13.8 and nomad on 1.5.6 and my jobs are going in pending state. ? |
Hello all! Confirming this is still on open issue right? I see all the relevant PRs are merged but am not sure how to tell when/if they are out as a release. The issue is still happening on Nomad
Where should I keep an eye out for the release with the fix? Alternatively, maybe I should open a new issue for this? I see the symptom described here is gone (extra newline has been remove), but the fingerprint warning is still being logged.
|
Hi @johnnyplaydrums: Good question. There was no changelog entry provided with the merging of the Consul PR for this (#16467), so it's not easy to tell that way. It should be included in everything Consul 1.16.0+, and was included in patch releases on Consul 1.13 - 1.15. That fix from #16467 is definitely present in the 1.17.2 code. The git blame for that line shows it has been untouched since #16467. That aligns with your observation that the originally reported symptom is gone. So there must be a new/different/additional reason you're receiving the fingerprint warning still. |
Thanks for the quick response and explanation @jkirschner-hashicorp! I will open a new issue for this in the Nomad repo just to make sure it's being tracked. |
Ah, I see it's already being tracked 🙂 hashicorp/nomad#19756. I believe the warning is just a false positive. |
Final note: I recommend this issue be closed since the original bug was fixed and released. It still being open caused me some confusion when unearthing this new, unrelated (although same warning log) issue. |
Sounds good! Thanks for the confirmation that the original symptom was resolved. Therefore, I'll close this issue for now. |
Overview of the Issue
The
/v1/agent/self
endpoint in Consul 1.13.8 returns the agent version with an extra line break in the end. This causes Nomad fingerprint to fail as described in hashicorp/nomad#17302.Reproduction Steps
curl
/v1/agent/self
and verify version returned has an extra line break.Consul info for both Client and Server
Client info
The text was updated successfully, but these errors were encountered: