-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure RSEs in Rucio #16
Comments
@garciagenrique maybe for testing we deploy this: https://github.com/goseind/k8s-tutorial/blob/master/xrd.yaml |
UpdateThe following commands have been executed already: rucio-admin rse add XRD1
rucio-admin rse add XRD2
rucio-admin rse add XRD3
rucio-admin rse add-protocol --hostname xrd1 --scheme root --prefix //rucio --port 1094 --impl rucio.rse.protocols.gfal.Default --domain-json '{"wan": {"read": 1, "write": 1, "delete": 1, "third_party_copy_read": 1, "third_party_copy_write": 1}, "lan": {"read": 1, "write": 1, "delete": 1}}' XRD1
rucio-admin rse add-protocol --hostname xrd2 --scheme root --prefix //rucio --port 1094 --impl rucio.rse.protocols.gfal.Default --domain-json '{"wan": {"read": 1, "write": 1, "delete": 1, "third_party_copy_read": 1, "third_party_copy_write": 1}, "lan": {"read": 1, "write": 1, "delete": 1}}' XRD2
rucio-admin rse add-protocol --hostname xrd3 --scheme root --prefix //rucio --port 1094 --impl rucio.rse.protocols.gfal.Default --domain-json '{"wan": {"read": 1, "write": 1, "delete": 1, "third_party_copy_read": 1, "third_party_copy_write": 1}, "lan": {"read": 1, "write": 1, "delete": 1}}' XRD3
rucio-admin rse set-attribute --rse XRD1 --key fts --value https://fts3-pilot.cern.ch:8446
rucio-admin rse set-attribute --rse XRD2 --key fts --value https://fts3-pilot.cern.ch:8446
rucio-admin rse set-attribute --rse XRD3 --key fts --value https://fts3-pilot.cern.ch:8446
rucio-admin rse add-distance --distance 1 --ranking 1 XRD1 XRD2
rucio-admin rse add-distance --distance 1 --ranking 1 XRD1 XRD3
rucio-admin rse add-distance --distance 1 --ranking 1 XRD2 XRD1
rucio-admin rse add-distance --distance 1 --ranking 1 XRD2 XRD3
rucio-admin rse add-distance --distance 1 --ranking 1 XRD3 XRD1
rucio-admin rse add-distance --distance 1 --ranking 1 XRD3 XRD2
rucio-admin account set-limits root XRD1 -1
rucio-admin account set-limits root XRD2 -1
rucio-admin account set-limits root XRD3 -1
rucio-admin scope add --account root --scope test
dd if=/dev/urandom of=file1 bs=10M count=1
dd if=/dev/urandom of=file2 bs=10M count=1
dd if=/dev/urandom of=file3 bs=10M count=1
dd if=/dev/urandom of=file4 bs=10M count=1
|
Two RSEs added to the CRE-VRE cluster: Followed this documentation: https://github.com/cern-vre/cern-vre/wiki/Components#adding-rses-to-the-rucio-instance |
Uploads to
|
It seems that the above |
$ rucio-admin rse info CESNET-S3
Database exception.
Details: An unknown Database Exception has ocurred.
Rucio exited with an unexpected/unknown error, please provide the traceback below to the developers.
Traceback (most recent call last):
File "/root/envs-virtualenv/rucio-cli/bin/rucio-admin", line 97, in new_funct
return function(*args, **kwargs)
File "/root/envs-virtualenv/rucio-cli/bin/rucio-admin", line 530, in info_rse
rseinfo = client.get_rse(rse=args.rse)
File "/root/envs-virtualenv/rucio-cli/lib/python3.6/site-packages/rucio/client/rseclient.py", line 50, in get_rse
raise exc_cls(exc_msg)
rucio.common.exception.DatabaseException: Database exception.
Details: An unknown Database Exception has ocurred.
$ rucio list-rules --account=<ACCOUNT_NAME>
$ rucio delete-rule <RULE_ID>
# Connect to the PSQL DB
rucio=> SELECT * FROM replicas WHERE rse_id = '<RSE_ID>';
# To get the rse-id: (f.ex:)
$ rucio list-rse-usage <RSE_NAME> Issue being investigated |
Current status:
|
IMO, I will take out this script because it might lead to wrong RSE configuration. |
CRIC will not be used atm. Ne RSE endpoints will be added as they come in. |
* rename scrip file containing typo: cs for sc (StorageClass) - otherwise misleading * remove script, as describe on vre issue #16 - https://github.com/vre-hub/vre/issues/16\#issuecomment-1511277938 * comment diagram CI script - not running properly as it tries to push directly to main
CRIC can be used as a library for RSEs configuration details (ref. https://github.com/cern-vre/project/issues/15). With a script running in a cronjob, this information can then be pulled from CRIC and imported into rucio.
Tasks
The text was updated successfully, but these errors were encountered: