Weirdly, still did not find a solution to a problem.
I'm creating a new cluster right now (v6.8.6). And all nodes only see themselves.
All of them set up to be master and have discovery.zen.minimum_master_nodes: 2 discovery.zen.ping.unicast.hosts contains all of their IP's as well. network.host and network.publish_host are set to their respective IP's.
In logs, I get "not enough master nodes discovered during pinging" with only 1 node listed (the one I'm listing logs on).
And in trace logs - "[o.e.d.z.UnicastZenPing ] [] [18] failed to ping" with other 2 nodes adresses.
Double checked - network connectivity is present, I can curl/telnet between them on both 9200 and 9300.
Neither SSL nor X-pack are used.
OS - Oracle Linux Server release 9.1, firewall and selinux disabled.
Tried OpenJRE 8 and Oracle JDK 17 - no difference.
Please share the elasticsearch.yml of all your nodes.
Also, any reason to start a new cluster with this specific old version? Elasticsearch 6.X already reached EOL and is not supported or maintained anymore.
I would absolutely prefer at least latest ES 7, but I'm currently moving data from another cluster and the frontend using it is not ready for the update yet.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.