Skip to content

(feat) Add **FailedClusters** to ClusterProfile/Profile Status#1625

Merged
gianlucam76 merged 1 commit intoprojectsveltos:mainfrom
gianlucam76:clustersummary-creation-error
Feb 24, 2026
Merged

(feat) Add **FailedClusters** to ClusterProfile/Profile Status#1625
gianlucam76 merged 1 commit intoprojectsveltos:mainfrom
gianlucam76:clustersummary-creation-error

Conversation

@gianlucam76
Copy link
Member

This PR improves observability for orchestration failures by adding a new FailedClusters field to the ClusterProfile (and Profile) status.

Previously, the visibility of deployment errors was split:

  • Deployment errors (Helm, YAML application) are reported in the ClusterSummary status.
  • Orchestration errors (failure to create or update a ClusterSummary instance itself) were only visible in the addon-controller logs.

This created a "blind spot" where users couldn't easily tell why a matching cluster had no associated ClusterSummary or why a profile wasn't progressing for a specific cluster.

The FailedClusters field now tracks these "pre-deployment" errors. If the controller fails to update a ClusterSummary for a matching cluster, it captures the error message and the cluster reference directly in the Profile's status.

  • Added FailedClusters slice to the Status struct.
  • Implemented logic to populate/clear errors during the ClusterSummary reconciliation loop.
  • Improved troubleshooting speed by surfacing orchestration-level blockers in the API.

This PR improves observability for orchestration failures by adding a new
**FailedClusters** field to the ClusterProfile (and Profile) status.

Previously, the visibility of deployment errors was split:

- Deployment errors (Helm, YAML application) are reported in the ClusterSummary status.
- Orchestration errors (failure to create or update a ClusterSummary instance itself)
were only visible in the addon-controller logs.

This created a "blind spot" where users couldn't easily tell why a matching cluster had no
associated ClusterSummary or why a profile wasn't progressing for a specific cluster.

The FailedClusters field now tracks these "pre-deployment" errors. If the controller fails
to update a ClusterSummary for a matching cluster, it captures the error message and the
cluster reference directly in the Profile's status.

- Added FailedClusters slice to the Status struct.
- Implemented logic to populate/clear errors during the ClusterSummary reconciliation loop.
- Improved troubleshooting speed by surfacing orchestration-level blockers in the API.
@gianlucam76 gianlucam76 merged commit 111d239 into projectsveltos:main Feb 24, 2026
15 of 16 checks passed
@gianlucam76 gianlucam76 deleted the clustersummary-creation-error branch February 24, 2026 07:19
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