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 FAILED: ... has no deployed releases #180

Closed
estahn opened this issue Jun 29, 2018 · 10 comments
Closed

UPGRADE FAILED: ... has no deployed releases #180

estahn opened this issue Jun 29, 2018 · 10 comments

Comments

@estahn
Copy link

estahn commented Jun 29, 2018

exec: helm upgrade --install --reset-values cheeky-chick stable/prometheus-cloudwatch-exporter --version 0.1.2 --namespace devops --values /p/prometheus-cloudwatch-exporter-us-east-1/values.yaml
Error: UPGRADE FAILED: "cheeky-chick" has no deployed releases
err: exit status 1

Added a new thing to the helmfile but get the above error.

  - name: cheeky-chick
    namespace: devops
    chart: stable/prometheus-cloudwatch-exporter
    version: 0.1.2
    values:
      - devops/prometheus-cloudwatch-exporter-us-east-1/values.yaml
@estahn
Copy link
Author

estahn commented Jun 29, 2018

This is probably more related to helm.

helm/helm#4282

@estahn estahn closed this as completed Jun 29, 2018
@bgarcial
Copy link

I've performed

⟩ helm upgrade <my-release-name> ./<path-of-my-helm-chart> --install

And I can upgrade my helm chart without the need to perform previously

helm del --purge <my-release-name>

⟩ helm upgrade <my-release-name> ./<path-of-my-helm-chart> --install
Release "<my-release-name>" has been upgraded. Happy Helming!
LAST DEPLOYED: Thu Feb 21 11:50:03 2019
NAMESPACE: default
STATUS: DEPLOYED

RESOURCES:
==> v1/Service
NAME                        TYPE       CLUSTER-IP    EXTERNAL-IP  PORT(S)  AGE
<my-release-name>  ClusterIP  x.x.x.x                   <none>       80/TCP   5d17h

NOTES:
The “help text” for your chart. This will be displayed to your users when they run helm install.
[I] 
~/workspace/ZCRM365/CD-to-AKS · (Deployments±)
⟩ 

@rafaelfelix
Copy link

rafaelfelix commented May 8, 2019

I could only overcome this by running helm del --purge <my-release-name>, then helmfile apply.

$ helmfile --version
helmfile version v0.54.2

$ helm version
Client: &version.Version{SemVer:"v2.13.1", GitCommit:"618447cbf203d147601b4b9bd7f8c37a5d39fbb4", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.13.1", GitCommit:"618447cbf203d147601b4b9bd7f8c37a5d39fbb4", GitTreeState:"clean"}

@mumoshu
Copy link
Collaborator

mumoshu commented May 8, 2019

Thansk for the info!

If it works after helm del --purge, you'd like to set atomic: true for your relase in helmfile.yaml. See the help for --atomic flag that has been added to helm recently for more context.

@mumoshu
Copy link
Collaborator

mumoshu commented May 8, 2019

And probably we'll make it default #512

@Morriz
Copy link

Morriz commented Nov 19, 2019

I don't know about others, but we deploy from a monorepo and setting atomic: true would cause the whole deployment to be reverted. Is there a possibility to have a flag that forces a single chart to be atomic? I am getting tired of this error...

@Morriz
Copy link

Morriz commented Nov 19, 2019

/reopen

@mumoshu
Copy link
Collaborator

mumoshu commented Nov 19, 2019

@Morriz Hm? atomic: true does exactly that.

@mumoshu
Copy link
Collaborator

mumoshu commented Apr 27, 2021

@Morriz Hey! So what you wanted was making only one sub-chart of your umbrella chart to be atomic? If so, that's impossible, and should be a feature request to helm, not helmfile.

@Morriz
Copy link

Morriz commented Apr 28, 2021

I do not remember if the atomic flag can be set on one release only. I think I tried, but am not sure. Will try.

raxod502-plaid pushed a commit to raxod502-plaid/helmfile that referenced this issue Jun 30, 2022
…hub.com/stretchr/testify-1.7.5

Bump github.com/stretchr/testify from 1.7.4 to 1.7.5
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

No branches or pull requests

5 participants