Uploaded image for project: 'Observability UI'
  1. Observability UI
  2. OU-718

Developer using Admistrator view or in Developer > Observe having a Forbidden error accessing to the metrics and alerts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • OpenShift 4.17, OpenShift 4.18
    • Admin-Console, Dev-Console
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 1
    • Important
    • None
    • None
    • Sprint 278
    • None
    • None
    • None

      ISSUE 1
      Developers when using the "Administrator" view are not able to view the details for the metrics.

      For reproducing it, log in as a normal user in the OpenShift Console and select Administrator view, go to Workloads > Pods > <Pod name> > Metrics trab and observe the metrics:

      Now, click on any of the metrics, for instance "Memory usage" to inspect the details, and nothing is presented on the screen:

      Needed to mention that when inspecting in a browser, it's observed "403 Forbidden" accessing also to:

      https://console-openshift-console.apps.example.com/api/prometheus/api/v1/rules
      https://console-openshift-console.apps.example.com/api/alertmanager/api/v2/silences
      

      Also, when accessing to the OpenShift Console and select Administrator view, go to Workloads > Pods > <Pod name> > Metrics trab. The result is empty, but it's observed the "Dashboards" section that when clicked and fails and redirect to the Dahsboard: "kubernetes / Compute Resources / Namespace (Pods) receiving a "Forbidden error":

       

      ISSUE 2

      Developers when using the "Developer" view receiving an Forbidden error when accessing to "Observe > Alerts":

      or receiving an "Access restricted" when accessing to "Observe > Metrics"

      Note: The user is the admin of the namespace "testalerts":

              rh-ee-pyurkovi Peter Yurkovich
              rhn-support-ocasalsa Oscar Casal Sanchez
              None
              None
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: