Page MenuHomePhabricator

Failed executing job: cirrusSearchElasticaWrite [...]
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error

MediaWiki version: 1.35.0-alpha

message
Failed executing job: cirrusSearchElasticaWrite Special: method=sendData arguments=["content","array(...)"] serialized=1 cluster=default doNotRetry= createdAt=1573062797 errorCount=4 retryCount=0 requestId=XcMIiawQAI0AABM@mE0AAAAW jobReleaseTimestamp=1573063053

Impact

https://kibana4.wmflabs.org/goto/b6642e8841413ab55d8f53973d6ed66c

Notes

Event Timeline

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

For whatever reason beta cluster isn't logging any of the CirrusSearch channels that production does, so there is no information about what actually went wrong. Will need to fix beta cluster logging first.

EBernhardson triaged this task as High priority.
EBernhardson moved this task from needs triage to Current work on the Discovery-Search board.

Change 552332 had a related patch set uploaded (by EBernhardson; owner: EBernhardson):
[operations/mediawiki-config@master] Enable CirrusSearch log channel on beta cluster

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

Change 552332 merged by jenkins-bot:
[operations/mediawiki-config@master] Enable CirrusSearch log channel on beta cluster

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

The error message is: Couldn't connect to host, Elasticsearch down?

This looks to be because there are two clusters defined, default and eqiad. There should only be one, and only one is defined in InitialiseSettings.php. Checked prod and it also has the spurious default cluster. No error occurs on production because $wgCirrusSearchWriteClusters is set to specific clusters, as opposed to beta which sets it to null which accepts all defined clusters.

Likely this is some problem with the extension.json transition that wasn't noticed till now. It should not be adding extra servers into the list.

Change 552352 had a related patch set uploaded (by EBernhardson; owner: EBernhardson):
[operations/mediawiki-config@master] [cirrus] Explicitly choose the search clusters to write to in beta cluster

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

Change 552352 merged by jenkins-bot:
[operations/mediawiki-config@master] [cirrus] Explicitly choose the search clusters to write to in beta cluster

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