Page MenuHomePhabricator

LoadBalancer fatals on Beta cluster rendering pages inaccessible
Closed, ResolvedPublic

Description

Apologies if this has already been raised, but I'm seeing lots of fatals on https://logstash-beta.wmflabs.org/ and the beta cluster is currently inaccessible.

The error seems to be:

Fatal error: Cls: Expected string or object in /srv/mediawiki/php-master/includes/libs/rdbms/loadbalancer/LoadBalancer.php on line 218

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 3 2016, 11:34 PM
Krenair triaged this task as Unbreak Now! priority.Oct 3 2016, 11:50 PM
Krenair added a subscriber: Krenair.

Might be something to do with https://gerrit.wikimedia.org/r/#/c/310757/ ?
Not sure if this actually qualifies as UBN yet, but I expect it's a deployment blocker

Restricted Application added subscribers: Jay8g, Luke081515, TerraCodes. · View Herald TranscriptOct 3 2016, 11:50 PM
greg added subscribers: aaron, greg.Oct 4 2016, 12:02 AM

Might be something to do with https://gerrit.wikimedia.org/r/#/c/310757/ ?
Not sure if this actually qualifies as UBN yet, but I expect it's a deployment blocker

Adding patch author, @aaron

Change 313936 had a related patch set uploaded (by Aaron Schulz):
Set default load monitor class in LBFactoryMulti

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

Change 313936 merged by jenkins-bot:
Set default load monitor class in LBFactoryMulti

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

(seems a problem not with the beta cluster itself)

hashar added a subscriber: hashar.Oct 4 2016, 11:03 AM

Looks very similar to T147298: "MediaWiki internal error" at https://en.wikipedia.beta.wmflabs.org/

/ InvalidArgumentException from line 357 of /srv/mediawiki/php-master/includes/libs/rdbms/database/Database.php: Database::factory no viable database extension found for type ''

Change 313992 had a related patch set uploaded (by Aaron Schulz):
Add missing array_keys() call to scaleLoads()

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

aaron added a subscriber: zeljkofilipin.

Change 313992 had a related patch set uploaded (by Aaron Schulz):
Add missing array_keys() call to scaleLoads()

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

I can repo by changing my local master/slave/slave values to weights 0,11,11 instead of 0,1,1.

Change 313992 merged by jenkins-bot:
Add missing array_keys() call to scaleLoads()

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

Krenair closed this task as Resolved.Oct 4 2016, 2:34 PM
Krenair assigned this task to aaron.