elastic / helm-charts

You know, for Kubernetes
Apache License 2.0
1.89k stars 1.93k forks source link

Kibana chart helm install failing with Error: INSTALLATION FAILED: failed pre-install: job failed: BackoffLimitExceeded #1775

Open vara-prasadreddy opened 1 year ago

vara-prasadreddy commented 1 year ago

failing both on Kubernetes self hosted and EKS

Chart version: latest as of 16th Feb 2023

Kubernetes version: On Self Hosted K8s

$ kubectl get nodes NAME STATUS ROLES AGE VERSION ip- Ready 20d v1.26.1 ip- Ready 20d v1.26.1 ip- Ready control-plane 20d v1.26.1

On EKS kubectl get nodes NAME STATUS ROLES AGE VERSION ip-.internal Ready 4h53m v1.24.9-eks-49d8fe8 ip-.internal Ready 4h53m v1.24.9-eks-49d8fe8

Kubernetes provider: E.g. GKE (Google Kubernetes Engine) Opensource & EKS Helm Version:

$ helm version --short v3.11.1+g293b50c

y$ helm install elasticsearch elastic/elasticsearch -n dapr-monitoring --set replicas=1 NAME: elasticsearch LAST DEPLOYED: Thu Feb 16 19:01:57 2023 NAMESPACE: dapr-monitoring STATUS: deployed REVISION: 1 NOTES:

  1. Watch all cluster members come up. $ kubectl get pods --namespace=dapr-monitoring -l app=elasticsearch-master -w
  2. Retrieve elastic user's password. $ kubectl get secrets --namespace=dapr-monitoring elasticsearch-master-credentials -ojsonpath='{.data.password}' | base64 -d
  3. Test cluster health using Helm test. $ helm --namespace=dapr-monitoring test elasticsearch

$ helm install kibana elastic/kibana -n dapr-monitoring Error: INSTALLATION FAILED: failed pre-install: job failed: BackoffLimitExceeded

vara-prasadreddy commented 1 year ago

created a new namespace and try to test only kibana installation, now I see a different error

$ helm install kibana elastic/kibana -n test Error: INSTALLATION FAILED: failed pre-install: timed out waiting for the condition

cloudsavara commented 1 year ago

Kibana_Helm_Error

Documentations says this chart is tested on GKE, but this is failing on GKE also

cloudsavara commented 1 year ago

Kibana_Helm_Error Ok, the errror is ame, I just skipped elastic search to install kibana, but when I do install first elasticsearch and then kibana it is giving same error as "BackOffLimitExceeded"

on GKE as well version 1.24

abbas916990 commented 1 year ago

@vara-prasadreddy Please share the kibana pod logs

Huailun commented 1 year ago

This is the kibana pod log.

Creating a new Elasticsearch token for Kibana Cleaning previous token DELETE undefined failed: write EPROTO 140685322901440:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:

Error: write EPROTO 140685322901440:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:

at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16) {

errno: -71, code: 'EPROTO', syscall: 'write' }