Skip to content

WMAgent: define rule lifetime for dev/test agents #1601

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amaltaro
Copy link
Contributor

Fixes dmwm/WMCore#12316

For agents connected to Rucio Int (testbed and/or development agents), enrich the RucioInjector component attributes, such that output rules created by the agent carry a lifetime (default of 14 days). Component attributes are:

config.RucioInjector.blockRuleParams = {}
config.RucioInjector.containerDiskRuleParams = {'weight': 'dm_weight', 'copies': 2, 'grouping': 'DATASET'}

which will be updated with lifetime=expire_in_secs.

This is yet to be tested, but I welcome a review. Thanks

Copy link
Contributor

@todor-ivanov todor-ivanov left a comment

Choose a reason for hiding this comment

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

looking good

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.

Add expiration time in rules created against Rucio Integration
2 participants