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

[Virtualization] - Virtualization > Overview and Cluster > Overview > All links related to alerts are broken (View all, View warning, View alerts and View details) are broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.18.z
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      In Virtualization perspective, we have:
      - Overview page - Alerts section with 2 links:
         > View all
         > if you have alerts, in my case some warning, you can expand twice and View warning link
      
         View all:
         <a class="alerts-card__view-all-link" href="/monitoring/alerts?rowFilter-alert-state=firing&amp;rowFilter-alert-source=platform&amp;alerts=kubernetes_operator_part_of%3Dkubevirt">View all</a>
      
         View warning
         <a href="/monitoring/alerts/3729954230?alertname=CDIDefaultStorageClassDegraded&amp;kubernetes_operator_component=containerized-data-importer&amp;kubernetes_operator_part_of=kubevirt&amp;operator_health_impact=none&amp;severity=warning">View warning</a>
      
      - Cluster > Overview page - Status section
         > View alerts
        <a data-test="status-card-view-alerts" href="/monitoring/alerts">View alerts</a>
         > View details
         <a href="/monitoring/alerts/867393451?prometheus=openshift-monitoring%2Fk8s&amp;severity=warning&amp;alertname=PrometheusOperatorRejectedResources&amp;container=kube-rbac-proxy&amp;controller=prometheus&amp;endpoint=https&amp;instance=10.128.0.90%3A8443&amp;job=prometheus-operator&amp;namespace=openshift-user-workload-monitoring&amp;pod=prometheus-operator-765bc46d5-d7555&amp;resource=ServiceMonitor&amp;service=prometheus-operator&amp;state=rejected">View details</a>
      
      
      On Virtualization perspective, the path to Observe > Alerting > Alerts page contains virt-monitoring.
      
      On Administration perspective, we also have Virtualization > Overview page. In this page it is working fine, because the path is really /monitoring/. So, this page should not change, only under Virtualization perspective.

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

          4.18

      How reproducible:

          Always

      Steps to Reproduce:

          1. Log into OCP as kubeadmin
          2. Install OpenShift Virtualization and configure Hyperconverged
          3. Wait for the request to refresh the browser
          4. Switch to Virtualization perspective
          5. Click on Overview page
          6. Scroll down to reach Alerts section
          7. Verify View all link and click => see Actual results
          8. Expand twice and Verify View warning link and click => see Actual results
          9. Go To Cluster menu > Overview page
         10. On Status section, verify View alerts link and click => see Actual results
         11. On Status section, verify View details link and click => see Actual results
          
          

      Actual results:

          All links are pointing to /monitoring/, instead of /virt-monitoring/, resulting in a broken / blank page.

      Expected results:

          Links should point and bring all necessary data/parameters to be shown in Observe > Alerting > Alerts page, Alert detail page.

      Additional info:

          

              kmajcher@redhat.com Krzysztof Majcher
              rh-ee-emurasak Evelyn Murasaki
              None
              Gabriel Bernal, Peter Yurkovich, YaDan Pei
              Yu Li Yu Li
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: