Skip to content

Commit f209ae7

Browse files
aldbrweb-flow
authored andcommitted
sweep: #7993 fix: adapt HTCondorCE to latest htcondor version
1 parent 88ba8db commit f209ae7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/DIRAC/Resources/Computing/HTCondorCEComputingElement.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def __writeSub(self, executable, location, processors, pilotStamps, tokenFile=No
170170

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

173-
useCredentials = "use_x509userproxy = true"
173+
useCredentials = ""
174174
# If tokenFile is present, then we transfer it to the worker node
175175
if tokenFile:
176176
useCredentials += textwrap.dedent(
@@ -242,10 +242,7 @@ def _executeCondorCommand(self, cmd, keepTokenFile=False):
242242
if not result["OK"]:
243243
return result
244244

245-
htcEnv = {
246-
"_CONDOR_SEC_CLIENT_AUTHENTICATION_METHODS": "GSI",
247-
}
248-
245+
htcEnv = {}
249246
if self.useSSLSubmission:
250247
# this is guaranteed by _prepareProxy above
251248
proxyFile = os.environ.get("X509_USER_PROXY")

0 commit comments

Comments
 (0)