Skip to content

Commit

Permalink
fix(Resources): adapt HTCondorCE to latest htcondor version
Browse files Browse the repository at this point in the history
  • Loading branch information
aldbr committed Jan 16, 2025
1 parent 2778630 commit bf38f0f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/DIRAC/Resources/Computing/HTCondorCEComputingElement.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def __writeSub(self, executable, location, processors, pilotStamps, tokenFile=No

executable = os.path.join(self.workingDirectory, executable)

useCredentials = "use_x509userproxy = true"
useCredentials = ""
# If tokenFile is present, then we transfer it to the worker node
if tokenFile:
useCredentials += textwrap.dedent(
Expand Down Expand Up @@ -245,10 +245,7 @@ def _executeCondorCommand(self, cmd, keepTokenFile=False):
if not result["OK"]:
return result

htcEnv = {
"_CONDOR_SEC_CLIENT_AUTHENTICATION_METHODS": "GSI",
}

htcEnv = {}
if self.useSSLSubmission:
# this is guaranteed by _prepareProxy above
proxyFile = os.environ.get("X509_USER_PROXY")
Expand Down

0 comments on commit bf38f0f

Please sign in to comment.