Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/redis] Helm3 Upgrade Failing #20921

Closed
dominik-bln opened this issue Feb 21, 2020 · 6 comments
Closed

[stable/redis] Helm3 Upgrade Failing #20921

dominik-bln opened this issue Feb 21, 2020 · 6 comments
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@dominik-bln
Copy link

Describe the bug

When trying to upgrade a stable/redis release from Helm 2 to Helm 3, the initial conversion is working, but the next release fails due to an immutable statefulset issue.

Version of Helm and Kubernetes:

Helm v3.0.3
Kubernetes 1.17.2

Which chart:

stable/redis

What happened:

The StatefulSet "review-helm3-7yge49-redis-master" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden

What you expected to happen:

The deploy should pass.

How to reproduce it (as minimally and precisely as possible):

Install a redis release with Helm2, use helm3 with the 2to3 plugin to convert the release and do a deploy with helm3.

Anything else we need to know:

My best guess is that this is a similar issue to #7803 and happening due to the fact that Helm3 changes heritage from Tiller to Helm, which in turn updates the volume claim template:

heritage: {{ .Release.Service }}

@dominik-bln
Copy link
Author

Looks like there is a proposal on the Helm repo that could also fix this problem for us:

helm/helm#7211

@juan131
Copy link
Collaborator

juan131 commented Feb 24, 2020

Hi @dominik-bln

This issue was already reported for other chart and it's related to the label below which solves to Tiller in Helm2, and Helm in Helm3:

heritage: {{ .Release.Service | quote }} 

See:

@stale
Copy link

stale bot commented Mar 26, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

@stale stale bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 26, 2020
@dominik-bln
Copy link
Author

This issue is not stale. Still a blocker for the Helm3 update for us.

@stale stale bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 26, 2020
@stale
Copy link

stale bot commented Apr 25, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

@stale stale bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 25, 2020
@stale
Copy link

stale bot commented May 9, 2020

This issue is being automatically closed due to inactivity.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants