Skip to content

Emit a more useful error if we get the "rootfs empty" error - #9563

Merged
taylorsilva merged 1 commit into
masterfrom
no-task-image-err
May 2, 2026
Merged

taylorsilva merged 1 commit into
masterfrom
no-task-image-err

Conversation

@taylorsilva

Copy link
Copy Markdown
Member

Changes proposed by this PR

If a user doesn't specify image or image_resource, the containerd runtime will return "rootfs must not be empty" as the error. This PR emits the error from containerd still, but appends a useful message suggesting the user check their job or task config for an image. The most common cause of this error is a user no specifying an image for the task.

An image is not required for all tasks. For workers using the houdini runtime, not image is required. That's why we can't just error if no image is specified or even do validation of the step/task config.

@taylorsilva
taylorsilva requested a review from a team May 1, 2026 21:36
@taylorsilva
taylorsilva merged commit 0b24603 into master May 2, 2026
12 checks passed
@taylorsilva
taylorsilva deleted the no-task-image-err branch May 2, 2026 01:22
@taylorsilva

Copy link
Copy Markdown
Member Author

Closes #2726

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant