Page MenuHomePhabricator

Globalize mwconfig ReadOnly
Open, MediumPublic

Description

In T330300: sre.switchdc.mediawiki.07-set-readwrite doesn't reset both datacenter to rw we saw that not having the two core datacenters in the same state causes editing issues.
This means that this currently dc-local confd setting should probably become global.

Event Timeline

Clement_Goubert triaged this task as Medium priority.
Clement_Goubert moved this task from Incoming 🐫 to this.quarter 🍕 on the serviceops board.

Removing SRE as the more specific team is tagged already.

Joe subscribed.

I think there might be valid reasons to have one datacenter read-only globally while the other isn't - but I get why this logic isn't useful anymore in the context of the switchover.

How to carry this out:

  • Add the new variable to conftool
  • Modify mediawiki-config to read this variable
  • Modify the switchdc cookbooks
  • Check whatever else reads that value besides mediawiki.

Not sure if this fits the 2 days window for sprint week tasks.