Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

[kibana] Fix helm pre-upgrade and pre-install hooks #1781

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mdnfiras
Copy link

@mdnfiras mdnfiras commented Feb 24, 2023

This is a fix proposal to #1780

  • Chart version not bumped (the versions are all bumped and released at the same time)
  • README.md updated with any new values or changes
    • no new values / changes that affect usage.
  • Updated template tests in ${CHART}/tests/*.py
  • Updated integration tests in ${CHART}/examples/*/test/goss.yaml

@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@mdnfiras mdnfiras changed the title Fix kibana helm release upgrade [kibana] Fix helm pre-upgrade and pre-install hooks Feb 24, 2023
@abbas916990
Copy link

@mdnfiras I Installed Elasticsearch and tried to install Kibana with your proposed changes. But kibana pre-install job fails with below error.

kubectl get pod -A
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system calico-kube-controllers-7664cb57bd-cxhxw 1/1 Running 0 11h
kube-system calico-node-bgtpq 1/1 Running 0 11h
kube-system coredns-7796b77cd4-bn4qb 1/1 Running 0 11h
kube-system local-path-provisioner-84bb864455-fqbth 1/1 Running 0 11h
kube-system metrics-server-ff9dbcb6c-8k2qx 1/1 Running 0 11h
metallb-system controller-86f5dc75b9-s4j42 1/1 Running 0 11h
metallb-system speaker-68g9f 1/1 Running 0 11h
log elasticsearch-master-0 1/1 Running 0 11m
log pre-install-kibana-kibana-2q5xf 0/1 Error 0 6m54s
log pre-install-kibana-kibana-5qz4c 0/1 Error 0 6m18s
log pre-install-kibana-kibana-7vkpn 0/1 Error 0 6m6s
log pre-install-kibana-kibana-bvhdh 0/1 Error 0 6m2s
log pre-install-kibana-kibana-d9n8v 0/1 Error 0 7m14s
log pre-install-kibana-kibana-dfkjs 0/1 Error 0 7m21s
log pre-install-kibana-kibana-dqgzx 0/1 Error 0 6m34s
log pre-install-kibana-kibana-g82rs 0/1 Error 0 6m14s
log pre-install-kibana-kibana-jgd8g 0/1 Error 0 7m17s
log pre-install-kibana-kibana-jqp58 0/1 Error 0 6m58s
log pre-install-kibana-kibana-lf6qj 0/1 Error 0 6m42s
log pre-install-kibana-kibana-mj4lb 0/1 Error 0 6m50s
log pre-install-kibana-kibana-nw4zf 0/1 Error 0 6m46s

When i describe pod , I am getting below error.

kubectl logs pre-install-kibana-kibana-swb6v -n log
Creating a new Elasticsearch token for Kibana
Cleaning previous token
DELETE undefined failed: certificate is not yet valid
Error: certificate is not yet valid
at TLSSocket.onConnectSecure (node:_tls_wrap:1539:34)
at TLSSocket.emit (node:events:513:28)
at TLSSocket._finishInit (node:_tls_wrap:953:8)
at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:734:12) {
code: 'CERT_NOT_YET_VALID'
}

Please advice if i miss anything.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants