Bug 25684 - ElasticSearch 7 start crash: at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
Summary: ElasticSearch 7 start crash: at least one of [discovery.seed_hosts, discovery...
Status: RESOLVED MOVED
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Elasticsearch (show other bugs)
Version: Main
Hardware: All All
: P5 - low critical (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 25439
  Show dependency treegraph
 
Reported: 2020-06-06 03:19 UTC by Victor Grousset/tuxayo
Modified: 2022-03-23 09:35 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 25684: ElasticSearch 7 start crash: at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured (1.11 KB, patch)
2022-02-08 14:42 UTC, Kevin Carnes
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Grousset/tuxayo 2020-06-06 03:19:24 UTC
I just started koha-testing-docker with ES7 (ran ku-es7)
Comment 1 Victor Grousset/tuxayo 2020-06-06 03:23:26 UTC
Odd, ES6 doesn't do a deprecation warning about this. I though it worked like that so there would never be a bad surprise when upgrading to a major version.
Comment 2 Kevin Carnes 2021-06-22 09:03:52 UTC
Adding "- discovery.type=single-node" under environment in docker-compose.es7.yml fixed the problem for me.
Comment 3 Kevin Carnes 2022-02-08 14:42:14 UTC
Created attachment 130289 [details] [review]
Bug 25684: ElasticSearch 7 start crash: at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured

With Elasticsearch 7 it is necessary to specify if using a single node

To test:
1) run ku-es7
2) Observe that Elasticsearch stops with an error
3) Apply patch
4) run ku-es7
5) Observe that Elasticsearch starts successfully
6) Sign off

Sponsored-by: Lund University Library
Comment 4 Victor Grousset/tuxayo 2022-02-18 10:24:29 UTC
Great so it's not a Koha problem!

It's about koha-testing-docker, the repository is there: https://gitlab.com/koha-community/koha-testing-docker

So the patch must be submitted there
Comment 5 Victor Grousset/tuxayo 2022-02-18 12:34:09 UTC
Confirmed to be working :)
Comment 6 Victor Grousset/tuxayo 2022-03-19 03:16:52 UTC
https://gitlab.com/koha-community/koha-testing-docker/-/issues/292
Comment 7 Jonathan Druart 2022-03-23 09:35:16 UTC
Patch moved to https://gitlab.com/koha-community/koha-testing-docker/-/merge_requests/291