Repository navigation
Conversation
An upgrade that fails still records the version it was reaching for, and helm list reports that as the release's chart. A release left failed at the version being upgraded to therefore answered "already at" and was skipped -- the upgrade that would repair it is the one being refused, so the VM stayed on the release that actually deployed with no way forward through the CLI. installed_version now reads the newest revision that deployed, falling back to helm list where none has, so a release that has only ever failed still reports something.
Contributor
Author
|
Not the CLI's job — this state only existed because an upgrade was run with helm directly instead of |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An upgrade that fails still records the version it was reaching for, and
helm listreports that as the release's chart.installed_versionread it from there, so a release left failed at the target version answeredalready atand was skipped — and the upgrade that would repair it is exactly the one being refused. The VM stays on whatever last deployed, with no way forward through the CLI.Hit for real: an interrupted
helm upgradetoagyn-platform-0.70.3left revision 24failed, and everyagyn local upgradeafter it reportedwhile the cluster still ran 0.70.2's workloads.
--resumedoes not cover this: it clearspending-*, which is what a killed helm leaves. A helm that handles the cancellation and marks the releasefailedlands outside that branch, and then the version check skips anyway.Change
installed_versionreports the newest revision that actually deployed, falling back tohelm listwhere none has, so a release that has only ever failed still reports something.The regression test fails on main with the real symptom (
AGYN|skip|already at 0.70.3) and passes here.