Skip to content

Feature/remove es 7#453

Open
widhalmt wants to merge 13 commits intomainfrom
feature/remove-es-7
Open

Feature/remove es 7#453
widhalmt wants to merge 13 commits intomainfrom
feature/remove-es-7

Conversation

@widhalmt
Copy link
Copy Markdown
Member

@widhalmt widhalmt commented Mar 27, 2026

Remove version 7 of Elastic Stack from supported versions.

This also means removing OSS versions for Elasticsearch and Kibana.

closes #289

@widhalmt widhalmt requested a review from afeefghannam89 March 27, 2026 15:19
@widhalmt widhalmt self-assigned this Mar 27, 2026
@widhalmt widhalmt requested a review from Wintermute2k6 March 27, 2026 15:19
Copy link
Copy Markdown
Member

@afeefghannam89 afeefghannam89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some suggestions ;)

Copy link
Copy Markdown
Member

@afeefghannam89 afeefghannam89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now, my comments should work ;)

node.roles: [ {% for type in elasticsearch_node_types %}{{ type }}{% if not loop.last %}, {% endif %}{% endfor %} ]
{% endif %}

{% if elasticstack_release | int > 7 and groups[elasticstack_elasticsearch_group_name] | length == 1 %}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to remove this? What when the cluster has only one node? https://www.elastic.co/docs/deploy-manage/deploy/self-managed/bootstrap-checks#single-node-discovery

I think, in the future we should think about the approach of such an automated configuration. Here for example is not possible to switch to multi node, if the user want to extend his cluster later.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought, this setting is only valid in Elasticsearch 7? Damn. Thanks for finding that - I'll revert the change.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally mixed up < and >. facepalm

{% if elasticstack_variant == "elastic" %}
xpack.ml.enabled: {{ elasticsearch_ml_enabled }}
{% if elasticstack_release == 7 %}
xpack.monitoring.collection.enabled: {{ elasticsearch_monitoring_enabled }}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great find! Will remove it. I looked it up, the setting is still "valid", but doesn't do anything since some later 7.x.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

This information is deprecated and not right.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right. I changed the line. Better?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Elasticsearch 7 can't work without initial_master_nodes

2 participants