Skip to content

SiteDirector._setCredentials should renew the proxy only if below the queue CPUTime#8481

Open
fstagni wants to merge 2 commits intoDIRACGrid:integrationfrom
fstagni:SD_proxy_acc
Open

SiteDirector._setCredentials should renew the proxy only if below the queue CPUTime#8481
fstagni wants to merge 2 commits intoDIRACGrid:integrationfrom
fstagni:SD_proxy_acc

Conversation

@fstagni
Copy link
Contributor

@fstagni fstagni commented Mar 12, 2026

closes #8453

BEGINRELEASENOTES

*WMS
FIX: SiteDirector._setCredentials should renew the proxy only if below the queue CPUTime

ENDRELEASENOTES

@fstagni fstagni requested a review from atsareg as a code owner March 12, 2026 15:09

# Generate a new proxy if needed
if getNewProxy:
proxyMinimumRequiredValidity = proxyMinimumRequiredValidity + 86400
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about having a fixed proxyDuration of 86400 seconds (should it be configurable in the CS?).
We always tries to generate a proxy lasting proxyDuration seconds and we compare it against proxyMinimumRequiredValidity in setCredentials().

Since the pilot bundles its own proxy, the proxy used by the Site Director is only useful to interact with the CE, am I wrong? So the proxyMinimumRequiredValidity should always be rather low.

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Proxy temp files accumulate in /tmp for long-running Site Directors

2 participants