Hello Team,
currently I am facing this below error while deploying latest [elasticsearch:8.11.1] image with elasticsearch statefulset helm chart.
2023-11-27T17:50:15.202018883Z {"@timestamp":"2023-11-27T17:50:15.200Z", "log.level":"ERROR", "message":"fatal exception while boo
ting Elasticsearch", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"main","log.logger":"org.elasticsearch.bootstrap.Elasticsearch","elasticsearch.node.name":"smb-elasticsearch-master-2","elasticsearch.cluster.name":"smb-elasticsearch","error.type":"java.lang.IllegalArgumentException","error.message":"unknown setting [node.master] please check that any required plugins are installed, or check the breaking changes documentation for removed settings","error.stack_trace":"java.lang.IllegalArgumentException: unknown setting [node.master] please check that any required plugins are installed, or check the breaking changes documentation for removed settings\n\tat org.elasticsearch.server@8.11.1/org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:563)\n\tat org.elasticsearch.server@8.11.1/org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:509)\n\tat org.elasticsearch.server@8.11.1/org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:479)\n\tat org.elasticsearch.server@8.11.1/org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:449)\n\tat org.elasticsearch.server@8.11.1/org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:132)\n\tat org.elasticsearch.server@8.11.1/org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:50)\n\tat org.elasticsearch.server@8.11.1/org.elasticsearch.node.Node.(Node.java:494)\n\tat org.elasticsearch.server@8.11.1/org.elasticsearch.node.Node.(Node.java:344)\n\tat org.elasticsearch.server@8.11.1/org.elasticsearch.bootstrap.Elasticsearch$2.(Elasticsearch.java:236)\n\tat org.elasticsearch.server@8.11.1/org.elasticsearch.bootstrap.Elasticsearch.initPhase3(Elasticsearch.java:236)\n\tat org.elasticsearch.server@8.11.1/org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:73)\n\tSuppressed: java.lang.Illega
lArgumentException: unknown setting [node.data] please check that any required plugins are installed, or check the breaking changes documentation for removed settings\n\t\t... 11 more\n\tSuppressed: java.lang.IllegalArgumentException: unknown setting [node.ingest] please check that any required plugins are installed, or check the breaking changes documentation for removed settings\n\t\t... 11 more\n"}
2023-11-27T17:50:15.204265021Z ERROR: Elasticsearch did not exit normally - check the logs at /usr/share/elasticsearch/logs/smb-elasticsearch.log
2023-11-27T17:50:15.548529482Z
2023-11-27T17:50:15.551228128Z ERROR: Elasticsearch exited unexpectedly, with exit code 1
Deployment file
And here is the roles configuration we are using -
{{- range $role, $enabled := .Values.roles }}
- name: node.{{ $role }}
value: "{{ $enabled }}"
{{- end }}
Values file
roles:
master: "true"
ingest: "true"
data: "true"
Seeking your support on this issue, If there is any changes required on deployment file or any other part.
Thanks in advance.