Skip to content
Snippets Groups Projects
Commit 40d3d266 authored by Moe Jette's avatar Moe Jette
Browse files
parent 298a0d95
No related branches found
No related tags found
No related merge requests found
...@@ -202,6 +202,11 @@ static int _start_job(uint32_t jobid, char *hostlist, ...@@ -202,6 +202,11 @@ static int _start_job(uint32_t jobid, char *hostlist,
wait_string = "Invalid request, job aborted"; wait_string = "Invalid request, job aborted";
else { else {
wait_reason = job_ptr->state_reason; wait_reason = job_ptr->state_reason;
if (wait_reason == WAIT_HELD) {
/* some job is completing, slurmctld did
* not even try to schedule this job */
wait_reason = WAIT_RESOURCES;
}
wait_string = job_reason_string(wait_reason); wait_string = job_reason_string(wait_reason);
job_ptr->state_reason = WAIT_HELD; job_ptr->state_reason = WAIT_HELD;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment