Skip to content

fix: Surface removeResourceSummary failures in ClusterSummary status - #1947

Merged
gianlucam76 merged 1 commit into
projectsveltos:mainfrom
gianlucam76:bug-1945
Sep 7, 2026
Merged

fix: Surface removeResourceSummary failures in ClusterSummary status#1947
gianlucam76 merged 1 commit into
projectsveltos:mainfrom
gianlucam76:bug-1945

Conversation

@gianlucam76

Copy link
Copy Markdown
Member

removeResourceSummary failing (in both prepareForDeployment and cleanupBeforeFinalizerRemoval) was only logged, never written to ClusterSummary.status. An ongoing failure was invisible to kubectl get clustersummary; status just sat wherever it last was (often Provisioning), silently retrying every reconcile with no visible sign anything was wrong.

Both call sites now call setFailureMessage/resetFeatureStatus on that error, the same helpers updateChartMap's NotFound handling already used three lines above one of them. FeatureStatusFailed (retriable) rather than FeatureStatusFailedNonRetriable, since this class of failure is generally transient and already retried via requeue.

removeResourceSummary failing (in both prepareForDeployment and
cleanupBeforeFinalizerRemoval) was only logged, never written to
ClusterSummary.status. An ongoing failure was invisible to
`kubectl get clustersummary`; status just sat wherever it last was (often
Provisioning), silently retrying every reconcile with no visible sign
anything was wrong.

Both call sites now call setFailureMessage/resetFeatureStatus on that
error, the same helpers updateChartMap's NotFound handling already used
three lines above one of them. FeatureStatusFailed (retriable) rather than
FeatureStatusFailedNonRetriable, since this class of failure is generally
transient and already retried via requeue.
@gianlucam76
gianlucam76 merged commit f15c6be into projectsveltos:main Sep 7, 2026
12 checks passed
@gianlucam76
gianlucam76 deleted the bug-1945 branch September 7, 2026 07:38
@gianlucam76

Copy link
Copy Markdown
Member Author

Fixes #1945

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 this pull request may close these issues.

1 participant