Skip to content
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

Upgrade problems #35

Open
Negashev opened this issue Jun 15, 2019 · 5 comments · May be fixed by #36
Open

Upgrade problems #35

Negashev opened this issue Jun 15, 2019 · 5 comments · May be fixed by #36

Comments

@Negashev
Copy link
Contributor

Label
In off chart is not updated after create
app: {{ template "stolon.name" . }}
https://github.com/helm/charts/blob/4527ebe8a36180ddd16973acddf476abe7264cfe/stable/stolon/templates/proxy-service.yaml#L6

In iwolf upgrade always if new version is deploy

app: {{ template "stolon.proxy.fullname" . }}

app label change with problems on rancher

Installing
Failed to install app stolon-p-nkww4. Error: UPGRADE FAILED: Deployment.apps "stolon-p-nkww4-stolon-proxy" is invalid: spec.template.metadata.labels: Invalid value: map[string]string{"release":"stolon-p-nkww4", "stolon-cluster":"kube-stolon", "app":"stolon-p-nkww4-stolon-proxy", "chart":"stolon-0.8.1", "component":"stolon-proxy"}: `selector` does not match template `labels` && Deployment.apps "stolon-p-nkww4-stolon-sentinel" is invalid: spec.template.metadata.labels: Invalid value: map[string]string{"chart":"stolon-0.8.1", "component":"stolon-sentinel", "release":"stolon-p-nkww4", "stolon-cluster":"kube-stolon", "stolon-sentinel":"true", "app":"stolon-p-nkww4-stolon-sentinel"}: `selector` does not match template `labels` && StatefulSet.apps "stolon-p-nkww4-stolon-keeper" is invalid: spec.template.metadata.labels: Invalid value: map[string]string{"chart":"stolon-0.8.1", "component":"stolon-keeper", "release":"stolon-p-nkww4", "stolon-cluster":"kube-stolon", "app":"stolon-p-nkww4-stolon-keeper"}: `selector` does not match template `labels`
@Negashev Negashev linked a pull request Jun 15, 2019 that will close this issue
@lwolf
Copy link
Owner

lwolf commented Jun 16, 2019

I'm not sure I understand your issue.
Are you trying to upgrade stolon installed by this [lwolf-charts/stolon] with stable/stolon?

@Negashev
Copy link
Contributor Author

Negashev commented Jun 16, 2019

@lwolf No, I use only iwolf/stolon, and during the update, the version of the application changes in the labels, and the statefulsets are not updated as a result, the service does not find pods before rebooting

@lwolf
Copy link
Owner

lwolf commented Jun 16, 2019

I don't see how those labels could be the reason for the failed upgrade you described, at least not the labels you are changing in the attached PR.

Could you please provide steps to reproduce the issue?

@Negashev
Copy link
Contributor Author

I can not simulate another update, but maybe this is a problem rancher that I use, but the problem is not reproduced on stable helm / stolon

@lwolf
Copy link
Owner

lwolf commented Jun 17, 2019

could you post the values.yaml file you use (with removed sensitive information like passwords) here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants