You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
AKS
I have prepared helm chart for my application and sometimes helm releases get stuck in Pending-Upgrade Status while performing "helm upgrade -i ". I found the workaround mentioned in the below issue: #7476
The workaround is to do a helm rollback.
But I get the below error sometimes while performing a helm rollback.
Error: has no deployed releases
I assumed that this error may occur because the helm release status is "Pending-Upgrade" and none of the releases are in deployed state. But what's unclear here is why does the helm rollback succeed sometimes.
It would be great if someone could help me to troubleshoot the following:
Helm release status stuck in "Pending-Upgrade" state.
Helm rollback fails and displays " has no deployed releases".
The text was updated successfully, but these errors were encountered:
The first thing you can do is to use the flags -v 10 --debug. This will tell and the underlying Kubernetes libraries (used to communicate to the cluster) to report debugging information. In that information you may see more detail about what's going on.
In Helm you'll find a general flow where a release record is created saying that an action (e.g., upgrade) is pending, then the action is performed (in your case upgrade), and then the record is updated to say it was completed. The pending stuck state is because the upgrade itself is having issues. That part of the reason I suggested the two debugging flags. So you can try to see where it would be getting stuck.
The no deployed releases error is because Helm tried to look up the previous deployed release and did not find one. You can find the code here.
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
Output of
helm version
:version.BuildInfo{Version:"v3.5.3", GitCommit:"041ce5a2c17a58be0fcd5f5e16fb3e7e95fea622", GitTreeState:"dirty", GoVersion:"go1.15.8"}
Output of
kubectl version
:Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.5", GitCommit:"6b1d87acf3c8253c123756b9e61dac642678305f", GitTreeState:"clean", BuildDate:"2021-03-18T01:10:43Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.6", GitCommit:"c7c4f6ce84bf8535a782b67465807651a4bd649b", GitTreeState:"clean", BuildDate:"2021-01-18T09:49:05Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
AKS
I have prepared helm chart for my application and sometimes helm releases get stuck in Pending-Upgrade Status while performing "helm upgrade -i ". I found the workaround mentioned in the below issue:
#7476
The workaround is to do a helm rollback.
But I get the below error sometimes while performing a helm rollback.
Error: has no deployed releases
I assumed that this error may occur because the helm release status is "Pending-Upgrade" and none of the releases are in deployed state. But what's unclear here is why does the helm rollback succeed sometimes.
It would be great if someone could help me to troubleshoot the following:
The text was updated successfully, but these errors were encountered: