Hi Guys,
Elasticsearch Version: 7.10.2
Open Distro Security Version: 1.13.1.0
I’m trying to enable internal users in opendistro and getting the following error when I do execute following command,
bash /usr/share/elasticsearch/plugins//opendistro_security/tools/securityadmin.sh -nhnv -nrhn -icl -cacert /etc/elasticsearch/certs/MyRootCA.pem -cert /etc/elasticsearch/certs/admin.pem -key /etc/elasticsearch/certs/admin.key -t internalusers -f /usr/share/elasticsearch/plugins/opendistro_security/securityconfig/internal_users.yml
Error :
Will connect to localhost:9300 … done
Connected as CN=admin,O=Povo.Jp,ST=Japan,C=JP
Elasticsearch Version: 7.10.2
Open Distro Security Version: 1.13.1.0
Contacting elasticsearch cluster ‘elasticsearch’ and wait for YELLOW clusterstate …
Clustername: tjp-elk
Clusterstate: GREEN
Number of nodes: 4
Number of data nodes: 1
.opendistro_security index already exists, so we do not need to create one.
Populate config from /root
Force type: internalusers
Will update ‘_doc/internalusers’ with /usr/share/elasticsearch/plugins/opendistro_security/securityconfig/internal_users.yml
SUCC: Configuration for ‘internalusers’ created or updated
FAIL: 4 nodes reported failures. First failure is FailedNodeException[Failed node [BFg017RyTHq237fmHwjNfw]]; nested: RemoteTransportException[[tjpaw-elasticsearch-02][10.180.195.164:9300][cluster:admin/opendistro_security/config/update[n]]]; nested: ElasticsearchException[java.lang.NullPointerException: Cannot read field “dynamic” because “this.config” is null]; nested: NullPointerException[Cannot read field “dynamic” because “this.config” is null];
FAIL: Expected 4 nodes to return response, but got 0
Done with failures
Can anyone guide me to resolve this issue ?
Thanks.