Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

Commit 38397cb

Browse files
committed
rucio config central, and away from afs home
1 parent 932345a commit 38397cb

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

RucioClient.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@
99
${RUCIO_HOME}/rucio.cfg
1010
"""
1111

12+
import os
13+
if not os.getenv('RUCIO_HOME'): os.environ['RUCIO_HOME']='/data/unified/WmAgentScripts/Unified/'
1214
from rucio.client import Client
1315

16+
1417
class RucioClient(Client):
1518
"""
1619
A wrapper class for the Rucio client.

Unified/etc/rucio.cfg

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[common]
2+
[client]
3+
rucio_host = http://cms-rucio.cern.ch
4+
auth_host = https://cms-rucio-auth.cern.ch
5+
auth_type = x509
6+
ca_cert = /etc/grid-security/certificates/
7+
client_cert = $X509_USER_CERT
8+
client_key = $X509_USER_KEY
9+
client_x509_proxy = $X509_USER_PROXY
10+
request_retries = 3

0 commit comments

Comments
 (0)