dmwm / cms-htcondor-es

ElasticSearch integration for CMS's HTCondor pool
11 stars 19 forks source link

use RemoveReason classAd to set JobStatus=Cancelled #73

Open belforte opened 5 years ago

belforte commented 5 years ago

In order to flag jobs intentionally killed by users, rather than by e.g. HTCondor PeriodicRemove because they exceeeded resource bounds. Since both result otherwise in jobs in status Removed with HTC history sayng: job removed by user.

see: https://its.cern.ch/jira/browse/CMSMONIT-58 and https://github.com/dmwm/CRABServer/issues/5807

belforte commented 5 years ago

agreement so far is that whenever the RemoveReason contains the cancelled string this action is taken. Let's make the match case-insensitive.