New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Helm (tiller) might try to upgrade two revisions at the same time #3513
Comments
Maybe the double release log is normal as,
is called on failures. But it seems like a long way between the numbers? |
the newest revision that has status DEPLOYED is 222. When checking Also after applying #3514 and finding out about |
manually editing the configmap to change DEPLOYED to SUPERSEDED in |
Maybe same issue as #2941 except in this case, |
* add test for rolling back from a FAILED deployment * Update naming of release variables Use same naming as the rest of the file. * Update rollback test - Add logging - Verify other release names not changed * fix(tiller): Supersede multiple deployments There are cases when multiple revisions of a release has been marked with DEPLOYED status. This makes sure any previous deployment will be set to SUPERSEDED when doing rollbacks. Closes #2941 #3513 #3275
closed via #3539 |
* add test for rolling back from a FAILED deployment * Update naming of release variables Use same naming as the rest of the file. * Update rollback test - Add logging - Verify other release names not changed * fix(tiller): Supersede multiple deployments There are cases when multiple revisions of a release has been marked with DEPLOYED status. This makes sure any previous deployment will be set to SUPERSEDED when doing rollbacks. Closes #2941 #3513 #3275 (cherry picked from commit 5f1a21b)
* add test for rolling back from a FAILED deployment * Update naming of release variables Use same naming as the rest of the file. * Update rollback test - Add logging - Verify other release names not changed * fix(tiller): Supersede multiple deployments There are cases when multiple revisions of a release has been marked with DEPLOYED status. This makes sure any previous deployment will be set to SUPERSEDED when doing rollbacks. Closes helm#2941 helm#3513 helm#3275
* add test for rolling back from a FAILED deployment * Update naming of release variables Use same naming as the rest of the file. * Update rollback test - Add logging - Verify other release names not changed * fix(tiller): Supersede multiple deployments There are cases when multiple revisions of a release has been marked with DEPLOYED status. This makes sure any previous deployment will be set to SUPERSEDED when doing rollbacks. Closes helm#2941 helm#3513 helm#3275
* add test for rolling back from a FAILED deployment * Update naming of release variables Use same naming as the rest of the file. * Update rollback test - Add logging - Verify other release names not changed * fix(tiller): Supersede multiple deployments There are cases when multiple revisions of a release has been marked with DEPLOYED status. This makes sure any previous deployment will be set to SUPERSEDED when doing rollbacks. Closes helm#2941 helm#3513 helm#3275
I'm creating a new issue out of comments from #3275 as this looks like a bug and not a support/question. Feel free to close this one if its invalid!
After trying to apply a small configmap value change and upgrading with:
helm upgrade --install -f values-control.yaml control .
I'm getting
UPGRADE FAILED: no Secret with the name "foobar" found
.I deleted this secret and re-ran the upgrade which then caused errors on some configmap instead, deleting the configmap and doing a 3rd run once again complained on the previous secret.
Looking at tiller logs I'm seeing
It seems that tiller tries to apply the change to two revisions of one release at the same time?
helm ls
confirms that there is only one release:Trying to list history of this release causes grpc errors (related to #3512 and #3322):
This might have been triggered after upgrading from helm 2.7.x to 2.8.1 but I'm not sure as this particular cluster have been idle for some time since after the upgrade.
The text was updated successfully, but these errors were encountered: