-
Notifications
You must be signed in to change notification settings - Fork 108
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
MSOutput: support custodial/tape data placement #9911
Conversation
Jenkins results:
|
Jenkins results:
|
Jenkins results:
|
assign tape RSE before looping over output datasets use custodial flag for tape subscriptions; exact RSEs for RelVals fix logging
Jenkins results:
|
Basic tests done, including some real call against DDM and PhEDEx (rucio account needs to be sorted). So, it's good enough to go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I took a look and it makes sense to me
@@ -301,11 +288,8 @@ def makeSubscriptions(self, workflow): | |||
|
|||
# overwrite the current DiskDestination by something that will work for DDM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So unlike Unified, the output disk site choice is resolved here? Because as I understand, Unified just forwards the request to dynamo (with a generic or null
list of sites) in https://github.com/CMSCompOps/WmAgentScripts/blob/master/Unified/closor.py#L585 (perhaps @dr-stringfellow can confirm) If so, we should review how the disk site is chosen.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, the disk destination is decided in this block:
https://github.com/dmwm/WMCore/blob/master/src/python/WMCore/MicroService/Unified/MSOutput.py#L755-L791
but noticed that the destination is already in the format of an RSE Expression (Rucio compliant).
In this section of the code, we are making data transfers against DDM, so we need to massage a bit the list of sites (for RelVals, it does not change). For standard workflows, we simply pass T1 Disk and T2s, and leave the final decision to DDM.
Fixes #9842
Status
ready
Description
This PR makes MSOutput able to also perform the custodial (tape) data placement. Features in place are:
"&cms_type=real&rse_type=DISK"
from the RelVal RSE expression. We always set the specific RSE name anyways, so that expression won't make any difference;Is it backward compatible (if not, which system it affects?)
no, new feature
Related PRs
none
External dependencies / deployment changes
none