Actions
Bug #12349
open[API] Validate container requests "output_path must be in a writable mount"
Story points:
-
Release:
Release relationship:
Auto
Description
If output_path is not in a writable mount, crunch-run will cancel the container with a suitable error message (see #12298). But this means waiting (and perhaps paying) to bring up a compute node, only to check something that could be checked instantly by the API when committing the container request.
Proposed fix:
Check this when saving a container request (perhaps only when saving with state=Committed). If this error is detected, fail the create/update request.
Actions