dmwm / CRABServer

15 stars 38 forks source link

WEB_DIRs in schedd are not cleaned timely #8364

Closed belforte closed 5 months ago

belforte commented 5 months ago

in https://gitlab.cern.ch/ai/it-puppet-hostgroup-vocmsglidein/-/blob/qa/code/files/crabschedd/JobCleanup.py?ref_type=heads#L56

    homeDir="/home/grid/%s/%s"%(crabDag.task["Owner"], crabDag.task["Crab_ReqName"])

But now all tasks run with Owner = crabtw !! So that variable always points to non-existing directory names and all WEB_DIRs are only catched by the fall-back cleanup_home_dir.sh after 60 days.

Need to change to

    homeDir="/home/grid/%s/%s"%(crabDag.task["CRAB_UserHN"], crabDag.task["Crab_ReqName"])
belforte commented 5 months ago

fixed via https://gitlab.cern.ch/ai/it-puppet-hostgroup-vocmsglidein/-/merge_requests/176