Page MenuHomePhabricator

MediaWiki maintenance tasks from puppet not running on beta cluster
Closed, DuplicatePublic


There are a variety of maintenance scripts in mediawiki::maintenance::* in operations/puppet that do not look to be running in the beta cluster. These are enabled in prod by applying the mediawiki::maintenance role to a specific host in manifests/site.pp. I'm not sure the right way to go about applying this. I could add an appropriate node clause to site.pp but we are not using that for any other deployment-prep machines.

This is needed because one of the new features in Discovery rebuilds the autocomplete indices from a cronjob and without it the indices will grow stale.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 7 2016, 5:08 PM

I think we used to have mediawiki::maintenance applied on deployment-bastion at some point. Not sure where it would be applied now, maybe on an equivalent of terbium or we can add it to deployment-tin. @thcipriani are you any familiar with that?

Unfortunately I think some of these crons try to do things like use all.dblist instead of all-labs.dblist, use s*.dblist, etc.
I wonder if we should just use an entirely separate dblists directory really.