From fe455ef39a500eae995a4dce60de8449d61b9623 Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Wed, 13 May 2009 15:34:20 +0000 Subject: [PATCH] Add logic for batch step launch (as used by LSF) to be delayed as needed for powered down nodes. --- src/sbatch/sbatch.c | 5 ++++- testsuite/expect/test15.17 | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/sbatch/sbatch.c b/src/sbatch/sbatch.c index 094a94a8045..b715bb331cd 100644 --- a/src/sbatch/sbatch.c +++ b/src/sbatch/sbatch.c @@ -127,7 +127,10 @@ int main(int argc, char *argv[]) if (errno == ESLURM_ERROR_ON_DESC_TO_RECORD_COPY) msg = "Slurm job queue full, sleeping and retrying."; - else if (errno == EAGAIN) { + else if (errno == ESLURM_NODES_BUSY) { + msg = "Job step creation temporarily disabled, " + "retrying"; + } else if (errno == EAGAIN) { msg = "Slurm temporarily unable to accept job, " "sleeping and retrying."; } else diff --git a/testsuite/expect/test15.17 b/testsuite/expect/test15.17 index d96bcde454e..a67c2710868 100755 --- a/testsuite/expect/test15.17 +++ b/testsuite/expect/test15.17 @@ -33,7 +33,6 @@ ############################################################################ source ./globals -slow_kill 45984 set test_id "15.17" set file_in "test$test_id.input" set exit_code 0 -- GitLab