Skip to content

chore: Update libsveltos so clusters with connection down are skipped - #2028

Merged
gianlucam76 merged 1 commit into
projectsveltos:mainfrom
gianlucam76:cluster-down
Oct 10, 2026
Merged

gianlucam76 merged 1 commit into
projectsveltos:mainfrom
gianlucam76:cluster-down

Conversation

@gianlucam76

Copy link
Copy Markdown
Member

libsveltos now treats a SveltosCluster whose connection is down as not ready to be configured (Status.Ready stays true while the connection is down, so it was not caught before) and reconciles when the connection is back. Pull mode is unaffected: its connection status mirrors the agent heartbeat, which is already verified separately.

addon-controller already uses IsClusterReadyToBeConfigured to decide whether to process a cluster, so with this bump it no longer tries to collect ResourceSummaries from, or upgrade drift-detection-manager in, a cluster that cannot be reached. That removes the repeated "failed to collect ResourceSummaries: compatibility checks failed" and i/o timeout logs for a down cluster.

Add a unit test so skipCollecting keeps skipping such a cluster.

libsveltos now treats a SveltosCluster whose connection is down as not
ready to be configured (Status.Ready stays true while the connection is
down, so it was not caught before) and reconciles when the connection is
back. Pull mode is unaffected: its connection status mirrors the agent
heartbeat, which is already verified separately.

addon-controller already uses IsClusterReadyToBeConfigured to decide
whether to process a cluster, so with this bump it no longer tries to
collect ResourceSummaries from, or upgrade drift-detection-manager in, a
cluster that cannot be reached. That removes the repeated "failed to
collect ResourceSummaries: compatibility checks failed" and i/o timeout
logs for a down cluster.

Add a unit test so skipCollecting keeps skipping such a cluster.
@gianlucam76
gianlucam76 merged commit 9bc39ad into projectsveltos:main Oct 10, 2026
12 checks passed
@gianlucam76
gianlucam76 deleted the cluster-down branch October 10, 2026 14:08
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