5 |
|
from SchedulerGrid import SchedulerGrid |
6 |
|
from crab_exceptions import CrabException |
7 |
|
from crab_util import runCommand |
8 |
– |
#from WMCore.SiteScreening.BlackWhiteListParser import CEBlackWhiteListParser |
8 |
|
from WMCore.SiteScreening.BlackWhiteListParser import SEBlackWhiteListParser |
9 |
|
import Scram |
10 |
|
|
11 |
|
|
13 |
– |
|
12 |
|
import common |
13 |
|
import os |
14 |
|
import socket |
69 |
|
msg = "Error: datasetpath not defined " |
70 |
|
raise CrabException(msg) |
71 |
|
|
72 |
+ |
if cfg_params.get('GRID.ce_black_list', None) or \ |
73 |
+ |
cfg_params.get('GRID.ce_white_list', None) : |
74 |
+ |
msg="BEWARE: scheduler RGLIDEIN ignores CE black/white lists." |
75 |
+ |
msg+="\n Remove them from crab configuration to proceed." |
76 |
+ |
msg+="\n Use GRID.se_white_list and/or GRID.se_black_list instead" |
77 |
+ |
raise CrabException(msg) |
78 |
+ |
|
79 |
|
self.checkProxy() |
80 |
|
|
81 |
|
return |