Page MenuHomePhabricator

Build new wmf-opensearch-search-plugins package for opensearch 2.x/trixie and ensure we don't install/enable any unwanted plugins in prod
Closed, ResolvedPublic

Description

The current wmf-opensearch-search-plugins supplies a file that's already owned by the upstream OpenSearch package:

dpkg: error processing archive /var/cache/apt/archives/wmf-opensearch-search-plugins_2.19.5+3~bullseye_all.deb (--unpack):
 trying to overwrite '/usr/share/opensearch/plugins/opensearch-knn/LICENSE.txt', which is also in package opensearch (2.19.5)
Errors were encountered while processing:
 /var/cache/apt/archives/wmf-opensearch-search-plugins_2.19.5+3~bullseye_all.deb

Creating this ticket to:

  • Ensure we don't enable any unwanted plugins from the upstream opensearch package in production (see this blubberfile for an example of how we do this in our Docker image)
  • Determine a fix (remove the file from the package? Change its path)?
  • Build a new version of the plugin
  • Apply the new version of the plugin

Event Timeline

bking triaged this task as Medium priority.
bking renamed this task from Build new opensearch-plugins package for opensearch 2.x/trixie to Build new wmf-opensearch-search-plugins package for opensearch 2.x/trixie.Apr 14 2026, 2:45 PM
bking updated the task description. (Show Details)
bking renamed this task from Build new wmf-opensearch-search-plugins package for opensearch 2.x/trixie to Build new wmf-opensearch-search-plugins package for opensearch 2.x/trixie and ensure we don't install/enable any unwanted plugins in prod.Apr 14 2026, 4:29 PM
bking updated the task description. (Show Details)
bking updated the task description. (Show Details)
bking changed the task status from Duplicate to Resolved.Apr 15 2026, 3:13 PM

Closing in favor of T423327