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
{{ message }}
Repository navigation
--command still runs BEFORE the storage mounts (EFS/FSx/volumes): #166 fixed --user-data but not --command #668
--command is started from linuxBootstrapBody (pkg/launcher/bootstrap.go:178, the "▶️ Executing --command" block around :609). The storage script (EFS, FSx, attached volumes) is appended after that body (bootstrap.go:201). #166 fixed the ordering for --user-data/CustomUserData, but --command still starts first, backgrounded, so the workload runs before its mounts exist.
/var/log/spawn-command.log for a command that does df -h /efs; dd ... of=/efs/probe.bin:
df: /efs: No such file or directory
dd: failed to open '/efs/probe.bin': No such file or directory
❌ --command FAILED (exit 2)
/efs was created afterwards, by the storage block. This holds even when the mount succeeds: the command has already failed by then.
Fix
Run the storage script before the --command launch block. Alternatively, have the command wrapper wait on a sentinel written at the end of the storage block, e.g. /run/spawn/storage-ready (the same readiness-barrier idea as #664 for MPI/EFA). A mount failure should be visible in spawn-command.log, not just cloud-init-output.
Activity