-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
Description
There at least one case where the user membership in local groups is not added to CMSGroups classAd
See https://cms-talk.web.cern.ch/t/issue-with-processing-private-mc-samples-using-crab/138451/4
pasting here most relevant text
matching doesnt work because of stringListsIntersect(CMSGroups,“T3_US_FNALLPC”)`
The user is among the local users at LPC:
[mmascher@vocms0106 ~]$ grep jingyu /cvmfs/cms.cern.ch/SITECONF/T3_US_FNALLPC/GlideinConfig/local-users.txt
jingyu
As @mmascher pointed out, CRAB should be setting the group information here?
CRABServer/src/python/TaskWorker/Actions/DagmanCreator.py
Lines 405 to 408 in b84f876
| ## Add group information (local groups in SITECONF via CMSGroupMapper, VOMS groups via task info in DB) | |
| groups = set.union(map_user_to_groups(task['tm_username']), task['user_groups']) | |
| groups = ','.join(groups) # from the set {'g1','g2'...,'gN'} to the string 'g1,g2,..gN' | |
| jobSubmit['My.CMSGroups'] = classad.quote(groups) |