Failed to retrieve password hash for reserved user [elastic]

Hi Team,

We have facing an issue while we start the Elasticsearch master node with the following errors

[2022-04-28T07:40:11,318][INFO ][o.e.x.s.a.AuthenticationService] [master] Authentication of [elastic] was terminated by realm [reserved] - failed to authenticate user [elastic]
[2022-04-28T07:40:12,879][ERROR][o.e.x.s.a.e.ReservedRealm] [master] 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
at org.Elasticsearch.xpack.security.support.SecurityIndexManager.getUnavailableReason(SecurityIndexManager.java:148) ~[x-pack-security-7.15.0.jar:7.15.0]
at org.Elasticsearch.xpack.security.authc.esnative.NativeUsersStore.getReservedUserInfo(NativeUsersStore.java:493) [x-pack-security-7.15.0.jar:7.15.0]
at org.Elasticsearch.xpack.security.authc.esnative.ReservedRealm.getUserInfo(ReservedRealm.java:220) [x-pack-security-7.15.0.jar:7.15.0]
at org.Elasticsearch.xpack.security.authc.esnative.ReservedRealm.doAuthenticate(ReservedRealm.java:96) [x-pack-security-7.15.0.jar:7.15.0]
at org.Elasticsearch.xpack.security.authc.support.CachingUsernamePasswordRealm.authenticateWithCache(CachingUsernamePasswordRealm.java:188) [x-pack-security-7.15.0.jar:7.15.0]
at org.Elasticsearch.xpack.security.authc.support.CachingUsernamePasswordRealm.authenticate(CachingUsernamePasswordRealm.java:105) [x-pack-security-7.15.0.jar:7.15.0]

Kindly help me to resolve the issue

Did you have a replica for this index?

No, we don't have a replica. This is master node and we have 2 data nodes to sync with master node

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