smart-edge-open / converged-edge-experience-kits

Source code for experience kits with Ansible-based deployment.
Apache License 2.0
37 stars 40 forks source link

OpenNESS 20.12 fails to deploy Prometheus & Grafana due to Helm repositories change #78

Closed amr-mokhtar closed 3 years ago

amr-mokhtar commented 3 years ago

Due to the new location announcement by Helm, the stable and incubator repositories were changed which is causing Prometheus and Grafana to fail when deploying OpenNESS clusters. A quick fix is to update the new Helm repos in the following files:

In file roles/telemetry/grafana/tasks/main.yml,

  - name: add default Helm repository
-    command: helm repo add stable https://kubernetes-charts.storage.googleapis.com/
+    command: helm repo add stable https://charts.helm.sh/stable
    changed_when: true
    when: not offline_enable

And in file roles/telemetry/prometheus/tasks/main.yml,

  - name: add default Helm repository
-    command: helm repo add stable https://kubernetes-charts.storage.googleapis.com/
+   command: helm repo add stable https://charts.helm.sh/stable
    changed_when: true
    when: not offline_enable

`