Commit b312de40 authored by Marian Babik's avatar Marian Babik
Browse files

fixed ARC native if no queue is provided

parent 9f5574d1
......@@ -166,7 +166,19 @@ def run(url, ipv6=False):
c.add('org.sam.CONDOR-JobState-/cms/Role=lcgadmin', hosts=(service[0],),
params={'args': {'--resource': '%s' % res}})
else:
# no queues
res = "%s://%s/%s/%s/%s" % (FLAVOR_MAP[flavor], host, 'nosched', 'nobatch', 'noqueue')
if flavor == 'ARC-CE': # ARC native client
if endpoint:
c.add('org.sam.ARC-JobState-/cms/Role=lcgadmin', hosts=(service[0],),
params={'args': {'--resource': '%s' % res, '--arc-rsl': '\'(memory=2000)\'',
'--arc-debug': 'VERBOSE', '--arc-sub-type': 'emies',
'--arc-ce': 'https://{}/arex'.format(endpoint)}})
else:
c.add('org.sam.ARC-JobState-/cms/Role=lcgadmin', hosts=(service[0],),
params={'args': {'--resource': '%s' % res, '--arc-rsl': '\'(memory=2000)\'',
'--arc-debug': 'VERBOSE', '--arc-sub-type': 'emies'}})
continue
c.add('org.sam.CONDOR-JobState-/cms/Role=lcgadmin', hosts=(service[0],),
params={'args': {'--resource': '%s' % res}})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment