Skip to content
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

client: fix Consul version fingerprint #17349

Merged
merged 2 commits into from
May 30, 2023
Merged

Conversation

lgfa29
Copy link
Contributor

@lgfa29 lgfa29 commented May 29, 2023

Consul v1.13.8 was released with a breaking change in the /v1/agent/self endpoint version where a line break was being returned.

This caused the Nomad finterprint to fail because NewVersion errors on parse.

This commit removes any extra space from the Consul version returned by the API.

Closes #17302

Consul v1.13.8 was released with a breaking change in the /v1/agent/self
endpoint version where a line break was being returned.

This caused the Nomad finterprint to fail because `NewVersion` errors on
parse.

This commit removes any extra space from the Consul version returned by
the API.
@lgfa29 lgfa29 added backport/1.3.x backport to 1.3.x release line backport/1.4.x backport to 1.4.x release line backport/1.5.x backport to 1.5.x release line labels May 29, 2023
@lgfa29 lgfa29 requested review from shoenig and jrasell May 29, 2023 20:32
Copy link
Member

@jrasell jrasell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@lgfa29 lgfa29 merged commit 4068b68 into main May 30, 2023
12 checks passed
@lgfa29 lgfa29 deleted the b-fix-consul-version-fingerprint branch May 30, 2023 15:07
@davemay99 davemay99 changed the title client: fix Consul version finterprint client: fix Consul version fingerprint May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.3.x backport to 1.3.x release line backport/1.4.x backport to 1.4.x release line backport/1.5.x backport to 1.5.x release line
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fail to place allocations on clients running Consul 1.13.8
3 participants