User Details
- User Since
- Jul 26 2022, 2:11 PM (210 w, 3 d)
- Availability
- Available
- IRC Nick
- claime
- LDAP User
- Clément Goubert
- MediaWiki User
- CGoubert-WMF [ Global Accounts ]
Thu, Aug 6
From what I've gathered:
- Apache has a RewriteRule for /wiki(/.*)? to send requests to /w/index.php
- MediaWiki then extracts the page title from that request using $wgArticlePath see documentation
Wed, Aug 5
Thanks, removed downtime and repooled.
Temporary braindump of most likely solution:
- 3 Ganeti VM per core DC
- 1 redis instance per VM
- No replication between redis instances
- No replication between datacentres
Tue, Aug 4
Depooled, downtimed, go ahead.
Fri, Jul 31
Hey @Jhancock.wm you can move them whenever you want, just depool them first and repool them after, or we can coordinate to do that for you.
Will they need any special action after moving within the rack?
Mon, Jul 27
Triaging to ServiceOps Radar (Pending) in case this is something where we have actual actions to take, if that's not forecast to be the case please move to Radar (Awareness)
Fri, Jul 17
I fixed it as soon as it popped up, it should be good now
That's me, https://gerrit.wikimedia.org/r/c/operations/puppet/+/1310589 required a manual kill of stunnel4 and a puppet rerun, that's now done and fixed.
Wed, Jul 15
Onboarding WDQSv2 to rate limiting/REST Gateway is in scope for PP3.5 Preferred API Pathways, specifically PP3.5.1 WDQS Cost-Based Rate Limiting
Fri, Jul 10
For the record, systemctl restart doesn't work either, so I don't think it's a puppet problem.
That seems to keep happening, killing and restarting properly for now, but we should investigate further.
Yeah that's on me, don't worry about it.
Thu, Jul 9
You should now be able to reach linked-artifacts through the service mesh, using http://localhost:6074 as a base URL, so curl https://localhost:6074/revisions/v1/article_topics/enwiki/534366/1358198637
Jul 8 2026
Just ran
cgoubert@deploy1003:~$ mwscript-k8s --comment="T430531" --file=apiportalwiki_recalculatecount.txt --follow -- extensions/CentralAuth/maintenance/RecalculateGlobalEditCountForUsers.php --wiki=testwiki apiportalwiki_recalculatecount.txt
Survey is now generated, and we have a Grafana dashboard
We had a few Gerrit crashes yesterday that probably explain the 503s y'all got cc @hashar @ABran-WMF
Jul 7 2026
Copying my comment from gerrit here for ease of retrieval:
Jul 3 2026
Given PDFs are arbitrary binary input, we have application and infrastructure level security and reliability concerns that require consideration.
Application-side, we need a security review of the pdf-parse and backing pdfjs-dist libraries. This would also help determine the level of sandboxing necessary to consider a production deployment.
Infrastructure-side, we would want to isolate the PDF handling as much as possible. Ideally this would happen in a separate microservice that only does PDF handling, or at least in a separate citoid deployment, to mitigate potential vulnerabilities and resource exhaustion. Both solutions would also require a stronger sandbox than a standard container.
Jul 1 2026
There should be some of us around during tomorrow's yes, but I'll let @RLazarus decide whether it's worth doing at a different time considering there's a little more than just puppet merges.
I've taken the liberty to add some necessary patches removing LVS service definitions, DNS entries, and mw-on-k8s mesh config. Order of operations should look more or less like:
I'm closing this task presuming the file upload worked on a retry. Feel free to reopen if this error presents itself again.
Jun 30 2026
This should now be fixed for this use case, general discussion continues in parent. Feel free to reopen if issues persist.
For now, I've removed any X-W-D handling on api.wikimedia.org. Other endpoints status:
- /w/rest.php: There is an argument to remove it from this endpoint because the REST Gateway rewrites the paths. This means hitting mw-debug directly will probably break.
- /api/rest_v1: This endpoint does not have X-W-D handling configured.
- /w/api.php (Action API): This endpoint has X-W-D handling configured, but the REST Gateway does not meaningfully rewrite the paths. Hitting mw-debug directly works identically to going through the REST Gateway, but bypasses rate limiting.
I think the simplest way to go about this is to remove X-Wikimedia-Debug from the plugin chain for api.wikimedia.org/{core,service,feed} in the ATS configuration.
It is not currently needed as even the /core API endpoints can't currently be tested on these paths using X-W-D.
The reason that happens is the X-Wikimedia-Debug header (or the extension which just sets that header) bypasses ATS at the edge where the routing to the rest gateway for api.wikimedia.org API endpoints is done. It forces you to the mw-debug MediaWiki-On-Kubernetes deployment, which redirects everything under api.wikimedia.org to the API Doc page.
Jun 29 2026
Created T430531: Recalculate edit count following apiportalwiki deletion to try to sum up and track that work, because it seems off topic for this task.
Resolving here because the original issue is now fixed.
Eventstreams does benefit from the global override, and the others should be migrated. The override is happening on the deployment servers only, so moving eventgate and system charts to use docker.registry wouldn't change the ability of local devs to set the registry themselves, and we don't expect to change the charts defaulting to the external URL either.