dmwm / CRABServer

15 stars 37 forks source link

use new format for periodic remove reason #8342

Open belforte opened 2 months ago

belforte commented 2 months ago

See https://its.cern.ch/jira/browse/CMSSI-113

As of HTCondor > 9.5, the can be achieved using SYSTEM_PERIODIC_REMOVE_NAMES : https://htcondor.readthedocs.io/en/latest/admin-manual/configuration-macros.html#SYSTEM_PERIODIC_HOLD_NAMES

Code to replace is in https://github.com/dmwm/CRABServer/blob/6f65ad6a5dd413d6f4aa078aae86dd5ceb63edf5/src/python/TaskWorker/Actions/DagmanCreator.py#L161-L175

This will need changing too https://github.com/dmwm/CRABServer/blob/6f65ad6a5dd413d6f4aa078aae86dd5ceb63edf5/src/python/TaskWorker/Actions/RetryJob.py#L257-L278