Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

[elasticsearch] Reworked the way to mapping node roles. Node roles are mapped as "nod… #1057

Closed
wants to merge 4 commits into from

Conversation

maximchukm
Copy link

I had experienced a problem when I tried to set up nodes data tiers through "roles" parameter.
During ElasticSearch pod starting I had the error: "unknown setting [node.data_cold] please check that any required plugins are installed", as well as I found another message caused by the same way to set roles: "[node.master] setting was deprecated in Elasticsearch and will be removed in a future release!"
According to this, I reworked the node roles setting.

@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@maximchukm maximchukm changed the title Reworked the way to mapping node roles. Node roles are mapped as "nod… [elasticsearch] Reworked the way to mapping node roles. Node roles are mapped as "nod… Feb 11, 2021
@ebuildy
Copy link
Contributor

ebuildy commented Feb 22, 2021

hello, tests are running fine?

@maximchukm
Copy link
Author

maximchukm commented Feb 22, 2021

hello, tests are running fine?

Hello, I've just checked it and updated couple assertions for a new environment variable. Now it's running fine.

@jmlrt
Copy link
Member

jmlrt commented Feb 24, 2021

jenkins test this please

@jmlrt
Copy link
Member

jmlrt commented Feb 24, 2021

Hi @maximchukm, thanks for this PR.
This will need a bit more investigation in our side to ensure this is the way we want it to be implemented.

Related to #855

@jmlrt jmlrt added elasticsearch enhancement New feature or request labels Feb 24, 2021
# Conflicts:
#	elasticsearch/templates/statefulset.yaml
#	elasticsearch/tests/elasticsearch_test.py
Copy link
Member

@jmlrt jmlrt left a comment

Choose a reason for hiding this comment

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

Hi @maximchukm, many thanks for your work on this PR 🙏🏻 .

I had some issues during review and tests and I had to rework the implementation which needed a bit more refactoring in #1186.

@maximchukm
Copy link
Author

Hi @maximchukm, many thanks for your work on this PR 🙏🏻 .

I had some issues during review and tests and I had to rework the implementation which needed a bit more refactoring in #1186.

Sounds great, looking forward to using the new way of role setting!

@jmlrt
Copy link
Member

jmlrt commented May 25, 2021

Closing as it was implemented in #1186

@jmlrt jmlrt closed this May 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
elasticsearch enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants