Not yet initialized (you may need to run securityadmin)

I was trying to enable opendistro security by running security admin tools, but getting below error after enabling configs,

es version : 7.10.x

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
No data for roles while retrieving configuration for [INTERNALUSERS, ACTIONGROUPS, CONFIG, ROLES, ROLESMAPPING, TENANTS, NODESDN, WHITELIST, AUDIT]  (index=.opendistro_security and type=_doc)

any help would be greatly appreciated.

Thanks.

OpenSearch/OpenDistro are AWS run products and differ from the original Elasticsearch and Kibana products that Elastic builds and maintains. You may need to contact them directly for further assistance.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

As the bot says, you will need to ask aws about opendistro, we do not support.