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

The Available condition of the hosted managed cluster becomes false once the klusterlet namespace is deleted on the managed cluster

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • ACM 2.11.0
    • ACM 2.11.0
    • Server Foundation
    • None
    • False
    • None
    • False
    • 2
    • SF Train-15 2024-03
    • Important
    • No

      Description of problem:

      The Available condition of the hosted managed cluster becomes false once the klusterlet namespace is deleted on the managed cluster.

      Version-Release number of selected component (if applicable):

      How reproducible:

      Steps to Reproduce:

      1. A managed cluster is imported in hosted mode;
      2. Once the Available condition of the cluster becomes true, delete the klusterlet namespace open-cluster-management-agent on the managed cluster;

      Actual results:

      1. The Available condition of the managed cluster becomes false soon;
      2. The following errors can be found in the log of registration agent
      W0605 09:35:28.064656       1 reflector.go:539] k8s.io/client-go@v0.29.0/tools/cache/reflector.go:229: failed to list *v1.Node: Unauthorized
      E0605 09:35:28.064686       1 reflector.go:147] k8s.io/client-go@v0.29.0/tools/cache/reflector.go:229: Failed to watch *v1.Node: failed to list *v1.Node: Unauthorized
      W0605 09:36:11.537380       1 reflector.go:539] k8s.io/client-go@v0.29.0/tools/cache/reflector.go:229: failed to list *v1.Node: Unauthorized
      E0605 09:36:11.537416       1 reflector.go:147] k8s.io/client-go@v0.29.0/tools/cache/reflector.go:229: Failed to watch *v1.Node: failed to list *v1.Node: Unauthorized 

      Expected results:

      The Available condition of the cluster keeps true and the namespace open-cluster-management-agent is recreated.

      Additional info:

              jiazhu@redhat.com Jian Zhu
              leyan@redhat.com Le Yang
              Hui Chen Hui Chen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: