bacalhau icon indicating copy to clipboard operation
bacalhau copied to clipboard

Following failed jobs produces confussing error message `bacalhau job run --follow job.yam`l

Open frrist opened this issue 11 months ago • 0 comments

for example:

bacalhau job run -f publish-small-model-person.yaml
Job successfully submitted. Job ID: j-591a5d45-d273-4481-8ec4-22692bd9bed4
Waiting for logs... (Enter Ctrl+C to exit at any time, your job will continue running):

failed to print job execution: error reading log output: error received from server: failed to open log stream for job j-591a5d45-d273-4481-8ec4-22692bd9bed4: no executions found for job j-591a5d45-d273-4481-8ec4-22692bd9bed4

It is likely the case this job failed to schedule, thus no logs for it could be found. When running a job with the follow flag a clearer error message should be returned.

frrist avatar Mar 08 '24 17:03 frrist