Besides fixing the client, we need to update the mw-vagrant role to setup restbase as well for local testing and labs use or change the defaults to just hit RESTBase for enwiki.
|Resolved||bd808||T114186 Fix ParsoidClient to talk to RESTBase instead of Parsoid|
|Duplicate||None||T144031 Parsoid broken on iegreview.wikimedia.org|
<subbu> does ieg use parsoid somewhere? <bd808> subbu: yeah. it uses it to sanitize arbitrary input made by admins in the management console <subbu> i see ... do you have a repo url? if internal deploy, can switch it to use the internal name. <bd808> subbu: this is the current client -- https://github.com/wikimedia/wikimedia-slimapp/blob/master/src/ParsoidClient.php <bd808> subbu: which is a mirror of https://gerrit.wikimedia.org/r/#/admin/projects/wikimedia/slimapp <bd808> we could probably just change the prod config to point directly at a parsoid server <bd808> if it breaks it won't be the end of the world either <subbu> yes .. pointing it to parsoidcache.svc.eqiad.wmnet should work if it is an internal wmf install. <bd808> yeah. it's running in a ganetti vm in prod these days I think
I think the short term fix of pointing to the internal LB for Parsoid rather than the old Varnish entry point has been taken care of now. The original goal of this ticket still remains however which is to switch from talking to Parsoid to talking to RESTBase.
reviewed, merged, ran puppet on krypton.
deleted files in /var/cache/iegreview/
09:32 < mutante> !log iegreview switched from parsoid to RESTBase
09:33 < bd808> mutante: mostly fixed! One more thing while you are on krypton: delete all the files in /var/cache/iegreview please
09:33 < bd808> things that weren't cached are showing fine now, but we cached some broken stuff
09:33 < mutante> bd808: there are files ending in .parsoid and files ending in .restbase, ALL ALL or just .parsoid
09:34 < bd808> all all
09:34 < bd808> the parsoid ones won't get used anymore
09:34 < bd808> and some of the .restbase are junk
09:34 < Niharika> Awesome.
09:34 < Niharika> Works now.
09:38 < bd808> !log mutante updated puppet role and cleared cache for iegreview (T114186)