Closed belforte closed 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.
Owner = crabtw
cleanup_home_dir.sh
Need to change to
homeDir="/home/grid/%s/%s"%(crabDag.task["CRAB_UserHN"], crabDag.task["Crab_ReqName"])
fixed via https://gitlab.cern.ch/ai/it-puppet-hostgroup-vocmsglidein/-/merge_requests/176
in https://gitlab.cern.ch/ai/it-puppet-hostgroup-vocmsglidein/-/blob/qa/code/files/crabschedd/JobCleanup.py?ref_type=heads#L56
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-backcleanup_home_dir.sh
after 60 days.Need to change to