Staging instance, all changes can be removed at any time

Skip to content

elk: upgrade elasticsearch and kibana nodes

This diff must be applied node per node to avoid a downtime

  • each esnode one by one (with shard allocation management)
  • kibana

The xpack.security.enabled property is set to false to avoid a recurring alert popup in grafana.

Related to T3705

Test Plan

  • esnode1:
diff origin/production/esnode1.internal.softwareheritage.org current/esnode1.internal.softwareheritage.org
*******************************************
  Apt::Pin[elasticsearch] =>
   parameters =>
     version =>
      - 7.8.0
      + 7.15.1
*******************************************
  Apt::Setting[pref-elasticsearch] =>
   parameters =>
     content =>
      @@ -2,4 +2,4 @@
       Explanation: profile: elasticsearch
       Package: elasticsearch elasticsearch-oss
      -Pin: version 7.8.0
      +Pin: version 7.15.1
       Pin-Priority: 1001
*******************************************
  Archive[prometheus-elasticsearch-exporter] =>
   parameters =>
     path =>
      - /tmp/prometheus-exporter-7.8.0.0.zip
      + /tmp/prometheus-exporter-7.15.1.0.zip
     source =>
      - https://github.com/vvanholl/elasticsearch-prometheus-exporter/releases/download/7.8.0.0/prometheus-exporter-7.8.0.0.zip
      + https://github.com/vvanholl/elasticsearch-prometheus-exporter/releases/download/7.15.1.0/prometheus-exporter-7.15.1.0.zip
*******************************************
  File[/etc/apt/preferences.d/elasticsearch.pref] =>
   parameters =>
     content =>
      @@ -2,4 +2,4 @@
       Explanation: profile: elasticsearch
       Package: elasticsearch elasticsearch-oss
      -Pin: version 7.8.0
      +Pin: version 7.15.1
       Pin-Priority: 1001
*******************************************
  File[/etc/elasticsearch/elasticsearch.yml] =>
   parameters =>
     content =>
      @@ -16,3 +16,4 @@
       indices.memory.index_buffer_size: 50%
       index.store.type: hybridfs
      +xpack.security.enabled: false
       network.host: 192.168.100.61
*******************************************
  Package[elasticsearch] =>
   parameters =>
     ensure =>
      - 7.8.0
      + 7.15.1
*******************************************
*** End octocatalog-diff on esnode1.internal.softwareheritage.org
  • kibana0:
diff origin/production/kibana0.internal.softwareheritage.org current/kibana0.internal.softwareheritage.org
*******************************************
  Apt::Pin[kibana] =>
   parameters =>
     version =>
      - 7.8.0
      + 7.15.1
*******************************************
  Apt::Setting[pref-kibana] =>
   parameters =>
     content =>
      @@ -2,4 +2,4 @@
       Explanation: profile: kibana
       Package: kibana
      -Pin: version 7.8.0
      +Pin: version 7.15.1
       Pin-Priority: 1001
*******************************************
  File[/etc/apt/preferences.d/kibana.pref] =>
   parameters =>
     content =>
      @@ -2,4 +2,4 @@
       Explanation: profile: kibana
       Package: kibana
      -Pin: version 7.8.0
      +Pin: version 7.15.1
       Pin-Priority: 1001
*******************************************
  Package[kibana] =>
   parameters =>
     ensure =>
      - 7.8.0
      + 7.15.1
*******************************************
*** End octocatalog-diff on kibana0.internal.softwareheritage.org
  • search-esnode4:
*** Running octocatalog-diff on host search-esnode4.internal.softwareheritage.org
I, [2021-11-10T12:23:41.009874 #2835]  INFO -- : Catalogs compiled for search-esnode4.internal.softwareheritage.org
I, [2021-11-10T12:23:41.266430 #2835]  INFO -- : Diffs computed for search-esnode4.internal.softwareheritage.org
I, [2021-11-10T12:23:41.266470 #2835]  INFO -- : No differences
*** End octocatalog-diff on search-esnode4.internal.softwareheritage.org

Migrated from D6634 (view on Phabricator)

Merge request reports

Loading