# ES v. 5.6.3 in AWS ECS - not enough master nodes discovered during pinging

**URL:** <https://discuss.elastic.co/t/es-v-5-6-3-in-aws-ecs-not-enough-master-nodes-discovered-during-pinging/105490>\
**Category:** Elasticsearch\
**Created:** [October 26, 2017, 11:27pm UTC](https://discuss.elastic.co/t/es-v-5-6-3-in-aws-ecs-not-enough-master-nodes-discovered-during-pinging/105490 "2017-10-26T23:27:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oleg1](https://avatars.discourse-cdn.com/v4/letter/o/c57346/32.png) [@oleg1](https://discuss.elastic.co/u/oleg1)\
**Post date:** [October 26, 2017, 11:27pm UTC](https://discuss.elastic.co/t/es-v-5-6-3-in-aws-ecs-not-enough-master-nodes-discovered-during-pinging/105490/1 "2017-10-26T23:27:46Z")

</div>

Hi,

I'm trying to setup a ES v5.6.3 cluster in AWS ECS, and having an issue w/ EC2 discovery.  
4 nodes in total, us-east-1 region, 2 in us-east-1a & 2 in us-east-1b

Here is my config:

```
cluster:
  name: ${CLUSTER_NAME}
  routing:
    allocation:
      awareness:
        attributes: aws_availability_zone

network:
  host: _ethwe:ipv4_
  publish_host: _ethwe:ipv4_
  bind_host: _ethwe:ipv4_

cloud:
  aws:
    region: ${AWS_REGION}
  node:
    auto_attributes: true

discovery:
  zen:
    hosts_provider: ec2
    minimum_master_nodes: 3
  ec2:
    any_group: false
    host_type: tag:ProductComponents
    tag:
      ProductComponents: ${PRODUCT_COMPONENTS}

```

A here is error message:  
`[2017-10-26T23:26:51,958][WARN][o.e.d.z.ZenDiscovery] [] not enough master nodes discovered during pinging (found [[Candidate{node={xxx}{10.0.0.185}{10.0.0.185:9300}{aws_availability_zone=us-east-1a}, clusterStateVersion=-1}]], but needed [3]), pinging again`

Any ideas?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 27, 2017, 9:07am UTC](https://discuss.elastic.co/t/es-v-5-6-3-in-aws-ecs-not-enough-master-nodes-discovered-during-pinging/105490/2 "2017-10-27T09:07:34Z")

</div>

Are all 4 master eligible?

---

<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:** [November 24, 2017, 9:07am UTC](https://discuss.elastic.co/t/es-v-5-6-3-in-aws-ecs-not-enough-master-nodes-discovered-during-pinging/105490/3 "2017-11-24T09:07:46Z")

</div>

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