helm: Error: failed to download "stable/nfs-server-provisioner"
Trying to run a simple install but suddenly getting this message.
``helm install stable/nfs-server-provisioner```
I’ve previously installed other packages.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (6 by maintainers)
hey @stefanthorpe! The nfs-server-provisioner chart is being downloaded from the
stable
repo. The first thing you’ll want to do is make sure that thehelm repo list
has the following line:If you do not see the
stable
repo listed, you can add it via$helm repo add stable https://kubernetes-charts.storage.googleapis.com
Can you try that out and let me know what you see?
Hi everyone
I faced the same issue on MacOS X.
Adding
--debug
helped me trace the problem which as file permissions/missing folder:Error: open /Users/user/.helm/cache/archive/prometheus-8.8.0.tgz: permission denied
I created the necessary folders and then it work. I also executed with sudo which also did the trick. Maybe this is not the case however i am justing adding here in case someone else hits the same issue like mine.
Hello Folks! I am taking the liberty to join the thread for I was about to open a new issue, but found this one first.
We have been experiencing a similar glitch, with the command
helm upgrade
with--install
flag though. So the attempt was the following:helm upgrade --install --namespace logmon --values ~/.kubernetes-yaml/logmon/prometheus-helm-values.yaml --version "v2.2.1" "prometheus" stable/prometheus
But getting the error message for older helm version:
Now in 2.91 updated to:
When I test both
helm repo list
andhelm search prometheus
, here are the outputs:and
The head scratching session lasted for a while! Then together with another colleague we’ve noticed a discrepancy between the version we were passing as an argument and the actually correct one listed above (i.e 6.7.2 instead of 2.2.1 which is the app version, not the chart version) By changing the passed version to the correct one did help and now we can correctly install such chart.
Nevertheless we would like to propose to add as a return message not only the comment to try update the repo list, but to also double check that a valid existing chart version number is used.
Hope it could help and please let me know if this was actually obvious. IMHO, there is a difference between saying:
and something like:
or
In other words, a sort of case in-esac structure that will return a better output message.
Thanks and have a good one!
@stefanthorpe - wow that’s strange. What version of helm are you running? I’ll try to reproduce. Did you also try a
helm repo update
?@carmat88 – thanks for your input. Agreed and it’s always good to have more detailed error messages! If you’d like to contribute and them more user friendly, please feel free.
I wonder if changing error messages like that breaks backwards compatibility. cc/ @technosophos