-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node.role for node coordinator settings doesn't match with yml file #85731
Comments
Pinging @elastic/es-core-infra (Team:Core/Infra) |
Ok thanks, but one thing is interesting where these enviroments was storing inside container? (When we’re setting through docker compose file) |
I agree this issue. I setted es8.2.3 with docker-compose, but still get cdfhimrstw I tried
but still can get issue |
Any updates on this ? this is not working on 8.4.0 while it does work on 8.2.0 |
Hi @piyushkp, Yes the change is in 8.4.0 as well. Can you please explain in more detail what doesn't work in 8.4.0 while it works in 8.2.0? Are you able to supply reproduction steps for us? Thanks |
grcevski i'm trying to set node.roles via env variable through HELM chart.
it throws below error:
|
Thanks @piyushkp, would it be possible for you to show us what the nodes.roles section looks like in the final elasticsearch.yml, after the helm chart finished applying? I want to double check what it generated, so we can tell if this is a bug in the helm chart or elasticsearch. |
|
grcevski this is related issue elastic/cloud-on-k8s#3718 |
grcevski i was trying to upgrade from 8.2.0 to 8.4.0 and master and data nodes were upgrade successfully but coordinator failed. we want to move on to 8.4.0 but b'z of this issue we can't, can you provide a fix or way around so we can have cluster up and running ? |
also I've met the same issue under deploying ELK cluster on docker swarm
environment through docker compose file.
czw., 1 wrz 2022 o 18:26 Piyush ***@***.***> napisał(a):
… grcevski <https://github.com/grcevski> i was trying to upgrade from 8.2.0
to 8.4.0 and master and data nodes were upgrade successfully but
coordinator failed. we want to move on to 8.4.0 but b'z of this issue we
can't, can you provide a fix or way around so we can have cluster up and
running ?
—
Reply to this email directly, view it on GitHub
<#85731 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKTQJVS65IW73VNZDRJUU3V4DKJPANCNFSM5SWZ5KKQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi @piyushkp, I can't see a difference in behaviour here between 8.2 and 8.4. For example, in 8.2.4 I modified the ES configuration to set in config/elasticsearch.yml:
It looks like you might be overwriting the node.roles with null or empty in your environment variables. |
grcevski its a bug in elastic helm chart. https://github.com/elastic/helm-charts |
@williamrandolph any updates on this bug ? |
Elasticsearch Version
8.1.1
Installed Plugins
No response
Java Version
openjdk version "11.0.14.1" 2022-02-08 LTS OpenJDK Runtime Environment 18.9 (build 11.0.14.1+1-LTS) OpenJDK 64-Bit Server VM 18.9 (build 11.0.14.1+1-LTS, mixed mode, sharing)
OS Version
Centos 7 3.10.0-1160.59.1.el7.x86_64
Problem Description
Under creation elasticsearch node as coordinator function over docker compose we're facing problem with node roles.
Also You can find the description this case there: elastic/go-ucfg#188
But still we don't know how I can deploy in straight way coordination node. On elasticsearch community we've agreed that we need to open this case for fix it.
Any suggest how we can resolve that issue over syntax with node.roles: [] in docker compose ?
Described syntax for node.roles : [ ] doesn't match.
Steps to Reproduce
create coordinator node over docker compose
Logs (if relevant)
name node.role
es_coordination_1 cdfhimrstw
es_coordination_2 cdfhimrstw
es_coordination_3 cdfhimrstw
The text was updated successfully, but these errors were encountered: