Describe the bug
When using scitokens (either on entries w/ scitoken authentications or on entries with grid_proxy in non-hybrid mode), the Frontend is reporting all 0 in the monitoring values about running glideins in the glideclient classad, which are used for the Factory monitoring.
To Reproduce
Install a token-only setup
Expected behavior
Report correctly ass idle and running glideins
Screenshots
If applicable, add screenshots and/or console outputs to help explain your problem.
Info (please complete the following information):
GlideinWMS version: 3.9.6
Python version: any
OS version: any
HTCondor version: any
Priority: critical
Stakeholder: FactoryOps
Component: frontend
Component: factory
Component: factory monitoring
Additional context
I did some troubleshooting.
This happens because the Factory is not setting a credential ID when submitting Glideins w/ scitokens (OK for proxy, ssh keys, ...).
The credential ID is what is used by the Frontend to recognize the Glidiens belonging to a certain request and submitted w/ a credential.
def getClientCondorStatusCredIdOnly(status_dict, cred_id):
...
lambda el: ("GLIDEIN_CredentialIdentifier" in el and (el["GLIDEIN_CredentialIdentifier"] == cred_id)),
...
The use of generated credentials is complicating the problem (these are not available a priori like all other credentials)
Describe the bug When using scitokens (either on entries w/ scitoken authentications or on entries with grid_proxy in non-hybrid mode), the Frontend is reporting all 0 in the monitoring values about running glideins in the glideclient classad, which are used for the Factory monitoring.
To Reproduce Install a token-only setup
Expected behavior Report correctly ass idle and running glideins
Screenshots If applicable, add screenshots and/or console outputs to help explain your problem.
Info (please complete the following information):
Additional context I did some troubleshooting. This happens because the Factory is not setting a credential ID when submitting Glideins w/ scitokens (OK for proxy, ssh keys, ...). The credential ID is what is used by the Frontend to recognize the Glidiens belonging to a certain request and submitted w/ a credential.
The use of generated credentials is complicating the problem (these are not available a priori like all other credentials)