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

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
    • Sprint 274
    • 1
    • Done
    • Bug Fix
    • Hide
      Before this update, the linked URL is in the developer perspective, but the perspective is not switched when you click the link. As a consequence, a blank page is shown. With this releae, the perspective changes when you click the link and the page is correctly shown. (link:https://issues.redhat.com/browse/OCPBUGS-59215[OCPBUGS-59215])
      Show
      Before this update, the linked URL is in the developer perspective, but the perspective is not switched when you click the link. As a consequence, a blank page is shown. With this releae, the perspective changes when you click the link and the page is correctly shown. (link: https://issues.redhat.com/browse/OCPBUGS-59215 [ OCPBUGS-59215 ])
    • None
    • None
    • None
    • None

      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:

          

              rh-ee-pyurkovi Peter Yurkovich
              rhn-support-nigsmith Nigel Smith
              None
              None
              Evelyn Murasaki Evelyn Murasaki
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: