# Voting Only Node

**URL:** <https://discuss.elastic.co/t/voting-only-node/196883>\
**Category:** Elasticsearch\
**Created:** [August 27, 2019, 6:34am UTC](https://discuss.elastic.co/t/voting-only-node/196883 "2019-08-27T06:34:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prafull](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prafull/32/56422_2.png) [@Prafull](https://discuss.elastic.co/u/Prafull)\
**Post date:** [August 27, 2019, 6:34am UTC](https://discuss.elastic.co/t/voting-only-node/196883/1 "2019-08-27T06:34:09Z")

</div>

Hi,  
I am trying to create voting only node along with 2 master eligible node via docker. I am able to create master node but not able to create a voting only node. getting below error. Also, find docker-compose.yml below-

**docker-compose.yml**  
version: '2.2'  
services:  
es01:  
image: [docker.elastic.co/elasticsearch/elasticsearch:7.0.0](http://docker.elastic.co/elasticsearch/elasticsearch:7.0.0)  
container\_name: es01  
environment:  
- node.name=es01  
- node.master=true  
- xpack.monitoring.enabled=false  
- node.data=false  
- discovery.seed\_hosts=es02  
- cluster.initial\_master\_nodes=es01,es02  
- cluster.name=docker-cluster  
- bootstrap.memory\_lock=true  
- "ES\_JAVA\_OPTS=-Xms512m -Xmx512m"  
ulimits:  
memlock:  
soft: -1  
hard: -1  
volumes:  
- esdata01:/usr/share/elasticsearch/data  
ports:  
- 9200:9200  
networks:  
- esnet

es02:  
image: [docker.elastic.co/elasticsearch/elasticsearch:7.0.0](http://docker.elastic.co/elasticsearch/elasticsearch:7.0.0)  
container\_name: es02  
environment:  
- node.name=es02  
- xpack.monitoring.enabled=false  
- node.master=true  
- node.data=false  
- discovery.seed\_hosts=es01  
- cluster.initial\_master\_nodes=es01,es02  
- cluster.name=docker-cluster  
- bootstrap.memory\_lock=true  
- "ES\_JAVA\_OPTS=-Xms512m -Xmx512m"  
ulimits:  
memlock:  
soft: -1  
hard: -1  
volumes:  
- esdata02:/usr/share/elasticsearch/data  
networks:  
- esnet

es03:  
image: [docker.elastic.co/elasticsearch/elasticsearch:7.0.0](http://docker.elastic.co/elasticsearch/elasticsearch:7.0.0)  
container\_name: es03  
environment:  
- node.name=es03  
- node.master=false  
- xpack.monitoring.enabled=true  
- node.voting\_only=true  
- node.data=false  
- node.ingest=false  
- node.ml=false  
- xpack.ml.enabled=false  
- cluster.remote.connect=false  
- discovery.seed\_hosts=es01  
- cluster.initial\_master\_nodes=es01,es02  
- cluster.name=docker-cluster  
- bootstrap.memory\_lock=true  
- "ES\_JAVA\_OPTS=-Xms512m -Xmx512m"  
ulimits:  
memlock:  
soft: -1  
hard: -1  
volumes:  
- esdata03:/usr/share/elasticsearch/data  
networks:  
- esnet

volumes:  
esdata01:  
driver: local  
esdata02:  
driver: local  
esdata03:  
driver: local

networks:  
esnet:  
driver: bridge

**Error**

{"type": "server", "timestamp": "2019-08-27T06:24:24,562+0000", "level": "WARN", "component": "o.e.b.ElasticsearchUncaughtExceptionHandler", "cluster.name": "docker-cluster", "node.name": "es03", "message": "uncaught exception in thread [main]" ,  
es03 | "stacktrace": ["org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: unknown setting [node.voting\_only] please check that any required plugins are installed, or check the breaking changes documentation for removed settings",  
es03 | "at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:163) ~[elasticsearch-7.0.0.jar:7.0.0]",  
es03 | "at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) ~[elasticsearch-7.0.0.jar:7.0.0]",  
es03 | "at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-7.0.0.jar:7.0.0]",  
es03 | "at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-7.0.0.jar:7.0.0]",  
es03 | "at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-7.0.0.jar:7.0.0]",  
es03 | "at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:115) ~[elasticsearch-7.0.0.jar:7.0.0]",  
es03 | "at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-7.0.0.jar:7.0.0]",  
es03 | "Caused by: java.lang.IllegalArgumentException: unknown setting [node.voting\_only] please check that any required plugins are installed, or check the breaking changes documentation for removed settings",  
es03 | "at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:531) ~[elasticsearch-7.0.0.jar:7.0.0]",  
es03 | "at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:476) ~[elasticsearch-7.0.0.jar:7.0.0]",  
es03 | "at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:447) ~[elasticsearch-7.0.0.jar:7.0.0]",  
es03 | "at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:418) ~[elasticsearch-7.0.0.jar:7.0.0]",  
es03 | "at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:148) ~[elasticsearch-7.0.0.jar:7.0.0]",  
es03 | "at org.elasticsearch.node.Node.(Node.java:341) ~[elasticsearch-7.0.0.jar:7.0.0]",  
es03 | "at org.elasticsearch.node.Node.(Node.java:251) ~[elasticsearch-7.0.0.jar:7.0.0]",  
es03 | "at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:211) ~[elasticsearch-7.0.0.jar:7.0.0]",  
es03 | "at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:211) ~[elasticsearch-7.0.0.jar:7.0.0]",  
es03 | "at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:325) ~[elasticsearch-7.0.0.jar:7.0.0]",  
es03 | "at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) ~[elasticsearch-7.0.0.jar:7.0.0]",  
es03 | "... 6 more"] }

---

<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 27, 2019, 6:57am UTC](https://discuss.elastic.co/t/voting-only-node/196883/2 "2019-08-27T06:57:43Z")

</div>

Voting only nodes were added in 7.3.0, but you are using 7.0.0.

---

<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 24, 2019, 6:57am UTC](https://discuss.elastic.co/t/voting-only-node/196883/3 "2019-09-24T06:57:56Z")

</div>

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