-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
raw_exec allows volume_mount stanza #6664
Comments
Hi @shantanugadgil and thanks for opening this issue! Yes, that looks like both a missing documentation item and a bug in the jobspec validation. |
cross referencing #8262 |
Hey @shantanugadgil I wanted to circle back on this. The documentation fixes are in #8476 #8485 and you can see them on the task driver capabilities table for each driver. Actually doing the validation ahead of time turns out to have some surprising challenges. Currently we don't push driver capabilities up to the server as part of the client fingerprint, so the server has no way of validating driver capabilities. We need the information from the client in order to account for capabilities changing between versions of a given driver, and with external drivers, the server might not even have the driver code at all to check! That being said, getting this information up to the server doesn't seem like a fundamental design issue. I've worked up an issue to summarize the general problem and to get more design feedback on it: #9063 |
Thanks for taking the time to posting an update on this. Updating documentation is fine, but in my opinion, the docs would help a lot those who might be starting out using Nomad. For people who have been using Nomad quite a bit, and have been "pampered" with the "just works or tells you why it won't work", this was a bit confusing for me. 🥳 Initially, I had assumed that the mount would be a I would also like to cross reference this with #6627 just to keep it on the radar! BTW, I am OK is this issue is closed! |
I'd definitely like this sort of thing to be more explicit, for sure. I've got some docs in the works to get into the details of the filesystem layout for tasks that I think can help here.
It's technically possible but because the
Ok, closing in lieu of the larger problem in #9063. Thanks again for opening this! |
I agree, once you are doing @tgross any specific opinions about #6627 I already run the Having it more declarative would be much better (obvious), I think. |
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. |
Nomad version
Nomad v0.10.1 (0d4e5d9)
Operating system and Environment details
CentOS 7/8
Ubuntu 16.04/18.04
Issue
The
raw_exec
task driver allows thevolume_mount
stanza, even though it is not supported forraw_exec
.Reproduction steps
Use the job file specified; it should ideally fail the
nomad plan
step, but it doesn't.Job file (if appropriate)
In the agent config:
in the job definition:
Expected Behavior
The
nomad plan
step should flag/error that the "volume_mount" section is currently NOT supported for theraw_exec
driver.The text was updated successfully, but these errors were encountered: