Page MenuHomeSoftware Heritage

swh-search: Upgrade elasticsearch to 7.15.2
ClosedPublic

Authored by vsellier on Nov 24 2021, 11:53 AM.

Details

Summary

As for staging:

  • disable the geoip index
  • keep the explicit versions of ES / filebeat for later upgrades
  • remove decommissioned servers configuration

Related to T3741

Test Plan
diff origin/production/search-esnode4.internal.softwareheritage.org current/search-esnode4.internal.softwareheritage.org
*******************************************
  Apt::Pin[elasticsearch] =>
   parameters =>
     version =>
      - 7.9.3
      + 7.15.2
*******************************************
  Apt::Setting[pref-elasticsearch] =>
   parameters =>
     content =>
      @@ -2,4 +2,4 @@
       Explanation: profile: elasticsearch
       Package: elasticsearch elasticsearch-oss
      -Pin: version 7.9.3
      +Pin: version 7.15.2
       Pin-Priority: 1001
*******************************************
  Archive[prometheus-elasticsearch-exporter] =>
   parameters =>
     creates =>
      - /usr/share/elasticsearch/plugins/prometheus-exporter/prometheus-exporter-7.9.3.0.jar
      + /usr/share/elasticsearch/plugins/prometheus-exporter/prometheus-exporter-7.15.2.0.jar
     path =>
      - /tmp/prometheus-exporter-7.9.3.0.zip
      + /tmp/prometheus-exporter-7.15.2.0.zip
     source =>
      - https://github.com/vvanholl/elasticsearch-prometheus-exporter/releases/download/7.9.3.0/prometheus-exporter-7.9.3.0.zip
      + https://github.com/vvanholl/elasticsearch-prometheus-exporter/releases/download/7.15.2.0/prometheus-exporter-7.15.2.0.zip
*******************************************
  Exec[cleanup prometheus exporter plugin] =>
   parameters =>
     creates =>
      - /usr/share/elasticsearch/plugins/prometheus-exporter/prometheus-exporter-7.9.3.0.jar
      + /usr/share/elasticsearch/plugins/prometheus-exporter/prometheus-exporter-7.15.2.0.jar
*******************************************
  File[/etc/apt/preferences.d/elasticsearch.pref] =>
   parameters =>
     content =>
      @@ -2,4 +2,4 @@
       Explanation: profile: elasticsearch
       Package: elasticsearch elasticsearch-oss
      -Pin: version 7.9.3
      +Pin: version 7.15.2
       Pin-Priority: 1001
*******************************************
  File[/etc/elasticsearch/elasticsearch.yml] =>
   parameters =>
     content =>
      @@ -16,3 +16,4 @@
       indices.memory.index_buffer_size: 50%
       index.store.type: hybridfs
      +ingest.geoip.downloader.enabled: false
       network.host: 192.168.100.86
*******************************************
  Package[elasticsearch] =>
   parameters =>
     ensure =>
      - 7.9.3
      + 7.15.2
*******************************************
*** End octocatalog-diff on search-esnode4.internal.softwareheritage.org

Diff Detail

Repository
rSPSITE puppet-swh-site
Branch
staging
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 25164
Build 39316: arc lint + arc unit