Uploaded image for project: 'OpenShift SDN'
  1. OpenShift SDN
  2. SDN-3515

Targets for service monitor in the hosted control plane are not up


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • False
    • None
    • False
    • ---
    • SDN Sprint 225, SDN Sprint 226
    • 0
    • 0

      The issue found while testing HOSTEDCP-400 and HOSTEDCP-401.

      Hypershift operator installed with flags:




      Service monitors and pod monitors in the control plane:


      [jiezhao@cube hypershift]$ oc get servicemonitor -n clusters-jz-test
      NAME                                  AGE
      catalog-operator                      45m
      cluster-version-operator              45m
      etcd                                  46m
      kube-apiserver                        46m
      kube-controller-manager               45m
      monitor-multus-admission-controller   43m
      monitor-ovn-master-metrics            43m
      node-tuning-operator                  45m
      olm-operator                          45m
      openshift-apiserver                   45m
      openshift-controller-manager          45m
      [jiezhao@cube hypershift]$ oc get podmonitor -n clusters-jz-test
      NAME                              AGE
      cluster-image-registry-operator   46m
      controlplane-operator             47m
      hosted-cluster-config-operator    46m
      ignition-server                   47m


      In OCP management web console, go to Observe->Targets:


      1. Status of service monitor 'monitor-multus-admission-controller' is Down, error:
         Scraped failed: server returned HTTP status 401 Unauthorized.
         It doesn't have cluster id in target labels
      2. Target of pod monitor 'cluster-image-registry-operator' is missing, not shown


            pdiak@redhat.com Patryk Diak
            rhn-support-jiezhao Jie Zhao
            0 Vote for this issue
            2 Start watching this issue