You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You may have noticed that all the jobs we submitted in the certification environment have been stuck in a Matched status.
By taking a look at a few pilot outputs, I noticed that the JobWrapper was unable to report the status of the jobs:
2023-12-06T12:10:20,425314Z None/[7879]JobWrapper WARN: Failed setting job status ValueError('No dirax token in the proxy file /var/lib/condor/execute/dir_20392/tmpjubbjrey')
As you can see, the JobWrapper tries to interact with diracx and fails because the diracx token is not embedded in the user proxy. But should it be?
The user proxy used (/var/lib/condor/execute/dir_20392/tmpjubbjrey) is not supposed to interact with diracx:
The configuration confirms that the VO dteam should not interact with diracx:
DiracX
{
DisabledVOs = dteam, ...
}
So why does DIRAC tries to interact with diracx anyway?
Because the ClientSelector in charge of choosing the service to use relies on useLegacyAdapter, which only checks if the service to interact with is allowed in the configuration (which is the case):
You may have noticed that all the jobs we submitted in the certification environment have been stuck in a
Matched
status.By taking a look at a few pilot outputs, I noticed that the
JobWrapper
was unable to report the status of the jobs:As you can see, the
JobWrapper
tries to interact with diracx and fails because the diracx token is not embedded in the user proxy. But should it be?dteam
should not interact with diracx:So why does DIRAC tries to interact with diracx anyway?
Because the
ClientSelector
in charge of choosing the service to use relies onuseLegacyAdapter
, which only checks if the service to interact with is allowed in the configuration (which is the case):DIRAC/src/DIRAC/ConfigurationSystem/Client/PathFinder.py
Lines 251 to 261 in 01491bf
An easy fix would consist in extracting the VO from the proxy and checking whether it is part of the disabled VOs.
How to reproduce the issue:
The text was updated successfully, but these errors were encountered: