Project

General

Profile

Feature #22241

Add whitelist

Added by Herbert Greenlee over 1 year ago. Updated 6 days ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
03/28/2019
Due date:
% Done:

0%

Estimated time:
Stakeholders:
Duration:

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 16 days ago

  • Assignee set to Shreyas Bhat

#3 Updated by Shreyas Bhat 6 days 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.



Also available in: Atom PDF