Security index error - everything working fine

Hi all,
Recently I moved the to a different folder, keeping permissions and everything, changing the option in elasticsearch.yml and it worked as expected and everything working fine.
However, in the Elasticsearch logs, I can see the following error:
[2020-02-04T19:38:38,109][ERROR][o.e.x.s.a.e.ReservedRealm] [node-1] failed to retrieve password hash for reserved user [elastic]
org.elasticsearch.action.UnavailableShardsException: at least one primary shard for the index [.security-7] is unavailable

I checked that .security-7 index has only one primary shard and its state is STARTED. Moreover, my Filebeat and Kibana are using credentials to connect to Elasticsearch and are working fine. It's only one Elasticsearch node.

I'm just curious about what can be going wrong with that index. Someone can explain?

Thank you so much.

Best regards,

When i try to do a rolling restart and perform some rest calls in between the restart of two nodes the rest calls fail due to an authentication failure. Checking the logs i receive the same errors as you do. I guess that elasticsearch takes some time to get the authentication running, might also be a bug which causes the first authentication attempt to fail

It is weird because everything works well, I can perform API calls authenticating myself, but I still have those logs :frowning:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.