Not able to bootstrap users in ECK after custom config

Hi all, so I just got up and running with ECK in Kubernetes.

For installation, I used all-in-one-1.0.1 and elasticsearch:7.6.2. However, I am getting the following error when I try to bootstrap the passwords.

[root@quickstart-es-default-0 bin]# elasticsearch-setup-passwords auto

Failed to authenticate user 'elastic' against
Possible causes include:
 * The password for the 'elastic' user has already been changed on this cluster
 * Your elasticsearch node is running against a different keystore
   This tool used the keystore at /usr/share/elasticsearch/config/elasticsearch.keystore

ERROR: Failed to verify bootstrap password

I have used the following config file.

kind: Elasticsearch
  name: quickstart
  namespace: testing
  version: 7.6.2
        disabled: true
  - name: default
    count: 1
      node.master: true true
      node.ingest: true false

It only happens when I add the http: tls configuration. Any help will be appreciated !

Thanks !

ECK already generates the default elastic user password, and stores it in a Kubernetes secret. So you don't have to use the elasticsearch-setup-passwords tool.

See the quickstart for an example how to retrieve it.

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