Open Distro Security not initialized

I’m trying to setup a cluster with odfe.
I looking for: 1 kibana node, 3 elasticsearch master, 3 elasticsearch data and 4 logstash nodes.
Setting elasticsearch.yml with this values

node.master: true false
node.ingest: false

elasticsearch stop to work, when i do
curl -XGET -k -u admin:password
it return me this error
Open Distro Security not initialized (SG11).

In elastic log file i found this error
[2019-04-23T15:06:13,994][ERROR][c.a.o.s.a.BackendRegistry] [odfe-elasticmaster-0] Not yet initialized (you may need to run securityadmin)

I’ve run securityadmin after the changes but nothing changes.

Without the 3 node. parameters all works good.


Hi @fumaluca !

Open Distro initializes index with internal settings. This index should be placed at least one of data node. In your particular case seems like you don’t have any of data node available for placing this data.

Have a look on elasticsearch.log to check, that your 3 data nodes are connected in cluster.

If you don’t set nodes parameter elasticsearch include all roles on node, that’s why it worked before

1 Like

Hi @fumaluca did you get it working after adding the data nodes?