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

Warn when using a client that doesn't match the server version #1040

Closed
g0t4 opened this issue Apr 5, 2016 · 8 comments
Closed

Warn when using a client that doesn't match the server version #1040

g0t4 opened this issue Apr 5, 2016 · 8 comments

Comments

@g0t4
Copy link

g0t4 commented Apr 5, 2016

A few times I've upgrade my server and nodes but forgot to update my local computer's version of nomad. It seems that older versions can still send commands but every once in a while I get pooched. For example, I was using 0.3.0 locally and 0.3.1 on the server, I was trying to test a job with artifacts. No errors came my way, turns out the 0.3.0 client was not passing along the artifact config.

Would it make sense to print a warning message when using a client that doesn't match the server version?

@drewgonzales360
Copy link
Contributor

@nickethier I'm looking to get involved with this project. I just tried running a nomad agent -dev then downloaded an older nomad to test if this is still an issue. I didn't see any warnings. I'll take a stab at this and ask any questions if I have them 😄

@nickethier
Copy link
Member

Awesome @drewgonzales360! Do let us know if you have any questions. I or someone from the Nomad team will be happy to answer.

@drewgonzales360
Copy link
Contributor

👋 @nickethier, I could some early feedback on my PR. Can you take a 👀 and let me know if I'm heading the right direction?

@tgross tgross added this to Needs Roadmapping in Nomad - Community Issues Triage Feb 12, 2021
@tgross tgross moved this from Needs Roadmapping to In Progress in Nomad - Community Issues Triage Mar 3, 2021
@tgross tgross removed this from the v0.4 milestone Mar 3, 2021
@danishprakash
Copy link
Contributor

Is this still being worked upon?

@tgross
Copy link
Member

tgross commented Nov 18, 2021

@danishprakash we've got a PR open #9159 which has iterated on this idea a bit by exposing the server version in the version command, so that we're not spamming warnings for operators with slightly mismatched versions.

@danishprakash
Copy link
Contributor

My bad @tgross, I just totally missed the linked PR, thanks for the clarification.

@tgross
Copy link
Member

tgross commented Nov 7, 2022

#9159 has been merged and will ship in the next regular version of Nomad (likely Nomad 1.4.3).

@github-actions
Copy link

github-actions bot commented Mar 8, 2023

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development

No branches or pull requests

6 participants