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
Wrong cms RSE name pattern used when attaching dids #1901
Comments
Created PR #1902 |
Hi Andrea, |
Hi Martin, |
Created #1904 |
That's against the hotfix branch 😄 |
Although I just saw you based your development off the hotfix branch (instead of master). It's not super clean to merge it like that. It would probably work fine, but we should stick to the normal workflow here. |
I'm really sorry.. I've read the doc too quickly and understood patches go in hotfix (I do not know how, since is clearly stated). I'll recreate 2 PR one for next and one for master (both from a branch based on master, if I understand correctly) |
Hi Andrea, no worries. The workflow we have is sadly not very simple for somebody new, since it is somewhat different than most projects do it, so I can understand the confusion. Just ping me on Slack if you have any question about the setup. 😄 |
…ern_for_attachment bug: Fix CMS RSE Name pattern for ATTACHMENTS Fix #1901
…ern_for_attachment bug: Fix CMS RSE Name pattern for ATTACHMENTS Fix #1901
Motivation
in lib/rucio/common/schema/cms.py the RSE Name pattern is
^T[0-3]_[A-Z]{2}((_[A-Za-z0-9]+)+)$
while the pattern for the rse property of ATTACHMENT is
^([A-Z0-9]+([_-][A-Z0-9]+)*)$
as a result when we add replicas to a CMS RSE whose name is not all in capitals (e.g. T1_UK_RAL_Buffer):
add_replicas
and theattach_dids
it works fineattach_dids
directly it fails withInvalidObject
Modification
Just put the same regexp for the two patterns (PR coming)
The text was updated successfully, but these errors were encountered: