<p>Trying to install Elastic Stack</p>
<p>Hi I have connected to a cluster via gitlab self hosted ee.13.2.2</p>
<p>I am using gitlab and I installed the ingress, prometheus, cert manager and the runner but when I try to install Elastic stack it will not install. Does anyone know where I can look to find the correct logs to figure out why it will not install?</p>
<p>The error says:</p>
<p>Something went wrong while installing Elastic Stack</p>
<pre><code>Operation failed. Check pod logs for install-elastic-stack for more details.
</code></pre>
<p><a href="https://i.stack.imgur.com/h7we0.png" rel="nofollow noreferrer">Error-1</a>
<a href="https://i.stack.imgur.com/7b7Tf.png" rel="nofollow noreferrer">Error-2</a></p>
<pre><code>+ export 'HELM_HOST=localhost:44134'
+ helm init --client-only
+ tiller -listen localhost:44134 -alsologtostderr
Creating /root/.helm 
Creating /root/.helm/repository 
Creating /root/.helm/repository/cache 
Creating /root/.helm/repository/local 
Creating /root/.helm/plugins 
Creating /root/.helm/starters 
Creating /root/.helm/cache/archive 
Creating /root/.helm/repository/repositories.yaml 
Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com 
[main] 2020/08/15 19:22:35 Starting Tiller v2.16.9 (tls=false)
[main] 2020/08/15 19:22:35 GRPC listening on localhost:44134
[main] 2020/08/15 19:22:35 Probes listening on :44135
[main] 2020/08/15 19:22:35 Storage driver is ConfigMap
[main] 2020/08/15 19:22:35 Max history per release is 0
Adding local repo with URL: http://127.0.0.1:8879/charts 
$HELM_HOME has been configured at /root/.helm.
Not installing Tiller due to 'client-only' flag having been set
+ helm repo add elastic-stack https://charts.gitlab.io
&quot;elastic-stack&quot; has been added to your repositories
+ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Skip local chart repository
...Successfully got an update from the &quot;elastic-stack&quot; chart repository
...Successfully got an update from the &quot;stable&quot; chart repository
Update Complete.
+ helm upgrade elastic-stack elastic-stack/elastic-stack --install --atomic --cleanup-on-fail --reset-values --version 3.0.0 --set 'rbac.create=true,rbac.enabled=true' --namespace gitlab-managed-apps -f /data/helm/elastic-stack/config/values.yaml
[tiller] 2020/08/15 19:22:44 getting history for release elastic-stack
[storage] 2020/08/15 19:22:44 getting release history for &quot;elastic-stack&quot;
Release &quot;elastic-stack&quot; does not exist. Installing it now.
[tiller] 2020/08/15 19:22:44 preparing install for elastic-stack
[storage] 2020/08/15 19:22:44 getting release history for &quot;elastic-stack&quot;
[tiller] 2020/08/15 19:22:44 rendering elastic-stack chart using values
2020/08/15 19:22:44 info: manifest &quot;elastic-stack/charts/elasticsearch/templates/podsecuritypolicy.yaml&quot; is empty. Skipping.
2020/08/15 19:22:44 info: manifest &quot;elastic-stack/charts/elasticsearch-curator/templates/role.yaml&quot; is empty. Skipping.
2020/08/15 19:22:44 info: manifest &quot;elastic-stack/charts/elasticsearch/templates/role.yaml&quot; is empty. Skipping.
2020/08/15 19:22:44 info: manifest &quot;elastic-stack/charts/elasticsearch-curator/templates/rolebinding.yaml&quot; is empty. Skipping.
2020/08/15 19:22:44 info: manifest &quot;elastic-stack/charts/elasticsearch-curator/templates/hooks/job.install.yaml&quot; is empty. Skipping.
2020/08/15 19:22:44 info: manifest &quot;elastic-stack/charts/elasticsearch/templates/rolebinding.yaml&quot; is empty. Skipping.
2020/08/15 19:22:44 info: manifest &quot;elastic-stack/charts/elasticsearch/templates/ingress.yaml&quot; is empty. Skipping.
2020/08/15 19:22:44 info: manifest &quot;elastic-stack/charts/elasticsearch-curator/templates/psp.yml&quot; is empty. Skipping.
2020/08/15 19:22:44 info: manifest &quot;elastic-stack/charts/elasticsearch/templates/configmap.yaml&quot; is empty. Skipping.
2020/08/15 19:22:44 info: manifest &quot;elastic-stack/charts/elasticsearch/templates/serviceaccount.yaml&quot; is empty. Skipping.
2020/08/15 19:22:44 info: manifest &quot;elastic-stack/charts/elasticsearch-curator/templates/serviceaccount.yaml&quot; is empty. Skipping.
[tiller] 2020/08/15 19:22:44 performing install for elastic-stack
[tiller] 2020/08/15 19:22:44 executing 1 crd-install hooks for elastic-stack
[tiller] 2020/08/15 19:22:44 hooks complete for crd-install elastic-stack
[tiller] 2020/08/15 19:22:45 executing 1 pre-install hooks for elastic-stack
[tiller] 2020/08/15 19:22:45 hooks complete for pre-install elastic-stack
[storage] 2020/08/15 19:22:45 getting release history for &quot;elastic-stack&quot;
[storage] 2020/08/15 19:22:45 creating release &quot;elastic-stack.v1&quot;
[kube] 2020/08/15 19:22:45 building resources from manifest
[kube] 2020/08/15 19:22:45 creating 11 resource(s)
[kube] 2020/08/15 19:22:46 beginning wait for 11 resources with timeout of 5m0s
[kube] 2020/08/15 19:22:48 Pod is not ready: gitlab-managed-apps/elastic-stack-filebeat-h544s &lt;= this line ran lots of times (100ish)
[tiller] 2020/08/15 19:27:46 warning: Release &quot;elastic-stack&quot; failed: timed out waiting for the condition
[storage] 2020/08/15 19:27:46 updating release &quot;elastic-stack.v1&quot;
[tiller] 2020/08/15 19:27:46 failed install perform step: release elastic-stack failed: timed out waiting for the condition
INSTALL FAILED
PURGING CHART
then eventually:
Successfully purged a chart!
Error: release elastic-stack failed: timed out waiting for the condition
</code></pre>

Jake
<p>Please try running it again. Helm sometimes times out rather quickly. If it's failing consistently, look inside elastic-stack namespace. See which pods are not starting inside it and what errors are you getting there.</p>
