Page MenuHomePhabricator

Migrate mw-interfaces-team jobs to mw-cron
Closed, ResolvedPublic2 Estimated Story Points

Description

Migrate MW-Interfaces-Team periodic mediawiki jobs from mwmaint to mw-cron on kubernetes.

Job nameCriticalityDone?
mediawiki_job_readinglists_purge.timer

Doc on the new platform

ServiceOps new will handle migrating the jobs, but would appreciate input from MW-Interfaces-Team on:

  • jobs that should be watched more
  • jobs that are low criticality and could be migrated first
  • outdated jobs that can be removed
  • any potential gotchas in the way these jobs use MediaWiki

Event Timeline

Hey -- could we get a little bit more information about the origin and urgency of this request? Is there a deadline by which everything must be migrated?

I 'll add that this is related to the PHP 8.1 upgrade goal. PHP 8.1 is available only on Kubernetes and thus stalling this will stall the PHP 8.1 goal. As far as deadline, if this is migrated by the end of March it would be swell.

Thanks for the info! We missed the end of March, but can pull it into an early April sprint.

@HCoplin-WMF There isn't much to do on your side, except tell us if we can run that job manually outside of its normal schedule, and how critical it is. We will handle the platform migration and may reach out if we encounter actual code issues with it.

Once migrated, you'll get the script's logs in logstash, and a phab task created for your team if the job crashes.

HCoplin-WMF triaged this task as Medium priority.Apr 7 2025, 3:08 PM
HCoplin-WMF set the point value for this task to 2.

Change #1135418 had a related patch set uploaded (by Kamila Součková; author: Kamila Součková):

[operations/puppet@production] alertmanager: Route 3 teams' task-severity alerts to Phab

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

Change #1135418 merged by Clément Goubert:

[operations/puppet@production] alertmanager: Route 4 teams' task-severity alerts to Phab

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

Hello, just wondering if this ticket could get some attention please? All that's needed is a quick look over the job to ascertain how critical this job is and whether we can run it off-schedule, should only take a few minutes. Everything else will be done on the serviceops end. We are currently in full flight of the migration and this job will need to be moved soon.

Change #1142568 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/puppet@production] mw::maintenance: migrate readinglists job to k8s

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

Change #1142568 merged by Hnowlan:

[operations/puppet@production] mw::maintenance: migrate readinglists job to k8s

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

hnowlan claimed this task.

The readinglists job has been migrated to Kubernetes. The job ran this morning, returning successfully and reporting the following output:

hnowlan@deploy1003:~$ kubectl logs readinglists-purge-29109762-5tqpc mediawiki-main-app
...purging deleted rows
done.

Please let us know if there are signs of the job misbehaving, or if there are other indicators that show that the job is not behaving as expected.