Skip to content

Commit

Permalink
sweep: DIRACGrid#7247 fix: AREX delegation again
Browse files Browse the repository at this point in the history
  • Loading branch information
aldbr authored and web-flow committed Oct 20, 2023
1 parent 271a3e1 commit 8355f59
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/DIRAC/Resources/Computing/AREXComputingElement.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,19 @@ def submitJob(self, executableFile, proxy, numberOfJobs=1, inputs=None, outputs=
for delegationID in delegationIDs:
# Get the proxy attached to the delegationID
result = self._getProxyFromDelegationID(delegationID)
if not result["OK"]:

# Bug in AREX, sometimes delegationID does not exist anymore,
# but still appears in the list of delegationIDs.
# Issue submitted here: https://bugzilla.nordugrid.org/show_bug.cgi?id=4133
# In this case, we just try with the next one
if not result["OK"] and "404" in result["Message"]:
continue

# Else, it means there was an issue with the CE,
# we stop the execution
if not result["OK"]:
return result

proxy = result["Value"]

if proxy.getDIRACGroup() != proxyGroup:
Expand Down

0 comments on commit 8355f59

Please sign in to comment.