Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-31762

PrometheusOperatorRejectedResources alert firing after installing TALM Operator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.14.z
    • TALM Operator
    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      After installing TALM with user workload monitoring enabled the PrometheusOperatorRejectedResources alert is active.

       

      From the user workload prometheus operator pod the following log message:

      level=warn ts=2024-04-04T15:30:37.381302569Z caller=resource_selector.go:174 component=prometheusoperator msg="skipping servicemonitor" error="it accesses file system via bearer token file which Prometheus specification prohibits" servicemonitor=openshift-operators/cluster-group-upgrades-controller-manager-metrics-monitor namespace=openshift-user-workload-monitoring prometheus=user-workload

       

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

      4.14

      How reproducible:

      Every time

       

      Steps to Reproduce:

          1.Enable user workload monitoring
          2. Install TALM Operator
       
          

      Actual results:

          level=warn ts=2024-04-04T15:30:37.381302569Z caller=resource_selector.go:174 component=prometheusoperator msg="skipping servicemonitor" error="it accesses file system via bearer token file which Prometheus specification prohibits" servicemonitor=openshift-operators/cluster-group-upgrades-controller-manager-metrics-monitor namespace=openshift-user-workload-monitoring prometheus=user-workload

      Expected results:

          Cluster monitoring scrapes TALM metrics

      Additional info:

      Error is raised because "openshift-operators" namespace is not labeled for cluster monitoring.  Please consider changing the instructions to install the operator to a namespace owned by TALM Operator, as OpenShift GitOps has recently done.

            jche@redhat.com Jun Chen
            rhn-support-bjarvis Brian Jarvis
            Yang Liu Yang Liu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: