Flow/2013-12 Deployment

We have the Tuesday 2013-12-10 1pm (13:00-15:00 PDT) deployment window for our deployment to enable Flow on a few pages on mediawiki.org


 * gerrit config patch is
 * tracking bug

The pages

 * mediawiki.org
 * Talk:Flow QA, Talk:Sandbox, Talk:Flow


 * testwiki
 * testwiki:Talk:Flow QA, testwiki:Talk:Sandbox


 * test2
 * test2wiki:Talk:Flow QA, test2wiki:Talk:Sandbox

There's no content to archive:
 * Talk:Flow QA doesn't exist
 * Talk:Sandbox is a redirect to Project:Sandbox and nothing links to it.
 * Talk:Flow is a redirect to Talk:Flow Portal and only has two links.

Checklist

 * ❌ Reedy +1 on
 * Chris Steipp security review, met Monday 2013-12-01 9:30 PST
 * ✅ ops (Faidon) OK
 * ✅ We won't have dedicated memcache servers for this
 * this plan

Pre-deploy

 * ✅ Edit the pages to say "Flow team will enable Flow on this page on 2013-12-04. After that, if you can see this then we reverted or something has gone wrong." For bonus points, make Flow-enabled.
 * ❌ a DBA need to create 'flowdb' on the extension1 cluster. RT ticket being filed.

Deploy steps
The wikis involved are running 1.23wmf6. It's How to deploy code, with some database changes.


 * ✅ push out extension code
 * add the submodule and +2 the submodule change per How to deploy code
 * +2 which adds Flow to wmf-config/extension-list
 * Should we follow Configuration files and run mergeMessageFileList.php by hand to check for errors?
 * run scap to push Flow code and rebuild l10n cache
 * test wikis still work


 * ❌ we need a DBA to actually create 'flowdb' on the extension1 cluster (see "Pre-deploy")


 * install db changes on extension1 cluster. Follow greg-g's e-mail to run these commands on host terbium, not tin:


 * The recommendation was to run mwscript sql.php --wiki=flowdb --cluster=extension1 extensions/Flow/flow.sql (?)
 * that didn't work since "flowdb" is only a DB, not a true wiki, so it isn't in wikiversions.cdb. Aaron has a patch to add a specific --wikidb parameter, or someone has to run the raw commands.
 * run mwscript xxxx maintenance/FlowDefaultDefinitions.php
 * similar issue of pointing this
 * any other DB script changes required?


 * push out config changes that switch it on
 * +2
 * sync-file the config files
 * any particular order?
 * monitor for errors
 * xx
 * run QA tests on test2.mediawiki.org
 * probably have to fix beta cluster for Flow on separate flowdb (see Matthias comment) – we left beta cluster not using separate flowdb on separate cluster with separate ExternalStore.

Testing

 * Visit the URLs.
 * Point browsertests at test2wiki.