Skip to content
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

[8.0] fix(Resources): AREX should renew the delegation before submitting a payload #7936

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/DIRAC/Resources/Computing/AREXComputingElement.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,11 @@ def submitJob(self, executableFile, proxy, numberOfJobs=1, inputs=None, outputs=

# If we are here, we have found the right delegationID to use
currentDelegationID = delegationID
# Renew the delegation just in case
if not self.token or self.alwaysIncludeProxy:
result = self._renewDelegation(currentDelegationID)
if not result["OK"]:
self.log.warn("Could not renew the delegation", f"{currentDelegationID}: {result['Message']}")
break

if not currentDelegationID:
Expand Down
Loading