Feature #22241
Add whitelist
Start date:
03/28/2019
Due date:
% Done:
0%
Estimated time:
Stakeholders:
Description
I request to add option --whitelist in jobsub_submit, to allow users to whitelist sites (i.e. override the system blacklist).
History
#1 Updated by Dennis Box over 1 year ago
- Target version set to v1.3.3
#2 Updated by Shreyas Bhat 4 months ago
- Assignee set to Shreyas Bhat
#3 Updated by Shreyas Bhat 3 months ago
- Target version changed from v1.3.3 to v1.3.4
Work notes¶
I originally thought this wouldn't be possible, since any such option would change the job requirements, and the blocklist is enforced at the glidein level. On second thought, I can see this playing out something like this option adding the following to the job requirements:
blocklist_override_sites = "site1,site2,site3"
And the glidein FE global start expression having something like:
(((stringListsIntersect(MY.SLOT_BAD_JOBSUB_GROUPS,TARGET.Jobsub_Group,",") == FALSE) && (stringListIMember("ALL",MY.SLOT_BAD_JOBSUB_GROUPS,",") == FALSE)) || (stringListsIntersect(MY.GLIDEIN_Site, TARGET.blocklist_override_sites)))
Will have to play with this a bit and make sure I have the condor syntax right.