dmwm / cms-htcondor-es

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

Use CMS_CampaignName from WM when available #213

Closed khurtado closed 1 year ago

khurtado commented 1 year ago

At present, a job campaign is defined in the following line:

https://github.com/dmwm/cms-htcondor-es/blob/vm-legacy/src/htcondor_es/convert_to_json.py#L699

We have recently implemented a mechanism to report the campaign name in the WM system https://github.com/dmwm/WMCore/issues/10914

The class ad name is: CMS_CampaignName

When this classad is defined, this information should be used and when not, the current logic in monit can be used instead. Central services will be updated for next week and this feature will be present.

khurtado commented 1 year ago

Taggin @amaltaro