Page MenuHomePhabricator

MW REST API should be routed to api_appserver MW cluster
Closed, ResolvedPublic

Description

Currently the traffic for MW REST API (/w/rest.php) is routed to appserver MW cluster, the same one as used for page views. REST API is API, so the traffic should be routed to api_appserver cluster.

Event Timeline

Change 641730 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[operations/puppet@production] Move MW /w/rest.php traffic to api-appserver.

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

@ema - Reminder to me and you both - Can you take a peek at this Monday please?

@BBlack I have arranged with @Vgutierrez to merge this on Monday!

herron triaged this task as Medium priority.Nov 20 2020, 3:14 PM

Change 641730 merged by Effie Mouzeli:
[operations/puppet@production] Move MW /w/rest.php traffic to api-appserver.

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

Pchelolo claimed this task.

Tutum, now it seems to work:

curl -i https://en.wikipedia.org/w/rest.php/v1/page/Main_Page/bare | grep server

server: mw1374.eqiad.wmnet

Which is in api_appserver cluster. Thanks to everyone involved for a quick turnaround.