# Cluster not forming multi-master eligible. Each forming 1 node cluster with itself as master

**URL:** <https://discuss.elastic.co/t/cluster-not-forming-multi-master-eligible-each-forming-1-node-cluster-with-itself-as-master/243926>\
**Category:** Elasticsearch\
**Created:** [August 5, 2020, 8:00pm UTC](https://discuss.elastic.co/t/cluster-not-forming-multi-master-eligible-each-forming-1-node-cluster-with-itself-as-master/243926 "2020-08-05T20:00:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![randomuser10](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@randomuser10](https://discuss.elastic.co/u/randomuser10)\
**Post date:** [August 5, 2020, 8:00pm UTC](https://discuss.elastic.co/t/cluster-not-forming-multi-master-eligible-each-forming-1-node-cluster-with-itself-as-master/243926/1 "2020-08-05T20:00:03Z")

</div>

I have three nodes setup running oss-7.8.1 on CentOS 7 with SELinux Disabled

I'm just trying to do a very basic initial setup as this is my first time playing with it. I have been reading different walkthroughs as well as documentation and am not sure what I'm missing.

I setup 3 nodes identically with puppet and made them so they could each be master eligible. When the services start I curl the API to see the cluster status and they each only show 1 node in the cluster with themselves as the master.

Here is my config... The servers use DNS & I've tested resolution of the host names. I've changed he hostnames for purpose of sharing online.

```auto
### MANAGED BY PUPPET ###
---
cluster.initial_master_nodes:
- elastic-host01
- elastic-host02
- elastic-host03
cluster.name: elasticsearch-development
discovery.seed_hosts:
- elastic-host01
- elastic-host02
- elastic-host03
network.host: 0.0.0.0
node.master: true
node.data: true
node.name: elastic-host01-elastic-host01
path.data: "/var/lib/elasticsearch/elastic-host01"
path.logs: "/var/log/elasticsearch/elastic-host01"`

```

Same config on each host

Here is curl output from one of my hosts

```auto
curl -XGET 'http://localhost:9200/_cluster/state?pretty'
{
  "cluster_name" : "elasticsearch-development",
  "cluster_uuid" : "TNNUNFFZQfaFNqbMjyJw2g",
  "version" : 21,
  "state_uuid" : "xuOwF_C9Rk6zolv965arww",
  "master_node" : "1K7aq5XdRf6-P30-Veo7Qg",
  "blocks" : { },
  "nodes" : {
    "1K7aq5XdRf6-P30-Veo7Qg" : {
      "name" : "elastic-host01-elastic-host01",
      "ephemeral_id" : "KoWtPrFYR2iwCRGzgz8ruw",
      "transport_address" : "192.168.5.130:9300",
      "attributes" : { }
    }
  },
  "metadata" : {
    "cluster_uuid" : "TNNUNFFZQfaFNqbMjyJw2g",
    "cluster_uuid_committed" : true,
    "cluster_coordination" : {
      "term" : 12,
      "last_committed_config" : [
        "1K7aq5XdRf6-P30-Veo7Qg"
      ],
      "last_accepted_config" : [
        "1K7aq5XdRf6-P30-Veo7Qg"
      ],
      "voting_config_exclusions" : []
    },
    "templates" : { },
    "indices" : { },
    "index-graveyard" : {
      "tombstones" : []
    }
  },
  "routing_table" : {
    "indices" : { }
  },
  "routing_nodes" : {
    "unassigned" : [],
    "nodes" : {
      "1K7aq5XdRf6-P30-Veo7Qg" : []
    }
  }
}

```

```auto
curl -XGET 'http://localhost:9200/_cat/nodes?'
196.158.5.130 9 81 0 0.00 0.01 0.05 dimr * elastic-host01-elastic-host01'

```

Any help would be greatly appreciated.. I feel it's really silly. Thank you!

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [August 6, 2020, 6:26am UTC](https://discuss.elastic.co/t/cluster-not-forming-multi-master-eligible-each-forming-1-node-cluster-with-itself-as-master/243926/2 "2020-08-06T06:26:34Z")

</div>

You must have some data in your nodes' data paths from a previous config in which they were the only node. Wipe the data path and you should be good to go. Possibly [this note in the docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-bootstrap-cluster.html#modules-discovery-bootstrap-cluster-joining) is what you're looking for.

BTW don't put your logs in your data path.

---

<div class="post-metadata">

**Author:** ![randomuser10](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@randomuser10](https://discuss.elastic.co/u/randomuser10)\
**Post date:** [August 6, 2020, 2:45pm UTC](https://discuss.elastic.co/t/cluster-not-forming-multi-master-eligible-each-forming-1-node-cluster-with-itself-as-master/243926/3 "2020-08-06T14:45:07Z")

</div>

Thank you for that info! I will try that out in a moment. I must have read through that page 50 times. I don't know how I missed the line I needed. Thanks again and I'll comment back if it solves my issue.

---

<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:** [September 3, 2020, 2:45pm UTC](https://discuss.elastic.co/t/cluster-not-forming-multi-master-eligible-each-forming-1-node-cluster-with-itself-as-master/243926/4 "2020-09-03T14:45:08Z")

</div>

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