question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Binderhub helm chart install fails when specifying `--version` with helm v3

See original GitHub issue

For some reason, I have trouble installing binderhub via helm v3 (I’m using v3.0.3). The error message is Error: failed to download "jupyterhub/binderhub" (hint: running helm repo update may help).. The issue is, however, not related to helm repo update.

Steps to reproduce:

Add the helm repo and update it:

helm repo add jupyterhub https://jupyterhub.github.io/helm-chart
helm repo update

Run helm repo list. Output on my computer:

NAME              URL
stable            https://kubernetes-charts.storage.googleapis.com
jetstack          https://charts.jetstack.io
pfisterer-knox    https://pfisterer.github.io/apache-knox-helm/
jupyterhub        https://jupyterhub.github.io/helm-chart

Run helm search repo -l jupyterhub/binderhub to list available versions. Output on my computer:

NAME                	CHART VERSION    	APP VERSION	DESCRIPTION
jupyterhub/binderhub	0.2.0-001.00f7197	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-013.dace2ee	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-049.8a0cee8	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-024.1820a10	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-021.66516e5	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-072.544c0b1	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-065.f0e541b	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-037.c81a986	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-059.78bfbcd	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-028.9ba1fc3	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-039.58fb2a0	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-061.4221738	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-018.0c62683	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-056.8c51534	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-051.99305a6	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-0216360    	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-068.0b5080a	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-045.089702b	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-026.7c50358	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-004.9756642	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-017.5aa671c	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-069.dbffec6	           	A helm chart to install Binder

When trying to install version 0.2.0-068.0b5080a using helm install '--version=0.2.0-068.0b5080a' '--namespace=cert-manager' -f '/var/folders/_k/g6547cr924b2vw4b_w61lfym0000gn/T/ansible.fzu39_4jbinderhub-config.yaml' 'hub' 'jupyterhub/binderhub', I get

Error: failed to download "jupyterhub/binderhub" (hint: runninghelm repo updatemay help).

When trying to install version 0.2.0-9994a92, everything works as expected. But anything using a different format (e.g., ‘–version=0.2.0-068.0b5080a’) does not work.

When NOT specifying a --version but --devel, it installs the chart w/o error message but helm list --all-namespaces does not show an app version:

NAME           	NAMESPACE   	REVISION	UPDATED                             	STATUS  	CHART                        	APP VERSION
hub            	cert-manager	1       	2020-02-02 10:57:58.486209 +0100 CET	deployed	binderhub-0.2.0-n079.h351d336

What puzzles me is that binderhub-0.2.0-n079.h351d336 is not listed in the above list of versions.

Running helm install '--version=0.2.0-n079.h351d336' '--namespace=cert-manager' -f '/var/folders/_k/g6547cr924b2vw4b_w61lfym0000gn/T/ansible.fzu39_4jbinderhub-config.yaml' 'hub' 'jupyterhub/binderhub' works…

Any ideas? Am I missing something obvious?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
pfisterercommented, Feb 3, 2020

@consideRatio This is the case. Running helm install '--version=0.2.0-n079.h351d336' '--namespace=cert-manager' -f '/var/folders/_k/g6547cr924b2vw4b_w61lfym0000gn/T/ansible.fzu39_4jbinderhub-config.yaml' 'hub' 'jupyterhub/binderhub' works…

1reaction
pfisterercommented, Feb 2, 2020

@consideRatio just for your reference: using helm v3, the command is helm search repo jupyterhub/binderhub --devel -l.

For me helm search repo jupyterhub/binderhub --devel -l | grep "\\-n" yields the following output:

jupyterhub/binderhub	0.2.0-n079.h351d336	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-n077.hef338bc	           	A helm chart to install Binder
jupyterhub/binderhub	0.2.0-n075.hb369d46	           	A helm chart to install Binder

Now, this makes sense to me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to install BinderHub using Helm v3 - Stack Overflow
As OP stated in question, when use proper version, secret.yaml and configuration.yaml was able to deploy jupyterhub/binderhub chart. $ helm ...
Read more >
jupyterhub/binder - Gitter
Hello, having some issues getting the helm chart repo to install binderhub, says it can't find the binderhub chart in the index even...
Read more >
3. Set up BinderHub
The Helm chart used to install your BinderHub deployment exposes a number of optional features. Below we describe a few of the most...
Read more >
Breaking Changes in Helm 3 (and How to Fix Them) - ITNEXT
There are breaking changes to the arguments Helm accepts, how Helm queries releases, and finally the new OpenAPI validation process for charts before...
Read more >
Execution Error For Proxy Secret in deployment.yaml
... and am following the Z2JH guide to install JupyterHub via a Helm chart. ... --create-namespace \ --version=0.10.6 \ --values config.yaml.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found