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

Broken monitoring perspective switching for namespaced user

XMLWordPrintable

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

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • In Progress
    • Bug Fix
    • Hide
      *Cause*: The URL being linked to is in the developer perspective, but the perspective isn't switched when clicking the link.
      *Consequence*: There is a blank page shown
      *Fix*: Change the perspective when clicking the link
      *Result*: The page is correctly shown
      Show
      *Cause*: The URL being linked to is in the developer perspective, but the perspective isn't switched when clicking the link. *Consequence*: There is a blank page shown *Fix*: Change the perspective when clicking the link *Result*: The page is correctly shown
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-59215. The following is the description of the original issue:

      Description of problem:

      4.12.69
      Logged in as a default "user", I create a project as that user and deploy a pod into the namespace. 
      If I then navigate to: Adminsitrator -> workloads -> pods -> click the pod name -> select metrics tab -> click the CPU usage tile. 
      I Then find myself in an "observe" panel with the option to "show PromQL"
      If I hit show PromQL the following query is returned:
      ~~~
      pod:container_cpu_usage:sum{pod='nodejs-basic-1-build',namespace='test01'} 
      ~~~
      In a 4.17.20 cluster:
      Logged in as a default user, I create a project as that user and deploy a pod into the namespace. 
      If I then navigate to: Adminsitrator -> workloads -> pods -> click the pod name -> select metrics tab -> click the CPU usage tile.
      I then find myself in an observe window...but without the query window embeded within, instead I see some panel headings but otherwise a blank page
           

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

          

      How reproducible:

          Always

      Steps to Reproduce:

          1. Give a new user the "admin" role in a single namespace 
          2. Create a pod in that namespace
          3. Go to "Admin > Workloads > Pods > {Select Pod from Step 2} > Metrics"
          4. Click on a graph
          

      Actual results:

          URL includes dev-monitoring, however since the perspective is still "Admin" and not "Dev" the page is blank

      Expected results:

          The URL should include dev-monitoring and the perspective should be "Dev", leading to the page being displayed.

      Additional info:

          

              gbernal@redhat.com Gabriel Bernal
              rhn-support-nigsmith Nigel Smith
              None
              None
              Evelyn Murasaki Evelyn Murasaki
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: