In a fresh new 2.0.1 cluster, I ended up setting discovery.zen.minimum_master_nodes as part of a routine.
curl --insecure -u admin:redacted -X PUT "https://localhost:9200/_cluster/settings" -H 'Content-Type: application/json' -d'
{
"persistent" : {
"discovery.zen.minimum_master_nodes": 2
}
}
'
The cluster initially accepted this.
However, now any subsequent attempts to mess with _cluster/settings is met with this error:
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"unknown setting [archived.discovery.zen.minimum_master_nodes] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"}],"type":"illegal_argument_exception","reason":"unknown setting [archived.discovery.zen.minimum_master_nodes] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"},"status":400}
…and my change is not actually taken.
OK, no biggie, right? We’ll just remove discovery.zen.minimum_master_nodes by setting it to null, yeah?
curl --insecure -u admin:redacted -X PUT "https://localhost:9200/_cluster/settings" -H 'Content-Type: application/json' -d'
{
"persistent" : {
"discovery.zen.minimum_master_nodes": null
}
}
'
…well, that doesn’t work. I get the same error message as before.
(I tried to same with archived.discovery.zen.minimum_master_nodes, too.).
So, I’m stuck in quite the pickle. I’ve set an “unknown” setting into _cluster/settings, and now cannot remove it, because any attempt to PUT anything to _cluster/settings throws an error about the old zen setting that is set.
Any ideas how I might proceed? This seems like quite the catch-22.