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

Address cases of previous installs of charts stuck in Helm uninstalling state #2

Open
rockholla opened this issue Nov 25, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers v1 Targetted for a further v1 release

Comments

@rockholla
Copy link
Contributor

rockholla commented Nov 25, 2020

If we have a chart that ends up stuck in an uninstalling state, either by way of Loftsman trying to clean out a failed initial release or otherwise:

$ helm ls -A --uninstalling
NAME     NAMESPACE  REVISION  UPDATED                                  STATUS        CHART           APP VERSION
chart    default    1         2020-11-24 10:14:26.158788578 -0600 CST  uninstalling  chart-1.0.0     1.0.0

We'll get errors back like:

2020-11-24T18:04:41-06:00 ERR Error releasing chart chart v1.0.1: Shell error: Error: UPGRADE FAILED: "chart" has no deployed releases chart=chart command=ship namespace=default version=1.0.1

Which at least doesn't tell us clearly the underlying cause. This all remains workaround for Helm shortcomings in this area, but that's a big part of Loftsman at this point, so we should improve the UX here either by way of better messaging, or even better to be able to clean things up further generically if we can.

@rockholla rockholla added the enhancement New feature or request label Nov 25, 2020
@rockholla rockholla added good first issue Good for newcomers v1 Targetted for a further v1 release labels Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers v1 Targetted for a further v1 release
Projects
None yet
Development

No branches or pull requests

1 participant