Page MenuHomePhabricator

Restore db write functionality for https://tools.wmflabs.org/deadlinks/api/
Closed, ResolvedPublic

Description

Mentioned in SAL (#wikimedia-cloud) [2019-10-24T18:10:56Z] <bd808> bd808 hacked public_html/api/index.php to stop all db writes. Trying to slow toolsdb high volume writes while we work on fixing a bad software update (see also T236384)

Event Timeline

bd808 triaged this task as Medium priority.
bd808 added a project: Community-Tech.
bd808 added subscribers: MusikAnimal, Cyberpower678.

@MusikAnimal, @Cyberpower678 I made a task so we don't forget about fixing what I purposefully broke. It would be really great however if y'all could examine the purpose of this tool and decide if it is actually performing a useful service in the modern age or not.

Change 546177 had a related patch set uploaded (by Jcrespo; owner: Jcrespo):
[operations/puppet@production] bacula: Allow nagios user to execute bacula check as bacula user

https://gerrit.wikimedia.org/r/546177

Change 546177 merged by Jcrespo:
[operations/puppet@production] bacula: Allow nagios user to execute bacula check as bacula user

https://gerrit.wikimedia.org/r/546177

Change 546187 had a related patch set uploaded (by Jcrespo; owner: Jcrespo):
[operations/puppet@production] bacula: Actually run the check with sudo -u bacula

https://gerrit.wikimedia.org/r/546187

Change 546187 merged by Jcrespo:
[operations/puppet@production] bacula: Actually run the check with sudo -u bacula

https://gerrit.wikimedia.org/r/546187

Change 546192 had a related patch set uploaded (by Jcrespo; owner: Jcrespo):
[operations/puppet@production] bacula: Fix check so it produces the right nagios error code

https://gerrit.wikimedia.org/r/546192

Change 546192 merged by Jcrespo:
[operations/puppet@production] bacula: Fix check so it produces the right nagios error code

https://gerrit.wikimedia.org/r/546192

Mentioned in SAL (#wikimedia-cloud) [2019-10-25T16:47:49Z] <bd808> Reverted local hack that disabled /api/ route (T236423)

Mentioned in SAL (#wikimedia-cloud) [2019-10-25T16:47:49Z] <bd808> Reverted local hack that disabled /api/ route (T236423)

Leaving this open for a bit so we can see if ToolsDB remains stable with the return of this write load before calling this {{done}}.