I request to add option --whitelist in jobsub_submit, to allow users to whitelist sites (i.e. override the system blacklist).
#3 Updated by Shreyas Bhat 6 months ago
- Target version changed from v1.3.3 to v1.3.4
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.