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
Multiple revisions in DEPLOYED state.
The issue appeared after upgrade to Helm 3. Tried complete re-installation of the chart with deleting all helm-related secrets, but after some number of deploys, the issues appears again
kubectl get secret -l owner=helm,status=deployed,name=test
In my case, there are 1 big release always has 4 revisions in deployed state.
the earliest deployed revisions became superseded after news deploys.
but other releases has 1 deployed revision.
sometime developers upgrade the big release in the same time.
@bacongobbler unfortunately, i do not have exact steps to reproduce it locally, but it definitely happens on concurrent upgrade with --wait flag enabled
I have caught the same bug. @avarabyeu--wait does not affect @bacongobbler To reproduce try run helm upgrade on the different environments(in my case it is gitlab-ci runner's pods) in one time to upgrade the same release
I believe the users in #6031 stumbled across the same root cause (albeit in Helm 2). In certain cases, multiple Releases may show up as DEPLOYED, which may cause various problems.
Activity
bacongobbler commentedon Dec 19, 2019
Hi @avarabyeu. Can you demonstrate how one can reproduce this locally?
jason-liew commentedon Dec 20, 2019
In my case, there are 1 big release always has 4 revisions in
deployedstate.the earliest deployed revisions became
supersededafter news deploys.but other releases has 1 deployed revision.
sometime developers upgrade the big release in the same time.
avarabyeu commentedon Dec 20, 2019
@bacongobbler unfortunately, i do not have exact steps to reproduce it locally, but it definitely happens on concurrent upgrade with
--waitflag enabledvkobets commentedon Dec 27, 2019
I have caught the same bug.
@avarabyeu
--waitdoes not affect@bacongobbler To reproduce try run
helm upgradeon the different environments(in my case it is gitlab-ci runner's pods) in one time to upgrade the same releasecristiklein commentedon Jan 1, 2020
I believe the users in #6031 stumbled across the same root cause (albeit in Helm 2). In certain cases, multiple Releases may show up as DEPLOYED, which may cause various problems.
cristiklein commentedon Jan 1, 2020
I managed to reproduce this bug with Helm (v3.0.2) as follows:
While the last command executes, in a different terminal, wait for
pending-upgradestatus, then type:The two
helm upgradecommands must run in parallel.helm history foowill look as follows:fix(helm): Avoid corrupting storage via a lock
fix(helm): Avoid corrupting storage via a lock
fix(helm): Avoid corrupting storage via a lock