Skip to content

Commit 6fbb5b6

Browse files
committed
Extend slurm unknown regex
1 parent b107e47 commit 6fbb5b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

batchspawner/batchspawner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ class SlurmSpawner(UserEnvMixin,BatchSpawnerRegexStates):
648648
# RUNNING, COMPLETING = running
649649
state_pending_re = Unicode(r'^(?:PENDING|CONFIGURING)').tag(config=True)
650650
state_running_re = Unicode(r'^(?:RUNNING|COMPLETING)').tag(config=True)
651-
state_unknown_re = Unicode(r'^slurm_load_jobs error: (?:Socket timed out on send/recv)').tag(config=True)
651+
state_unknown_re = Unicode(r'^slurm_load_jobs error: (?:Socket timed out on send/recv|Unable to contact slurm controller)').tag(config=True)
652652
state_exechost_re = Unicode(r'\s+((?:[\w_-]+\.?)+)$').tag(config=True)
653653

654654
def parse_job_id(self, output):

0 commit comments

Comments
 (0)