elasticsearch-cluster-runner
elasticsearch-cluster-runner copied to clipboard
Nodes created cannot ingest by default
As i understand since ES v7.x all nodes can ingest by default. However, if I set index settings to a default pipeline, I get an exception "There are no nodes to ingest".
And if I try to set node settings for ingestion, i get the following exception: "can not explicitly configure node roles and use legacy role setting [node.ingest]=[true]"
Is there a way to enable a node for ingesting pipelines? Thanks!
I ran into this buzzsaw myself. with 7.8, "reasonable defaults" had nodes with "dimr" roles. ingest aka "i" is required for processing ingest pipelines (vs. simply stuffing data in)
when we moved to 7.16.3, the "reasonable defaults" changed to only "dm" --- no ingest node.
I too tried simply adding node.ingest: true, and that actually did more damage than good -- it seems that if you add something to those default roles, it clears them in favor of what you've sent. so when I add node.master: true, node.master: data, node.master: ingest ---- it all worked fine (and I got WAY more roles as an unexpected bonus).
I could be off on some of these assertions, but adding all three of those roles worked for me w/ 7.16.3.