Encountering an authentication error following the restoration of an Elasticsearch cluster from a Longhorn volume backup

When you restored the old data, you presumably restored it into a new cluster? Are you trying to use the old credentials from the previous cluster here?

If so, this is unlikely to work the credentials for the elastic user are stored in a Kubernetes secret that was probably deleted together with the old cluster.

You have to retrieve the new credentials as documented here Accessing services | Elastic Docs

1 Like