-
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
volumes stopped working in 0.12 #8434
Comments
From Release notes:
In client configuration:
|
Hi @kneufeld ! Sorry for not highlighting the change further - it's indeed an intentional change to get Nomad closer to secure-by-default posture, though an annoying backward-incompatible one for sure. We've noted it in the 0.12 Upgrade Guide along with the suggested config option: plugin "docker" {
config {
volumes {
enabled = true
}
}
} |
Thanks for the quick response and sorry I missed that in the release notes. |
Just run into this issue myself. Since Nomad is new to me I've just spent a stressful evening trying to figure out what I did wrong, only to discover the upgrade guide. Then I have just spent another few stressful hours chasing around the same bug even after implementing the suggested change - for future reference the only thing that helped was to stop all nomad nodes (both clients and servers), check all the config files 1 by 1 to ensure they have the fix implemented, and then start them again. .....not fun at all. |
Another nomad noob here. I've spent days trying to figure this out. It would be really nice if nomad produced a more helpful error message, and/or the official docs for the docker driver included this change. Thanks for your work on nomad, it is greatly appreciated. |
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.12.0 (8f7fbc8e7b5a4ed0d0209968faf41b238e6d5817)
Operating system and Environment details
On Ubuntu 18.04
Issue
I upgraded from 0.11.2 to 0.12 and my job file stopped working with error:
Reproduction steps
I've never had to use
volume_mount
,mounts
or other in 0.11.Job file (if appropriate)
Relevant section of job file (which works fine in 0.11)
Nomad Client logs (if appropriate)
Nomad Server logs (if appropriate)
The text was updated successfully, but these errors were encountered: