Skip to content

GetServices error silently dropped without errTracker making failed clusters appear healthy with zero services #7780

@aashu2006

Description

@aashu2006

User Request

Type: bug
Target: Console Application
Submitted by: @aashu2006
Console Request ID: d53c3530-e114-4114-9946-0aa045074093

Description

What happened:
In pkg/api/handlers/mcp_workloads.go:363-366, GetServices errors are silently dropped with a bare return and no errTracker.add() call. Unlike the pods and issues handlers which correctly track per-cluster errors, a failed cluster silently appears to have zero services with no error indication in the response.

What I expected:
Should use errTracker.add(clusterName, err) consistent with other multi-cluster handlers before returning.

Steps to reproduce:

  1. Make a cluster's service API unreachable
  2. Call the GetServices endpoint
  3. Observe the cluster shows zero services with no error indication

This issue was automatically created from the KubeStellar Console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ai-fix-requestedai-processingAI is currently processing this issuekind/bugCategorizes issue or PR as related to a bug.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions