Page MenuHomePhabricator

Prepare and check storage layer for skrwiki
Closed, ResolvedPublic

Description

The new wiki's visibility will be: Public.

Event Timeline

Thanks, let us know when the database is created, so we can sanitize it.

https://phabricator.wikimedia.org/T265321 was resolved last week so the ipblocks_restrictions alter should no longer be necessary.

LSobanski triaged this task as Medium priority.Nov 23 2020, 11:25 AM

Thanks, let us know when the database is created, so we can sanitize it.

DB got created.

This has been sanitized. I have tested the triggers creating my user.
I am now running a check data on labsdb1009, 1010, 1011, 1012 as well as clouddb1020:3315 and clouddb1016:3315

After that still pending:

  • _p database creation
  • grants for labsdbuser role for that database.
  • Private data check was clean
  • _p database created
  • Grants added
*****labsdb1009*****
Database (skrwiki%)
skrwiki
skrwiki_p
GRANT SELECT, SHOW VIEW ON `skrwiki\\_p`.* TO 'labsdbuser'
*****labsdb1010*****
Database (skrwiki%)
skrwiki
skrwiki_p
GRANT SELECT, SHOW VIEW ON `skrwiki\\_p`.* TO 'labsdbuser'
*****labsdb1011*****
Database (skrwiki%)
skrwiki
skrwiki_p
GRANT SELECT, SHOW VIEW ON `skrwiki\\_p`.* TO 'labsdbuser'
*****labsdb1012*****
Database (skrwiki%)
skrwiki
skrwiki_p
GRANT SELECT, SHOW VIEW ON `skrwiki\\_p`.* TO 'labsdbuser'
*****clouddb1016:3315*****
Database (skrwiki%)
skrwiki
skrwiki_p
GRANT SELECT, SHOW VIEW ON `skrwiki\\_p`.* TO `labsdbuser`
*****clouddb1020:3315*****
Database (skrwiki%)
skrwiki
skrwiki_p
GRANT SELECT, SHOW VIEW ON `skrwiki\\_p`.* TO `labsdbuser`

This is ready for cloud-services-team

Marostegui moved this task from In progress to Done on the DBA board.

Reminder, the views need to be created on the new hosts too, so this would be:

labsdb1009 labsdb1010 labsdb1011 labsdb1012 clouddb1016:3315 clouddb1020:3315

To clinic duty, please wait until I finish a manual run of maintain-meta_p T269427#6696324

Mentioned in SAL (#wikimedia-operations) [2020-12-18T19:41:19Z] <nskaggs@cumin1001> Added views for new wiki: skrwiki T268412