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

Krenair triaged this task as Unbreak Now! priority.Oct 3 2016, 11:50 PM
Krenair subscribed.

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

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)

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 assigned this task to aaron.