Nomad panics in the background when a job with invalid volume_mount
block is registered
#10834
Labels
stage/accepted
Confirmed, and intend to work on. No timeline committment though.
theme/api
HTTP API and SDK issues
type/bug
Milestone
Nomad version
Nomad v1.1.2 (60638a086ef9630e2a9ba1e237e8426192a44244)
Operating system and Environment details
MacOS
Issue
An invalid
volume_mount
block in a job file causes apanic
in Nomad. The panic doesn't cause the entire agent to crash, just the HTTP server.Reproduction steps
-dev
is fine)Expected Result
Nomad returns an validation error message.
Actual Result
Nomad panic and a generic error message from the CLI
Job file (if appropriate)
Nomad Server logs (if appropriate)
The text was updated successfully, but these errors were encountered: