Page MenuHomePhabricator

deployment-mediawiki0[12] have outdated mediawiki-config
Closed, ResolvedPublic

Description

legoktm@deployment-mediawiki02:/srv/mediawiki/wmf-config$ ack-grep ORES --php

(no results)

versus

legoktm@deployment-tin:/srv/mediawiki-staging/wmf-config$ ack-grep ORES --php
CommonSettings-labs.php
371:if ( $wmgUseORES ) {
372:	wfLoadExtension( 'ORES' );

ExtensionMessages-master.php
243:  'ORES' => 
245:    0 => "$IP/extensions/ORES/i18n",

InitialiseSettings-labs.php
614:		'wmgUseORES' => array(

Event Timeline

Legoktm created this task.Feb 23 2016, 10:24 PM
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptFeb 23 2016, 10:24 PM

deployment-mediawiki01 is also out of date.

Legoktm renamed this task from deployment-mediawiki02 has outdated mediawiki-config to deployment-mediawiki0[12] have outdated mediawiki-config.Feb 23 2016, 10:31 PM

I ran sync-common on deployment-mediawiki02, but it didn't make a difference:

legoktm@deployment-mediawiki02:/srv/mediawiki$ sync-common
22:24:58 Copying to deployment-mediawiki02.deployment-prep.eqiad.wmflabs from deployment-bastion.eqiad.wmflabs
22:24:58 Started rsync common
22:25:02 Finished rsync common (duration: 00m 04s)
legoktm@deployment-mediawiki02:/srv/mediawiki$ cd wmf-config
legoktm@deployment-mediawiki02:/srv/mediawiki/wmf-config$ ack-grep ORES --php
legoktm@deployment-mediawiki02:/srv/mediawiki/wmf-config$
Legoktm triaged this task as Unbreak Now! priority.Feb 23 2016, 10:33 PM
greg added a subscriber: greg.Feb 23 2016, 11:27 PM

The beta-scap-eqiad job has been failing since 21:50 UTC today (Feb 23rd): https://integration.wikimedia.org/ci/job/beta-scap-eqiad/

thcipriani closed this task as Resolved.Feb 23 2016, 11:32 PM
thcipriani added a subscriber: thcipriani.

Should be fixed. Had to re-cherry-pick https://gerrit.wikimedia.org/r/#/c/270343/5 :( then run puppet on a few machines.

thcipriani@deployment-mediawiki01:/srv/mediawiki/wmf-config$ ack-grep ORES --php
InitialiseSettings-labs.php
614:            'wmgUseORES' => array(

ExtensionMessages-master.php
243:  'ORES' => 
245:    0 => "$IP/extensions/ORES/i18n",

CommonSettings-labs.php
371:if ( $wmgUseORES ) {
372:    wfLoadExtension( 'ORES' );
thcipriani@deployment-mediawiki02:/srv/mediawiki/wmf-config$ ack-grep ORES --php          
InitialiseSettings-labs.php
614:            'wmgUseORES' => array(

ExtensionMessages-master.php
243:  'ORES' => 
245:    0 => "$IP/extensions/ORES/i18n",

CommonSettings-labs.php
371:if ( $wmgUseORES ) {
372:    wfLoadExtension( 'ORES' );

Even with several resyncs done, it's not there yet. Tell if I'm wrong.

Hmm...code is definitely present on all the beta mediawiki boxes:

thcipriani@deployment-mediawiki03:/srv/mediawiki/wmf-config$ ack-grep ORES --php
InitialiseSettings-labs.php
614:            'wmgUseORES' => array(

ExtensionMessages-master.php
243:  'ORES' => 
245:    0 => "$IP/extensions/ORES/i18n",

CommonSettings-labs.php
371:if ( $wmgUseORES ) {
372:    wfLoadExtension( 'ORES' );
thcipriani@deployment-mediawiki03:/srv/mediawiki/wmf-config$ ls -l ../php-master/extensions/ORES/
total 48
-rw-r--r-- 1 mwdeploy mwdeploy  222 Feb 17 12:54 composer.json
-rw-r--r-- 1 mwdeploy mwdeploy 2258 Feb 23 08:27 extension.json
-rw-r--r-- 1 mwdeploy mwdeploy  573 Feb 11 00:53 Gruntfile.js
drwxr-xr-x 2 mwdeploy mwdeploy 4096 Feb 23 21:49 i18n
drwxr-xr-x 2 mwdeploy mwdeploy 4096 Feb 21 01:04 images
drwxr-xr-x 2 mwdeploy mwdeploy 4096 Feb 17 12:54 includes
drwxr-xr-x 2 mwdeploy mwdeploy 4096 Feb 17 12:54 maintenance
drwxr-xr-x 2 mwdeploy mwdeploy 4096 Feb 11 00:53 modules
-rw-r--r-- 1 mwdeploy mwdeploy  257 Feb 11 00:53 package.json
-rw-r--r-- 1 mwdeploy mwdeploy  204 Feb 11 00:53 phpcs.xml
-rw-r--r-- 1 mwdeploy mwdeploy  807 Feb 11 00:53 README
drwxr-xr-x 2 mwdeploy mwdeploy 4096 Feb 11 00:53 sql
thcipriani@deployment-mediawiki01:/srv/mediawiki/wmf-config$ ack-grep ORES --php          
InitialiseSettings-labs.php
614:            'wmgUseORES' => array(

ExtensionMessages-master.php
243:  'ORES' => 
245:    0 => "$IP/extensions/ORES/i18n",

CommonSettings-labs.php
371:if ( $wmgUseORES ) {
372:    wfLoadExtension( 'ORES' );
thcipriani@deployment-mediawiki01:/srv/mediawiki/wmf-config$ ls -l ../php-master/extensions/ORES/
total 48
-rw-r--r-- 1 mwdeploy mwdeploy  222 Feb 17 12:54 composer.json
-rw-r--r-- 1 mwdeploy mwdeploy 2258 Feb 23 08:27 extension.json
-rw-r--r-- 1 mwdeploy mwdeploy  573 Feb 11 00:53 Gruntfile.js
drwxr-xr-x 2 mwdeploy mwdeploy 4096 Feb 23 21:49 i18n
drwxr-xr-x 2 mwdeploy mwdeploy 4096 Feb 21 01:04 images
drwxr-xr-x 2 mwdeploy mwdeploy 4096 Feb 17 12:54 includes
drwxr-xr-x 2 mwdeploy mwdeploy 4096 Feb 17 12:54 maintenance
drwxr-xr-x 2 mwdeploy mwdeploy 4096 Feb 11 00:53 modules
-rw-r--r-- 1 mwdeploy mwdeploy  257 Feb 11 00:53 package.json
-rw-r--r-- 1 mwdeploy mwdeploy  204 Feb 11 00:53 phpcs.xml
-rw-r--r-- 1 mwdeploy mwdeploy  807 Feb 11 00:53 README
drwxr-xr-x 2 mwdeploy mwdeploy 4096 Feb 11 00:53 sql
thcipriani@deployment-mediawiki02:/srv/mediawiki/wmf-config$ ack-grep ORES --php          
InitialiseSettings-labs.php
614:            'wmgUseORES' => array(

ExtensionMessages-master.php
243:  'ORES' => 
245:    0 => "$IP/extensions/ORES/i18n",

CommonSettings-labs.php
371:if ( $wmgUseORES ) {
372:    wfLoadExtension( 'ORES' );
thcipriani@deployment-mediawiki02:/srv/mediawiki/wmf-config$ ls -l ../php-master/extensions/ORES/
total 48
-rw-r--r-- 1 mwdeploy mwdeploy  222 Feb 17 12:54 composer.json
-rw-r--r-- 1 mwdeploy mwdeploy 2258 Feb 23 08:27 extension.json
-rw-r--r-- 1 mwdeploy mwdeploy  573 Feb 11 00:53 Gruntfile.js
drwxr-xr-x 2 mwdeploy mwdeploy 4096 Feb 23 21:49 i18n
drwxr-xr-x 2 mwdeploy mwdeploy 4096 Feb 21 01:04 images
drwxr-xr-x 2 mwdeploy mwdeploy 4096 Feb 17 12:54 includes
drwxr-xr-x 2 mwdeploy mwdeploy 4096 Feb 17 12:54 maintenance
drwxr-xr-x 2 mwdeploy mwdeploy 4096 Feb 11 00:53 modules
-rw-r--r-- 1 mwdeploy mwdeploy  257 Feb 11 00:53 package.json
-rw-r--r-- 1 mwdeploy mwdeploy  204 Feb 11 00:53 phpcs.xml
-rw-r--r-- 1 mwdeploy mwdeploy  807 Feb 11 00:53 README
drwxr-xr-x 2 mwdeploy mwdeploy 4096 Feb 11 00:53 sql

Also, it's present in API too, it's in Special:Version as well. (It was before these changes too):
http://en.wikipedia.beta.wmflabs.org/w/api.php?action=query&list=betafeatures&bfcounts=

The same code works in a test setup in labs as well: https://mw-revscoring.wmflabs.org/wiki/Special:Preferences#mw-prefsection-betafeatures

I guess it's caching or a bug in the extension that shows up in beta cluster for unknown reason, I checked logs but I couldn't find anything useful: https://logstash-beta.wmflabs.org/#/dashboard/elasticsearch/mediawiki-errors