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

[kibana] Readiness probe failed: [[: not found with 7.17.0-SNAPSHOT images #1529

Closed
jmlrt opened this issue Jan 5, 2022 · 0 comments · Fixed by #1530
Closed

[kibana] Readiness probe failed: [[: not found with 7.17.0-SNAPSHOT images #1529

jmlrt opened this issue Jan 5, 2022 · 0 comments · Fixed by #1530
Assignees
Labels
bug Something isn't working kibana

Comments

@jmlrt
Copy link
Member

jmlrt commented Jan 5, 2022

Kibana readiness probe is failling with [[: not found error when using Kibana chart from 7.x branch with 7.17.0-SNAPSHOT images.

This seem to be related to Kibana base image change from CentOS to Ubuntu in elastic/kibana#119520.

[[ ... ]] test syntax isn't available in the shell provided in Ubuntu base image:

if [[ "${STATUS}" -eq 200 ]]; then

Similar to #1458 for Elasticsearch.

cc @elastic/kibana-operations

@jmlrt jmlrt added bug Something isn't working kibana labels Jan 5, 2022
@jmlrt jmlrt self-assigned this Jan 5, 2022
jmlrt added a commit to jmlrt/helm-charts that referenced this issue Jan 5, 2022
This commit set the readiness probe to use bash instead of sh. This is
required for Kibana > 7.17.0 because the Docker image is now
based on Ubuntu instead of CentOS 8, and sh on Ubuntu isn't compatible
with the if [[ ... -eq .... ]] statements used in the readiness probe.

Fix elastic#1529
jmlrt added a commit that referenced this issue Jan 5, 2022
This commit set the readiness probe to use bash instead of sh. This is
required for Kibana > 7.17.0 because the Docker image is now
based on Ubuntu instead of CentOS 8, and sh on Ubuntu isn't compatible
with the if [[ ... -eq .... ]] statements used in the readiness probe.

Fix #1529
jmlrt added a commit to jmlrt/helm-charts that referenced this issue Jan 5, 2022
This commit set the readiness probe to use bash instead of sh. This is
required for Kibana > 7.17.0 because the Docker image is now
based on Ubuntu instead of CentOS 8, and sh on Ubuntu isn't compatible
with the if [[ ... -eq .... ]] statements used in the readiness probe.

Fix elastic#1529
jmlrt added a commit that referenced this issue Jan 5, 2022
This commit set the readiness probe to use bash instead of sh. This is
required for Kibana > 7.17.0 because the Docker image is now
based on Ubuntu instead of CentOS 8, and sh on Ubuntu isn't compatible
with the if [[ ... -eq .... ]] statements used in the readiness probe.

Fix #1529
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working kibana
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant