Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

Push one more campaign parameter - toDDM - to central Couch#648

Merged
haozturk merged 1 commit intoCMSCompOps:masterfrom
amaltaro:wmcore-9906
Sep 14, 2020
Merged

Push one more campaign parameter - toDDM - to central Couch#648
haozturk merged 1 commit intoCMSCompOps:masterfrom
amaltaro:wmcore-9906

Conversation

@amaltaro
Copy link
Copy Markdown
Contributor

Fixes dmwm/WMCore#9756

Status

not-tested

Description

As we have recently learned, campaign configurations can have a specific parameter toDDM which can be used to make sure that a given datatier gets a nonCustodial output data placement, even if that same datatier is blacklisted in the Unified campaign.

That means, Unified needs to start publishing this parameter to the campaigns uploaded to central CouchDB. This schema change should parse the Unified campaign configuration and convert that value into TiersToDM, which will then get posted to central CouchDB campaign.

Once this PR gets merged, I'll update all the campaigns already available in central CouchDB.

Is it backward compatible (if not, which system it affects?)

No, in the sense that there is a campaign schema change in WMCore.

Related PRs

WMCore: dmwm/WMCore#9906

External dependencies / deployment changes

none

Mention people to look at PRs

@haozturk @z4027163 I really don't want to rush you with this, but this needs to be tested and merged before the CMSWEB production upgrade is finished on the coming Tuesday morning :-D

@haozturk
Copy link
Copy Markdown
Collaborator

I've tested the changes by running the parseMongoCampaigns function manually and the returned wmCampaigns looks okay with the new TiersToDM parameter. We can merge it if you do not see something wrong @z4027163

@z4027163
Copy link
Copy Markdown
Collaborator

No problem from my side.

@haozturk haozturk merged commit 294f147 into CMSCompOps:master Sep 14, 2020
@amaltaro
Copy link
Copy Markdown
Contributor Author

Thanks guys. I have also updated all the campaigns that are already available in central couch.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create proper destination output map for nonRelval workflows based on the campaign configuration

3 participants