Closed dr0i closed 3 years ago
After rebooting weywot4 lobid's services were not working beacuse the elasticsearch cluster were not reachable, despite the fact that everything is configured redundantly with 3 nodes and enough shards. From /var/log/elasticsearch/weywot.log:
not enough master nodes discovered during pinging
The cause seems to be a misconfiguration at weywot5:/etc/elasticsearch/elasticsearch.yml, where discovery.zen.minimum_master_nodes was set to 3 instead of 2 like at weywot3. See https://stackoverflow.com/questions/52269434/elasticsearch-error-not-enough-master-nodes-discovered-during-pinging-although.
weywot5:/etc/elasticsearch/elasticsearch.yml
discovery.zen.minimum_master_nodes
3
2
Set it to 2 and restarted. Running good now :) Closing.
After rebooting weywot4 lobid's services were not working beacuse the elasticsearch cluster were not reachable, despite the fact that everything is configured redundantly with 3 nodes and enough shards. From /var/log/elasticsearch/weywot.log:
The cause seems to be a misconfiguration at
weywot5:/etc/elasticsearch/elasticsearch.yml
, wherediscovery.zen.minimum_master_nodes
was set to3
instead of2
like at weywot3. See https://stackoverflow.com/questions/52269434/elasticsearch-error-not-enough-master-nodes-discovered-during-pinging-although.