Skip to content

Add PoC creation for _User sites#1035

Open
dciangot wants to merge 3 commits into
dmwm:masterfrom
dciangot:create_rome_user_rse
Open

Add PoC creation for _User sites#1035
dciangot wants to merge 3 commits into
dmwm:masterfrom
dciangot:create_rome_user_rse

Conversation

@dciangot
Copy link
Copy Markdown
Contributor

Start with T2_IT_Rome. Hardcoded list of sites enabled, taking total rse limit from local_usage field in site capacity as agreed with Facilities for this tests

Start with T2_IT_Rome. Hardcoded list of sites enabled, taking total rse
limit from local_usage field in site capacity as agreed with Facilities
for this tests
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds initial support for creating and managing “_User” RSE variants (PoC starting with T2_IT_Rome) in the dockerized Rucio client tooling, and adjusts capacity/quota handling logic intended for these _User RSEs.

Changes:

  • Add --type user support and PoC site allowlist to create/update ${RSE}_User variants from GitLab storage.json.
  • Extend CMSRSE to build _User-suffixed RSE names and add a user domain configuration.
  • Adjust site capacity update logic to treat _User RSEs as having capacity driven by disk_local_use.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
docker/rucio_client/scripts/setSiteCapacity Adds _User-specific static usage/quota logic for capacity updates.
docker/rucio_client/scripts/setRucioFromGitlab Adds --type user mode and PoC allowlist to manage _User RSE variants.
docker/rucio_client/scripts/setOneRucioFromGitlab Updates CLI help text to include the new user type.
docker/rucio_client/scripts/CMSRSE.py Adds user handling for RSE naming and domain configuration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +76 to +77
rse = CMSRSE(site, dry=options.dry_run, cms_type=options.cms_type, deterministic=deterministic)
try:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dciangot Isn't this a valid comment. We should set a default FTS if there is nothing there?

Comment on lines 97 to 99
rse = CMSRSE(site, dry=options.dry_run, cms_type=options.cms_type, deterministic=deterministic)
try:
if rse.update():
Comment on lines +91 to +95
rse_name = site['rse'] + '_User'
deterministic = True
if rse_name in SKIP_SITES or not DO_SITES or rse_name not in DO_SITES:
print(' Skipping.')
continue
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sounds valid too, like a catch-22

Comment thread docker/rucio_client/scripts/setSiteCapacity Outdated
the logic of the cms_type=user is trickier than I thought. This should
work as expected now
Comment on lines +76 to +77
rse = CMSRSE(site, dry=options.dry_run, cms_type=options.cms_type, deterministic=deterministic)
try:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dciangot Isn't this a valid comment. We should set a default FTS if there is nothing there?

Comment on lines +91 to +95
rse_name = site['rse'] + '_User'
deterministic = True
if rse_name in SKIP_SITES or not DO_SITES or rse_name not in DO_SITES:
print(' Skipping.')
continue
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sounds valid too, like a catch-22

@dciangot dciangot requested a review from ericvaandering May 13, 2026 07:53
@dciangot
Copy link
Copy Markdown
Contributor Author

thanks @ericvaandering , I think that the comments should have been addressed by the last commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants