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
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.
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