Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@achanda
Copy link
Contributor

@achanda achanda commented Mar 23, 2016

Requires rkt > 1.2.0
rkt PR here rkt/rkt#2251

@diptanu
Copy link
Contributor

diptanu commented Mar 23, 2016

@achanda Are we detecting versions of rkt in the fingerprinter? Hope this won't work with older versions of rkt?

@achanda
Copy link
Contributor Author

achanda commented Mar 23, 2016

@diptanu updated the min rkt version check. This indeed won't work on earlier versions. Thanks for pointing this out.

@diptanu
Copy link
Contributor

diptanu commented Mar 23, 2016

@achanda Changes looks fine to me. I think we might need to be a little serious about maintaining backward compatibility here. So if a user rolls this new nomad client on a machine Nomad won't be able to schedule any new jobs on the node until the operator drains the node and upgrades the rkt driver. I think we should maintain compatibility with at least the last 2-3 versions of rkt.

Is it possible for us to detect the version and based on the version add the appropriate flags?

@achanda
Copy link
Contributor Author

achanda commented Mar 23, 2016

@diptanu that's certainly possible. Let's hold off this PR for now and I can work on it.

@diptanu
Copy link
Contributor

diptanu commented Mar 23, 2016

@achanda Thanks!

@achanda
Copy link
Contributor Author

achanda commented Mar 25, 2016

@diptanu trying to implement what we discussed here. How do I get the version of the driver? The Fingerprint method puts it in node.Attributes, but how do I query it?

@diptanu
Copy link
Contributor

diptanu commented Mar 25, 2016

@achanda You mean version of the rkt binary? You could get the versions in the Start method via d.config.Node.Attributes["driver.rkt.version"] and d.config.Node.Attributes["driver.rkt.appc.version"]

Hope this helps?

@diptanu
Copy link
Contributor

diptanu commented Mar 29, 2016

@achanda Any update on this?

@achanda
Copy link
Contributor Author

achanda commented Mar 29, 2016

@diptanu sorry, I pushed a PR now. This still needs some work, d.config.Node.Attributes["driver.rkt.version"] gives me a runtime panic.

@diptanu
Copy link
Contributor

diptanu commented Jul 9, 2016

Closing this PR since this hasn't been worked on for a really long time. Please re-open the PR once again if you plan to finish the work.

@diptanu diptanu closed this Jul 9, 2016
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, 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 Apr 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants