helm: [helm3] helm list not showing anything although chart install using helm3

After installing a chart successfully using helm3 updated by homebrew. helms list doesn’t display anything. I used the migration plugin, and the chart was installed fresh with helm3.

helm ls
NAME	NAMESPACE	REVISION	UPDATED	STATUS	CHART	APP VERSION

Output of helm version: version.BuildInfo{Version:“v3.0.0”, GitCommit:“e29ce2a54e96cd02ccfce88bee4f58bb6e2a28b6”, GitTreeState:“clean”, GoVersion:“go1.13.4”}

Output of kubectl version: Client Version: version.Info{Major:“1”, Minor:“16”, GitVersion:“v1.16.3”, GitCommit:“b3cbbae08ec52a7fc73d334838e18d17e8512749”, GitTreeState:“clean”, BuildDate:“2019-11-14T04:24:29Z”, GoVersion:“go1.12.13”, Compiler:“gc”, Platform:“darwin/amd64”} Server Version: version.Info{Major:“1”, Minor:“15”, GitVersion:“v1.15.1”, GitCommit:“4485c6f18cee9a5d3c3b4e523bd27972b1b53892”, GitTreeState:“clean”, BuildDate:“2019-07-18T09:09:21Z”, GoVersion:“go1.12.5”, Compiler:“gc”, Platform:“linux/amd64”}

Cloud Provider/Platform (AKS, GKE, Minikube etc.): Baremetal

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 2
  • Comments: 21 (5 by maintainers)

Most upvoted comments

Sorry, I’m not sure I understand. Could you give more specific details?

You mentioned it was fresh installed using helm3 and you also mentioned you used migration plugin. Migration plugin is needed only if installation happened with v2 and you want to move to v3. And if only fresh install was done, could you tell what command you used to install? And have you checked all namespaces and all statuses? You can check it with helm ls --all-namespaces --all

Dears i have same issue i use helm3 and try to connect to previous cluster which has tiller installed so do you know anything can i do to get all thing for example “helm ls” did not return anything

Try specifying namespace maybe: helm ls -n <namespace>

Oh, I tried deleting the last secret shown in my previous message and now the release is back!

I still don’t understand why helm ls stops listing releases during the upgrade process, but in my case I’ll just try again.

Dears i have same issue i use helm3 and try to connect to previous cluster which has tiller installed so do you know anything can i do to get all thing for example “helm ls” did not return anything

Maybe try helm ls -A it worked for me.

JFYI…we observed a similar issue when the helm upgrade failed and status was pending-upgrade. We were able to identify this by running below command.

helm history -n NAMESPACE RELEASE_NAME

We fixed the issue by rolling back to the previous version.

@pallasathena92 From help:

-a, --all                  show all releases without any filter applied
  -A, --all-namespaces       list releases across all namespaces

If the number of charts is more than 256 in the namespace, then you have to page through the entries.

helm list --offset=256 -n namespace

You may use the below command to check how many charts are there in the namespace

kubectl get secret -n namespace  |grep helm.sh/release.v1| awk -F "." '{print $5}' | sort | uniq

@karuppiah7890 I ran the 2to3 plugin cleanup, and suddenly everything start showing.

NAME        	NAMESPACE   	REVISION	UPDATED                             	STATUS  	CHART               	APP VERSION
cert-manager	cert-manager	1       	2019-11-17 19:00:06.805211 +0300 +03	deployed	cert-manager-v0.11.0	v0.11.0

Thanks so much for you help.