Elasticsearch 5.4.0 fails to cluster on ec2 and cloud.aws.region deprecation WARN

Environment:

  • es 5.4.0 on docker
  • aws ec2 cluster

==

Hi all,

I am trying to deploy a new cluser of es 5.4.0 on aws.
I am using the same tf code and a similar docker image (I needed to change some minor details due to the centos migration) but the clauster fails to form.
To be precise I can see the following WARN:

[2017-05-05T13:10:32,470][WARN ][o.e.d.c.s.Setting ] [cloud.aws.region] setting was deprecated in Elasticsearch and will be removed in a future release! See the breaking changes documentation for the next major version.

And after:

[2017-05-05T13:10:32,473][INFO ][o.e.d.DiscoveryModule ] [xxx.ec2.internal] using discovery type [zen]

I looked again at the the docs but I didn't find anything regarding cloud.aws.region deprecation.
Not in this version:
https://www.elastic.co/guide/en/elasticsearch/plugins/5.4/discovery-ec2-discovery.html
or the next
https://www.elastic.co/guide/en/elasticsearch/plugins/5.x/discovery-ec2-discovery.html

Anybody saw this error or has any idea on what is causing it?

Regards,
F.

You can find the changes that you're looking for here.

2 Likes

I agree that it's not super easy to find even though it's stated See the breaking changes documentation for the next major version..

I believe that we should stop documenting the region field from 5.4 docs. I note that we are still documenting region in our master docs. https://www.elastic.co/guide/en/elasticsearch/plugins/current/repository-s3-repository.html

But I know that @rjernst wants to clean that documentation after all the changes are made.

1 Like

Thanks @jasontedor and @dadoonet.
Sorry I missed that.
I think updating the main ec2 plugin page will solve most of the problems :slight_smile:

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