dmwm / CRABServer

15 stars 37 forks source link

Set FRONTIER_ID variable #8366

Closed vzokay closed 2 months ago

vzokay commented 2 months ago

Hello,

The Frontier team would like to ask for the addition of an environmental variable FRONTIER_ID in CRAB jobs. The reason for this is to get more information in our logs in order to diagnose intermittent slowdowns we've observed with some jobs in the last couple of months. As mentioned during a chat with @mapellidario, this is already done in WMAgent, to which he quickly found the relevant PR:

Thank you @mapellidario @belforte for looking into this and for your time!

All the best, Vaiva

belforte commented 2 months ago

Do I understand correctly that FRONTIER_ID should be set before starting cmsRun with value CRAB <taskanme> ?

e.g.

CRAB 240425_061854:xiaoyul_crab_20240425_081720
vzokay commented 2 months ago

Thank you for your prompt response! I'm passing Dave D's message:

That would work. Actually it would improve our squid log parsing a little bit if there wasn't a space in it, since the wmagent id doesn't have one. So either delete the space or replace it with an underscore or hyphen

belforte commented 2 months ago

Doesn't Dave D. have a GH account so we can speed up communication w/o bother 3rd parties (you) ?

OK. I will add an hyphen -

belforte commented 2 months ago

now it is CRAB-240425_061854:xiaoyul_crab_20240425_081720

vzokay commented 2 months ago

Sure, apologies for the inconvenience. Passing it over to @DrDaveD