-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fallback to /etc/condor/condor_config #11
Comments
I think then we would want a separate docker image on top of docker-coffea-dask that adds this file, for use at LPC, right? |
Yep, in our case we just pull the file (and other condor configs) from Git with an initContainer. |
Sounds good. Then, what to do about the schedd picking algorithm? It currently is somewhat LPC-specific, idk what it would do at other sites. |
As of #21 we now just always load the path lpcjobqueue/src/lpcjobqueue/schedd.py Line 8 in 6713349
Does that work for you, or should we do a if os.path.exists and then fallback to /etc/condor/condor_config ? (actually if we just don't set the env variable, that is the default right?
|
The Schedd class is only capable of using a
condor_config
file present in the same folder. In order to make this code friendlier with people running their own variations of condor, the line:lpcjobqueue/src/lpcjobqueue/schedd.py
Line 7 in b08e3c7
Should fallback to the default directory
/etc/condor/condor_config
and then fail.The location of the
condor_config
could also be a configurable parameterThe text was updated successfully, but these errors were encountered: