Unknown setting [cluster.initial_master_nodes]

Hello,

Just updated 1 of my DV Elastic clusters to 6.7. Tried running the 7.0 Upgrade Assistant. The 7.0 Upgrade Assistant suggested I need to fix 'discovery configuration'

After looking into https://www.elastic.co/guide/en/elasticsearch/reference/7.0/breaking-changes-7.0.html#_discovery_configuration_is_required_in_production

I tried adding:

cluster.initial_master_nodes:
  - <mynodename>

in elasticsearch.yml

Result: elasticsearch no longer starting, error:

[2019-03-27T11:58:00,732][ERROR][o.e.b.Bootstrap          ] [<mynodename>] Exception
java.lang.IllegalArgumentException: unknown setting [cluster.initial_master_nodes] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
        at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:530) ~[elasticsearch-6.7.0.jar:6.7.0]
        at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:475) ~[elasticsearch-6.7.0.jar:6.7.0]
        at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:446) ~[elasticsearch-6.7.0.jar:6.7.0]
        at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:417) ~[elasticsearch-6.7.0.jar:6.7.0]
        at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:148) ~[elasticsearch-6.7.0.jar:6.7.0]
        at org.elasticsearch.node.Node.<init>(Node.java:374) ~[elasticsearch-6.7.0.jar:6.7.0]
        at org.elasticsearch.node.Node.<init>(Node.java:266) ~[elasticsearch-6.7.0.jar:6.7.0]
        at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:212) ~[elasticsearch-6.7.0.jar:6.7.0]
        at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:212) ~[elasticsearch-6.7.0.jar:6.7.0]
        at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) [elasticsearch-6.7.0.jar:6.7.0]
        at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) [elasticsearch-6.7.0.jar:6.7.0]
        at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) [elasticsearch-6.7.0.jar:6.7.0]
        at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) [elasticsearch-6.7.0.jar:6.7.0]
        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) [elasticsearch-cli-6.7.0.jar:6.7.0]
        at org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-cli-6.7.0.jar:6.7.0]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:116) [elasticsearch-6.7.0.jar:6.7.0]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93) [elasticsearch-6.7.0.jar:6.7.0]

So why would the upgrade assistant suggest to add an unknown setting?

Grtz

Willem

I see the confusion. The discovery settings have been moved around quite a bit in 7.0, and the three listed in the breaking changes documentation do not exist in 6.7.

You should be able to satisfy this item in the upgrade assistant by setting discovery.zen.ping.unicast.hosts.

I will update the documentation and see if we can clarify this in the upgrade assistant.

1 Like

I opened https://github.com/elastic/elasticsearch/pull/40528.

1 Like

@willemdh the docs are updated. Thank you for reporting this.

1 Like

@DavidTurner Np, while we are at, another thing I noticed is that the 'Done' button stays greyed out after completing some upgrade reindex tasks, check this screenshot. The mouse pointer becomes a red forbidden pointer.

When I click close, the task seems to have executed successfully, so it's just a gui issue, but still..

That seems wrong, but the UI isn't really my area. Could you open a new thread in the Kibana forum about this?

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