Skip to content

Preemption error message should dominate #4839

@robertdavidsmith

Description

@robertdavidsmith

Hi,

In same cases, a job is preempted (so ends up as state preempted as visible in lookout). However the preemption reason isn't visible in the RESULTS tab in lookout as instead another error is there.

  • If a running job is preempted but the job writes to terminationMessagePath, the termination message is displayed in lookout, and the preemption reason is lost. (We have seen examples where jobs catch SIGTERM but then shut down uncleanly and so write a termination message as they are shutting down).
  • If a pending job is preempted, the Kubernetes events are displayed as the error message, and again the preemption reason is lost.

Please can you ensure the preemption reason is not lost in these cases. Either append to the existing error message or just display the preemption reason.

Thanks,

Rob

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions