Remove all input data placement; force transferor to set wflows to staged#519
Remove all input data placement; force transferor to set wflows to staged#519sharad1126 merged 2 commits intoCMSCompOps:masterfrom
Conversation
|
@amaltaro can you please make a PR to the testing branch as well? |
| parameters['EventsPerJob'] = eventsPerJob | ||
| else: | ||
| spl = wfh.getSplittings()[0] | ||
| eventsPerJobEstimated = spl['events_per_job'] if 'events_per_job' in spl else None |
|
we might need to check the batchor and checkor too. |
|
my 2 cents @amaltaro , better not touch transferor at all, in case of "disaster" with moving in the MS, this way ops will still have a handle at initiating what needs to happen to have shit done. same for assignor (hard to review how you handle the massaging of the site-whitelist based). You could have a specific option in injector to set all workflows directly to "staged" (unified status) |
|
batchor : no need, it only detects relvals and set the campaigns up |
|
@vlimant Jean-Roch,
did you mean the transferor? If so, yes I have also considered that, but then we would miss all the transferor logic in place (we might need some of those dry-run logs) in case we need to compare things. For the assignor, it's hard to simply bypass all the data management logic in there. With this patch, the juggling with the site whitelist comes mostly from the utils/getSiteWhiteList function. So there is no massaging coming from either data location or data presence. If we manage to keep all the required changes in a single PR, we could also revert the changes and update the Unified production node (if we are in a deep trouble and can't quickly fix MS). Thanks for spending your time looking into it though! Sharad, from Jean-Roch's comment, it looks like these 2 modules is all that we need to worry for input data placement. |
I meant For |
I see. In summary, anything interacting with the DM system has to be stopped. Not necessarily now, but in a month or two from now. So the PU, the partial, the good_enough bits, are all going away. And given that Unified is flexible, if we face big problems, we can always revert patches and update Unified, AFAIU. Different than CMSWEB services that would take, at the very least, a day to get updates in production. |
Fixes dmwm/WMCore#9527
Status
tested
Description
This is the first step towards migrating the data management logic out of Unified umbrella (and instead rely on the WMCore MicroServices for that).
This patch was supposed to simply disable the input data placement made in the transferor module, but nothing is just... and I noticed that the assignor module has A LOT of data location/presence as well.
A summary for the transferor changes is:
execute=False, such that no phedex subscription requests will be madeA summary of the assignor changes is:
partialandgood_enoughoptionsprimary_AAAoption relies only on the campaign (or module command line option) configurationsecondary_AAAoption relies only on the campaign (or module command line option) configurationgetSiteWhiteList(), which takes into consideration a bunch of things, like: I/O, goodIO sites, goodAAA sites, blow_up limits, campaign SiteWhitelist/SiteBlacklist info, memory/multicore sites, architectures and it should be it!Is it backward compatible (if not, which system it affects?)
no
Related PRs
none
External dependencies / deployment changes
Yes, we need to wait for the CMSWEB production upgrade. Meant to happen on April 7.
Mention people to look at PRs
@sharad1126 and others