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

Blank Page When Viewing Detailed Pod Metrics in Administrator View for Non-Admin Users in OpenShift Web Console

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.17.z, 4.16.z, 4.18.z
    • Observability UI
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • Production
    • None
    • None
    • None
    • Sprint 280
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The customer reported an issue where they cannot view detailed metrics for pods when using the Administrator view in the OpenShift Web Console. Clicking on any of the default diagrams redirects them to a blank page instead of the Metrics explorer page, where they can adjust the time range or queries. This issue does not occur when using the Developer view. The impact to the business is that users have to constantly switch contexts in the OpenShift Web Console to evaluate metrics.

      I tested this in OCP 4.18 version

      Created a non-admin user (amrin) in namespace ns-a.

      Granted the view role to the user.

      Added the following roles:

      oc adm policy add-role-to-user monitoring-rules-edit amrin -n ns-a
      oc adm policy add-role-to-user monitoring-rules-view amrin -n ns-a

      Logged in as user amrin.

      In the Developer view, I’m able to see detailed metrics as expected.

      However, in the Administrator view, navigating to Workloads → Pods

              gbernal@redhat.com Gabriel Bernal
              rhn-support-samrinha SAYED AMRIN HANIF
              None
              None
              Junqi Zhao Junqi Zhao
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: