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 http://10.244.0.18:9200/_security/_authenticate?pretty
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.
---
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
name: quickstart
namespace: testing
spec:
version: 7.6.2
http:
tls:
selfSignedCertificate:
disabled: true
nodeSets:
- name: default
count: 1
config:
node.master: true
node.data: true
node.ingest: true
node.store.allow_mmap: false
It only happens when I add the http: tls configuration. Any help will be appreciated !
Thanks !