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

Observability - metrics collector failed to send data through load balance to the Hub

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • ACM 2.11.0
    • Observability
    • False
    • None
    • False
    • No
    • Important

      Description of problem: I follow the Doc https://docs.google.com/document/d/1HiK_gDr_jT0eBZjD4kTnrDPL72qalbPuSFo5cn4FMvk/edit#heading=h.ewpwhowdpnnj

      to set up the ACM Hub with Load balancers (L3/L4) supports SSL pass-through

      And set customer URL in the MCOCR as https://issues.redhat.com/browse/ACM-11407 described

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

      How reproducible:

      Steps to Reproduce:

      1. set up load balance server
      2. set up the ACM + managed cluster
      3. setting as the Doc described https://docs.google.com/document/d/1HiK_gDr_jT0eBZjD4kTnrDPL72qalbPuSFo5cn4FMvk/edit#heading=h.gbi3bphza0ig
      4. set custom URL into the MCOCR as
        ```
        spec:
          advanced:
            customAlertmanagerHubURL: https://slai-lb-server.dev09.red-chesterfield.com:6443
            customObservabilityHubURL: https://slai-lb-server.dev09.red-chesterfield.com:6443
        ```
      5. Check the metrics collector log on the managed cluster
      6. There's error generated
        ```
        level=warn caller=logger.go:55 ts=2024-05-09T10:27:12.688071748Z component=forwarder component=metricsclient msg="error: failed to forward request happened at time: 2.211255055s" level=warn caller=logger.go:55 ts=2024-05-09T10:27:14.909277855Z component=forwarder component=metricsclient msg="failed to forward request" err="Post \"https://observatorium-api-open-cluster-management-observability.apps.cqu-obs-proxy-hub2.dev09.red-chesterfield.com/api/metrics/v1/default/api/v1/receive\": tls: failed to verify certificate: x509: certificate is valid for observability-server-certificate, observability-observatorium-api.open-cluster-management-observability.svc.cluster.local, https://slai-lb-server.dev09.red-chesterfield.com:6443, not observatorium-api-open-cluster-management-observability.apps.cqu-obs-proxy-hub2.dev09.red-chesterfield.com" level=warn caller=logger.go:55 ts=2024-05-09T10:27:14.909315789Z component=forwarder component=metricsclient msg="error: failed to forward request happened at time: 3.870843531s"
        ```

      Actual results:

      Expected results:

      Additional info:

            rh-ee-doolivei Douglas Camata
            cquredhat ChangLiang Qu
            Xiang Yin Xiang Yin
            ACM QE Team
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: