fix: add skip_local_config_file variable to avoid auth errors at CERN…#8637
fix: add skip_local_config_file variable to avoid auth errors at CERN…#8637aldbr wants to merge 1 commit into
Conversation
7623fdd to
45a8bb2
Compare
|
I need an HTCondor expert to review this. Maybe @sfayer ? |
|
Hmm, I don't recognise the I also note that the runCommand function probably doesn't use a shell, so including variables like that before the command may not work as expected: You might need to plumb through the "env" parameter so that you can set it that way). An alternate approach could be to read the ads file directly from python: It's a simple "key = value" text-file format (and if this is running in a context with diracos2, the classad module is also likely available). If you take that approach note that "CurrentTime" isn't in the file and would need generating in python instead. Regards, |
|
This variable (and the whole module actually) is HTCondor CERN-specific and the variable is a recommendation from the CERN HTCondor experts.
Indeed, I am going to check what's the best approach, thanks! |
45a8bb2 to
8f34524
Compare
8f34524 to
e34ef92
Compare
It's very specific but the whole
HTCondorResourceUsageis already very specific anyway...BEGINRELEASENOTES
*Resources
FIX: add an environment variable to get time left in allocations at CERN
ENDRELEASENOTES