flux-framework / flux-sched

Fluxion Graph-based Scheduler
GNU Lesser General Public License v3.0
89 stars 41 forks source link

provide reason a job is not scheduled #1219

Open grondo opened 5 months ago

grondo commented 5 months ago

A question sysadmins and developers get often is "why is job X not running?"

It seems like Fluxion could provide insigths to make this question easier to answer, perhaps even in the output of flux jobs. Some reasons that we have to manually determine now include:

A simple solution would be for Fluxion to return a reason or similar field in the scheduler annotations when it can provide one. This could be made available in flux jobs.

Another, perhaps longer term solution would be to provide an RPC that unveils a snapshot of the current schedule if one could be made available.