Hello Team,
Im setting up a single node cluster and below is my Elasticsearch.yml file
cluster.name: my-application
node.name: node-1
node.master: true
node.data: true
bootstrap.memory_lock: true
network.host: CZASMV-MSELK004
http.port: 9200
discovery.seed_hosts: ["CZASMV-MSELK004"]
cluster.initial_master_nodes: ["CZASMV-MSELK004"]
Once I start the cluster, I get the WARN message telling the below
[WARN ][o.e.c.c.ClusterFormationFailureHelper] [node-1] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and this node must discover master-eligible nodes [CZASMV-MSELK004] to bootstrap a cluster: have discovered [{node-1}{QC2YR8ecRaWSJny4Vgr3mQ}{mpl_FOfmTJqQurBszJSwuw}{CZASMV-MSELK004}{10.200.59.35:9300}{dimr}]; discovery will continue using [] from hosts providers and [{node-1}{QC2YR8ecRaWSJny4Vgr3mQ}{mpl_FOfmTJqQurBszJSwuw}{CZASMV-MSELK004}{10.200.59.35:9300}{dimr}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
However I can see the master role is enabled as show below
[2021-11-17T00:11:55,656][INFO ][o.e.n.Node ] [node-1] node name [node-1], node ID [QC2YR8ecRaWSJny4Vgr3mQ], cluster name [my-application], roles [master, remote_cluster_client, data, ingest]
Can someone please help me if im missing something here ? Thanks for your help