Page MenuHomePhabricator

Labs undefined index due to data center switchover
Closed, ResolvedPublic

Description

While on codfw due to the switchover:

mattflaschen@deployment-tin:~$ mwscript extensions/GettingStarted/maintenance/populate_categories.php --wiki=enwiki
PHP Notice:  Undefined index: codfw in /srv/mediawiki-staging/wmf-config/LabsServices.php on line 61
Notice: Undefined index: codfw in /srv/mediawiki-staging/wmf-config/LabsServices.php on line 61
Failed to get Redis connection. Exiting.

I ran that to begin with due to GettingStarted suggestions not working.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 349349 had a related patch set uploaded (by Mattflaschen):
[operations/mediawiki-config@master] Force Labs to eqiad, since all the services are there.

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

Change 349349 merged by jenkins-bot:
[operations/mediawiki-config@master] Force Labs to eqiad, since all the services are there.

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

Mattflaschen-WMF claimed this task.

I checked earlier, and I don't think the above patch alone worked. But Jenkins passes now, somewhat mysteriously, and I ran populateCategories.php today without errors.

The actual feature currently works in both production and Beta Cluster.