Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-20639

Local Agent failed to start after disabling the local cluster

XMLWordPrintable

    • GH Train-28
    • Important
    • None

      Value Statement

      The agent crashed with the following without enabling the local cluster in the global hub

      2025-05-09T02:03:54.841Z        INFO    utils/utils.go:45       Go OS/Arch: linux/amd64
      2025-05-09T02:03:54.841Z        INFO    utils/utils.go:46       Go Version: go1.23.9
      2025-05-09T02:03:54.841Z        INFO    utils/utils.go:47       Git Commit: 12e2c6a9
      2025-05-09T02:03:54.862Z        FATAL   cmd/main.go:61  failed to run the agent: failed to create manager: failed to create a new manager: failed to determine if *v1alpha1.ClusterClaim is namespaced: failed to get restmapping: no matches for kind "ClusterClaim" in version "cluster.open-cluster-management.io/v1alpha1"
      main.main
              /workspace/agent/cmd/main.go:61
      runtime.main
              /usr/local/go/src/runtime/proc.go:272

      Definition of Done for Engineering Story Owner (Checklist)

      •  

      Development Complete

      • The code is complete.
      • Functionality is working.
      • Any required downstream Docker file changes are made.

      Tests Automated

      • [ ] Unit/function tests have been automated and incorporated into the
        build.
      • [ ] 100% automated unit/function test coverage for new or changed APIs.

      Secure Design

      • [ ] Security has been assessed and incorporated into your threat model.

      Multidisciplinary Teams Readiness

      • [ ] Create an informative documentation issue using the Customer

      Portal Doc template that you can access from [The Playbook](

      https://docs.google.com/document/d/1YTqpZRH54Bnn4WJ2nZmjaCoiRtqmrc2w6DdQxe_yLZ8/edit#heading=h.9fvyr2rdriby),

      and ensure doc acceptance criteria is met.

      • Call out this sentence as it's own action:
      • [ ] Link the development issue to the doc issue.

      Support Readiness

      • [ ] The must-gather script has been updated.

              daliu@redhat.com DangPeng Liu
              clyang82 Chunlin Yang
              Hui Chen Hui Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: