nomad icon indicating copy to clipboard operation
nomad copied to clipboard

Nomad config validate does not check for missing host_volume directories and daemon fails to start

Open maxadamo opened this issue 2 years ago • 9 comments

Proposal

nomad config validate <config_file> does not detect missing files/directories for the host_volume parameter and Nomad fails to start

Use-cases

if a directory/file is missing, nomad won't start.

Attempted Solutions

With Puppet we created a custom config validation, which checks that the paths are valid on the system: https://github.com/voxpupuli/puppet-nomad/pull/85

but I'd expect this same functionality to be available on nomad config validate

maxadamo avatar Apr 23 '23 11:04 maxadamo