Skip to content

Commit

Permalink
Merge pull request #3 from CoffeaTeam/fix-schedds-and-collectors
Browse files Browse the repository at this point in the history
Fixes for recently changed condor configs.
  • Loading branch information
nsmith- authored Apr 14, 2021
2 parents 4109742 + 8f3f293 commit 72f6c52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lpcjobqueue/condor_config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This should be the only file on CMS LPC interactive machines

# What should be the remote pool to query for schedds?
FERMIHTC_REMOTE_POOL = cmssrv268.fnal.gov, cmssrv605.fnal.gov
FERMIHTC_REMOTE_POOL = cmst1mgr1.fnal.gov, cmssrv605.fnal.gov

# Collector host set to remote pool
COLLECTOR_HOST = $(FERMIHTC_REMOTE_POOL)
Expand Down
3 changes: 2 additions & 1 deletion src/lpcjobqueue/schedd.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ def acquire_schedd():
],
constraint='FERMIHTC_DRAIN_LPCSCHEDD=?=FALSE && FERMIHTC_SCHEDD_TYPE=?="CMSLPC"',
)
break
if scheddAds:
break
except Exception:
logger.debug(f"Failed to contact pool node {node}, trying others...")
pass
Expand Down

0 comments on commit 72f6c52

Please sign in to comment.