Hello;
I have upgraded a single-node Elasticsearch from version 7.17 to 8.7. When the node starts up it logs this warning:
[WARN ][o.e.c.c.ClusterBootstrapService] [elasticsearch] this node is locked into cluster UUID [H6ToZxhPRAerFe-iPlqE8A] but [cluster.initial_master_nodes] is set to [elasticsearch]; remove this setting to avoid possible data loss caused by subsequent cluster bootstrap attempts; for further information see https://www.elastic.co/guide/en/elasticsearch/reference/8.7/important-settings.html#initial_master_nodes`
I have removed the cluster.initial_master_nodes property and added discovery.type: single-node, but the warning persists.
Next, I have looked at the various scripts delivered with Elasticsearch in the bin-direktory, but I do not find any suitable to remove the cluster_uuid from the cluster state.
{
"name" : "elasticsearch",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "H6ToZxhPRAerFe-iPlqE8A",
"version" : {
"number" : "8.7.1",
How do I get rid of the warning?
Best regards
Flemming