You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Planning a job that has a CSI volume stanza (https://www.nomadproject.io/docs/job-specification/volume) and does not specify attachment_mode or access_mode still allows the job to get to scheduling where it will fail with failed to setup alloc: pre-run hook "csi_hook" failed: unknown volume attachment mode:
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.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Nomad version
Nomad v1.1.0 (2678c36)
Operating system and Environment details
Any, not relevant
Issue
Planning a job that has a CSI volume stanza (https://www.nomadproject.io/docs/job-specification/volume) and does not specify
attachment_mode
oraccess_mode
still allows the job to get to scheduling where it will fail withfailed to setup alloc: pre-run hook "csi_hook" failed: unknown volume attachment mode:
Reproduction steps
Try scheduling this job:
I ran into this a part of #10626 where I managed to get thoroughly confused by the different levels where this error could be thrown :)
Expected Result
Plan should give a nice error
Actual Result
Job plans just fine
The text was updated successfully, but these errors were encountered: