# Setting up Cross Cluster Search in YML Causes Errors

**URL:** <https://discuss.elastic.co/t/setting-up-cross-cluster-search-in-yml-causes-errors/90177>\
**Category:** Elasticsearch\
**Created:** [June 21, 2017, 12:40am UTC](https://discuss.elastic.co/t/setting-up-cross-cluster-search-in-yml-causes-errors/90177 "2017-06-21T00:40:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![seanlaff](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@seanlaff](https://discuss.elastic.co/u/seanlaff)\
**Post date:** [June 21, 2017, 12:40am UTC](https://discuss.elastic.co/t/setting-up-cross-cluster-search-in-yml-causes-errors/90177/1 "2017-06-21T00:40:42Z")

</div>

I'm trying to setup cross cluster search via the example given in the documentation- however when I try to spin up elasticsearch it spits out a error

```
java.lang.IllegalArgumentException: unknown setting [search.remote.cluster_one.seeds] please check that any required plugins are installed, or check the breaking changes documentation for removed settings

```

I'm using Ansible to pass the search.remote parameters. I've tried various ways to specify the remote hosts in the yml, but none have worked. Any insight would be appreciated.

Here's whats in the Ansible file  
[cluster.name](http://cluster.name): "EScluster",  
search: {  
remote: {  
cluster\_one: {  
seeds: "centos009"  
}  
}  
},

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [June 21, 2017, 6:25am UTC](https://discuss.elastic.co/t/setting-up-cross-cluster-search-in-yml-causes-errors/90177/2 "2017-06-21T06:25:58Z")

</div>

Which version of Elasticsearch are you using? What does the generated elasticsearch.yml file look like?

---

<div class="post-metadata">

**Author:** ![seanlaff](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@seanlaff](https://discuss.elastic.co/u/seanlaff)\
**Post date:** [June 21, 2017, 11:43am UTC](https://discuss.elastic.co/t/setting-up-cross-cluster-search-in-yml-causes-errors/90177/3 "2017-06-21T11:43:50Z")

</div>

I've resolved the issue. I saw the 'major\_version: 5.x' parameter in the elasticsearch ansible role and assumed it was pulling the latest stable version- however the default config has it hardcoded to 5.2.2.

Bumping to 5.4.2 did the trick.

> <https://github.com/elastic/ansible-elasticsearch/blob/master/defaults/main.yml>

---

<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:** [July 19, 2017, 11:44am UTC](https://discuss.elastic.co/t/setting-up-cross-cluster-search-in-yml-causes-errors/90177/4 "2017-07-19T11:44:07Z")

</div>

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