ystia / yorc

Ystia Orchestrator
https://ystia.github.io
Apache License 2.0
67 stars 23 forks source link

[Slurm] Use `sacct` to retrieve job status when `scontrol show job` does not show the job anymore #757

Closed loicalbertin closed 3 years ago

loicalbertin commented 3 years ago

As: a user I want to: get a job status even if it vanished from scontrol show job (after 5min) So that: I can know at least if my job finished successfully or in error

AC1: Still use scontrol to get job info by default but if not found then try sacct AC2: If sacct is not configured on a cluster, well set the job status as unknown like it is now