Maybe you can user condor_chirp inside your monitor to alter the job classadd accordingly to the state of the token - it would be easy to put a hold statement on that on the sched then ...
Dear all,
I am producing, monitoring and refreshing access tokens provided by
the Helmholtz AAI provider in [1].
I would like to introduce a "security" against the accidental
revocation of the refresh token while the job is still processing.
This situation should not happen, a user should not revoke
credentials when the job is running...
Still, I prefer to take the situation into account.
I would like to ask you; how should I proceed to put the job in the
HOLD state, in case such situation is happening?
I can check if the refresh token has been revoked in my specific
CredMon.
The question is more, how to transfer this information into a HOLD
state for the job?
Thanks a lot in advance for your help!
Cheers,
Benoit
[1]
https://github.com/benoitroland/C4P-HTCondor/tree/credmon_devel
[1]
https://github.com/benoitroland/C4P-HTCondor/tree/credmon_devel
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/