# Problem with join additional nodes to dockerized cluster elasticsearch 6.6.2 + xpack

**URL:** <https://discuss.elastic.co/t/problem-with-join-additional-nodes-to-dockerized-cluster-elasticsearch-6-6-2-xpack/200664>\
**Category:** Elasticsearch\
**Created:** [September 23, 2019, 10:14am UTC](https://discuss.elastic.co/t/problem-with-join-additional-nodes-to-dockerized-cluster-elasticsearch-6-6-2-xpack/200664 "2019-09-23T10:14:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amilek](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@amilek](https://discuss.elastic.co/u/amilek)\
**Post date:** [September 23, 2019, 10:14am UTC](https://discuss.elastic.co/t/problem-with-join-additional-nodes-to-dockerized-cluster-elasticsearch-6-6-2-xpack/200664/1 "2019-09-23T10:14:52Z")

</div>

Hello, everybody!

I try to deploy this configuration:  
ES 6.6.2 on several docker hosts, 3 nodes.  
Two nodes are master-eligible and one node is "data only".  
XPACK enabled (basic license).  
Inter node communication is encrypted by "p12" certificate with "xpack.security.transport.ssl.verification\_mode=certificate". Actually, I generated one common "p12" certificate for all nodes

docker host1 .env: [https://pastebin.com/CEXSMJD0](https://pastebin.com/CEXSMJD0)

docker host2 .env: [https://pastebin.com/wWvcJ7xn](https://pastebin.com/wWvcJ7xn)

docker host3 .env: [https://pastebin.com/NYKcLSTp](https://pastebin.com/NYKcLSTp)

docker-compose.yml: [https://pastebin.com/yuGkcmDe](https://pastebin.com/yuGkcmDe)

When I run host1's docker-compose and host2's docker-compose - cluster "es2" up an running "green", with "elastic2" as "master" node.

Next step I trying to add additional node "elastic3" as "data only" node.  
On master node "elastic2" I can see in logs: [https://pastebin.com/mFm1vuDx](https://pastebin.com/mFm1vuDx)  
On other master eligible node "elastic1" I can see in logs: [https://pastebin.com/YG87rmyd](https://pastebin.com/YG87rmyd)

The problem also occured on dockerized ES version 6.7.2. (done it just for test)

If I change "DISCOVERY\_ZEN\_MINIMUM\_MASTER\_NODES" to "3" and "NODE\_MASTER" to "true" (on host3's .env file)- cluster up and running "green" with 3 nodes. (I don't like this choice because if only one node fall down - cluster cannot elect "master node")

If I will change option "xpack.security.enabled" to "false" in all docker-compose.yml files across all nodes - cluster up and running "green" with 3 nodes. (I don't like this choice because I need some security options from xpack)

If I upgrade version of ES to 6.8.3 (just change version in all docker-compose.yml files) - cluster up and running "green" with 3 nodes. (I cannot use version upper than 6.6.2 because of some breaking changes in perl ES module.)

I am running out of ideas, please help.

With best regards,  
Amil.

---

<div class="post-metadata">

**Author:** ![amilek](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@amilek](https://discuss.elastic.co/u/amilek)\
**Post date:** [September 25, 2019, 6:02pm UTC](https://discuss.elastic.co/t/problem-with-join-additional-nodes-to-dockerized-cluster-elasticsearch-6-6-2-xpack/200664/2 "2019-09-25T18:02:56Z")

</div>

I will ask to myself:

prior to version 6.8.0 the "security" features of "xpack" was NOT free with "basic" license.  
Enabling security features of "xpack" in 6.6.2 version leads to such strange errors:  
zen-disco-node-failed on "master" node;  
o.e.c.s.ClusterApplierService removed on "master" node;  
and  
general node connection failure on "master eligible" node.

proof: [https://www.elastic.co/blog/security-for-elasticsearch-is-now-free](https://www.elastic.co/blog/security-for-elasticsearch-is-now-free)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 23, 2019, 6:03pm UTC](https://discuss.elastic.co/t/problem-with-join-additional-nodes-to-dockerized-cluster-elasticsearch-6-6-2-xpack/200664/3 "2019-10-23T18:03:00Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
