Page MenuHomePhabricator

InvalidArgumentException: Default TTM service eqiad cannot be write only
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   InvalidArgumentException: Default TTM service eqiad cannot be write only
FrameLocationCall
from/srv/mediawiki/php-1.44.0-wmf.22/extensions/Translate/src/TtmServer/TtmServerFactory.php(98)
#0/srv/mediawiki/php-1.44.0-wmf.22/extensions/Translate/src/HookHandler.php(640)MediaWiki\Extension\Translate\TtmServer\TtmServerFactory->getDefaultForQuerying()
#1/srv/mediawiki/php-1.44.0-wmf.22/includes/HookContainer/HookContainer.php(155)MediaWiki\Extension\Translate\HookHandler::searchProfileForm(MediaWiki\Specials\SpecialSearch, string, string, string, array)
#2/srv/mediawiki/php-1.44.0-wmf.22/includes/HookContainer/HookRunner.php(3901)MediaWiki\HookContainer\HookContainer->run(string, array)
#3/srv/mediawiki/php-1.44.0-wmf.22/includes/search/searchwidgets/SearchFormWidget.php(265)MediaWiki\HookContainer\HookRunner->onSpecialSearchProfileForm(MediaWiki\Specials\SpecialSearch, string, string, string, array)
#4/srv/mediawiki/php-1.44.0-wmf.22/includes/search/searchwidgets/SearchFormWidget.php(101)MediaWiki\Search\SearchWidgets\SearchFormWidget->optionsHtml(string, bool, string)
#5/srv/mediawiki/php-1.44.0-wmf.22/includes/specials/SpecialSearch.php(466)MediaWiki\Search\SearchWidgets\SearchFormWidget->render(string, string, int, int, bool, int, bool, array)
#6/srv/mediawiki/php-1.44.0-wmf.22/includes/specials/SpecialSearch.php(237)MediaWiki\Specials\SpecialSearch->showResults(string)
#7/srv/mediawiki/php-1.44.0-wmf.22/includes/specialpage/SpecialPage.php(729)MediaWiki\Specials\SpecialSearch->execute(null)
#8/srv/mediawiki/php-1.44.0-wmf.22/includes/specialpage/SpecialPageFactory.php(1737)MediaWiki\SpecialPage\SpecialPage->run(null)
#9/srv/mediawiki/php-1.44.0-wmf.22/includes/actions/ActionEntryPoint.php(499)MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, MediaWiki\Context\RequestContext)
#10/srv/mediawiki/php-1.44.0-wmf.22/includes/actions/ActionEntryPoint.php(143)MediaWiki\Actions\ActionEntryPoint->performRequest()
#11/srv/mediawiki/php-1.44.0-wmf.22/includes/MediaWikiEntryPoint.php(202)MediaWiki\Actions\ActionEntryPoint->execute()
#12/srv/mediawiki/php-1.44.0-wmf.22/index.php(58)MediaWiki\MediaWikiEntryPoint->run()
#13/srv/mediawiki/w/index.php(3)require(string)
#14{main}
Notes
  • Started at 15:30 on 2025-03-27
  • happening at a high rate now, mostly on commons
  • Seems like this might be operational, retag to SREs if that's true, please!

Details

Request URL
https://www.wikidata.org/w/index.php?fulltext=*&ns0=*&ns120=*&profile=*&search=*&title=*
Related Changes in Gerrit:

Event Timeline

Change #1132423 had a related patch set uploaded (by DCausse; author: DCausse):

[operations/mediawiki-config@master] Translate: fix elasticsearch cluster setup

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

Change #1132423 merged by jenkins-bot:

[operations/mediawiki-config@master] Translate: fix elasticsearch cluster setup

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

Mentioned in SAL (#wikimedia-operations) [2025-03-31T07:32:25Z] <dcausse@deploy1003> Started scap sync-world: Backport for [[gerrit:1132423|Translate: fix elasticsearch cluster setup (T390244)]]

Mentioned in SAL (#wikimedia-operations) [2025-03-31T07:50:53Z] <dcausse@deploy1003> Started scap sync-world: Backport for [[gerrit:1132423|Translate: fix elasticsearch cluster setup (T390244)]]

Mentioned in SAL (#wikimedia-operations) [2025-03-31T08:38:26Z] <dcausse@deploy1003> Started scap sync-world: Backport for [[gerrit:1132423|Translate: fix elasticsearch cluster setup (T390244)]]

Mentioned in SAL (#wikimedia-operations) [2025-03-31T09:15:00Z] <dcausse@deploy1003> Started scap sync-world: Backport for [[gerrit:1132423|Translate: fix elasticsearch cluster setup (T390244)]]

Mentioned in SAL (#wikimedia-operations) [2025-03-31T10:05:17Z] <dcausse@deploy1003> Started scap sync-world: Backport for [[gerrit:1132423|Translate: fix elasticsearch cluster setup (T390244)]]

Mentioned in SAL (#wikimedia-operations) [2025-03-31T12:12:18Z] <dcausse@deploy1003> Started scap sync-world: Backport for [[gerrit:1132423|Translate: fix elasticsearch cluster setup (T390244)]]

Mentioned in SAL (#wikimedia-operations) [2025-03-31T12:16:36Z] <dcausse@deploy1003> dcausse: Backport for [[gerrit:1132423|Translate: fix elasticsearch cluster setup (T390244)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2025-03-31T12:28:16Z] <dcausse@deploy1003> Finished scap sync-world: Backport for [[gerrit:1132423|Translate: fix elasticsearch cluster setup (T390244)]] (duration: 15m 57s)

dcausse claimed this task.
dcausse moved this task from Incoming to Done on the Discovery-Search (2025.03.22 - 2025.04.11) board.
dcausse subscribed.

When shifting search traffic to eqiad we introduced an invalid config for TTM, adjusting mw-config solved the issue and restored TTM search functionalities.