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

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?

Are all 4 master eligible?

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