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

Observability - can't specify hub's endpoint operator and metrics collector on the specify node

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Moderate
    • No

      Description of problem:

      When the code change of 8509 is involved, there's no ManagedClusterAddOn on the hub for the local-clsuter(selfmanagement is disabled), so create the addonDeploymentConfig, and add it into the ManagedClusterAddOn to specify the endpoint operator and metrics collector is not working now. 

      Need Dev to confirm it's working as designed now,  or take it as the issue.

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

      How reproducible:

      Steps to Reproduce:

      1.  Enabled the observbaility in the ACM with selfmanagement is disabled
      2. create AddOnDeploymentConfig to specify one node name
        ```
        apiVersion: addon.open-cluster-management.io/v1alpha1
        kind: AddOnDeploymentConfig
        metadata:
          name: observability
          namespace: open-cluster-management-observability
        spec:
          nodePlacement:
            nodeSelector:
              kubernetes.io/hostname: ip-10-0-49-135.us-east-2.compute.internal
        ```
      3. add the  AddOnDeploymentConfig into the ManagedClusterAddOn
        ```
        apiVersion: addon.open-cluster-management.io/v1alpha1
        kind: ManagedClusterAddOn
        metadata:
          name: observability-controller
          namespace: open-cluster-management-observability
        spec:
          configs:
          - group: addon.open-cluster-management.io
            resource: addondeploymentconfigs
            name: observability
            namespace: open-cluster-management-observability
        ```
      4. the endpoint operator and metrics collector are not running on the specified node.
      5. add the AddOnDeploymentConfig into the ClusterManagementAddOn is also not working, endpoint operator and metrics collector are not running on the specified node as well
        ```
        apiVersion: addon.open-cluster-management.io/v1alpha1
        kind: ClusterManagementAddOn
        metadata:
          name: observability-controller
        spec:
          addOnMeta:
            displayName: observability-controller
            description: observability-controller
          supportedConfigs:
          - group: addon.open-cluster-management.io
            resource: addondeploymentconfigs
            defaultConfig:
              name: observability
              namespace: open-cluster-management-observability
        ```

      Actual results:

      Expected results:

      Additional info:

              rh-ee-coquadro Coleen Iona Quadros
              cquredhat ChangLiang Qu
              Xiang Yin Xiang Yin
              ACM QE Team
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: