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

dev console, click Description link in "Alerting rule details" page, "No Alert found" shows

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • 4.18.z
    • 4.17.z, 4.16.z, 4.18.0, 4.19.0
    • Observability UI
    • Moderate
    • Yes
    • 1
    • False
    • Hide

      None

      Show
      None
    • Hide
      *Cause*: Addition of external labels to alerts in the developer perspective.
      *Consequence*: Invalid links using the external labels were unable to link from an alert rule back to an alert.
      *Fix*: Don't add the external labels to the alerts on the alerts rules page in the developers perspective.
      *Result*: The links don't contain the external labels and now link back to the individual alerts correctly.
      Show
      *Cause*: Addition of external labels to alerts in the developer perspective. *Consequence*: Invalid links using the external labels were unable to link from an alert rule back to an alert. *Fix*: Don't add the external labels to the alerts on the alerts rules page in the developers perspective. *Result*: The links don't contain the external labels and now link back to the individual alerts correctly.
    • Bug Fix
    • In Progress

      Description of problem:

      screen recording: https://drive.google.com/file/d/1Nr4sZVcePaXPG5-12ApLuQQy90mxEc9B/view?usp=drive_link

      checked on 4.18.0-0.nightly-2024-12-07-130635/4.19.0-0.nightly-2024-12-07-115816, dev console, select one project that has alerts, example: openshift-monitoring, click "Observe -> Alerts" tab, click Watchdog alert, Watchdog alert details page link is: https://

      {console_url}/dev-monitoring/ns/openshift-monitoring/alerts/1193835812?alertname=Watchdog&namespace=openshift-monitoring&severity=none, from the page, could see the alert labels are
      alertname=Watchdog
      namespace=openshift-monitoring
      severity=none 


      click Alerting rule link for Watchdog under the bottom, goes to Alerting rule details page, link is: https://{console_url}

      /dev-monitoring/ns/openshift-monitoring/rules/1193835812

      labels are

      namespace=openshift-monitoring
      prometheus=openshift-monitoring/k8s
      severity=none

      noticed the prometheus=openshift-monitoring/k8s label in the Alerting rule details page, click the Description link in "Alerting rule details" page(it should link to alert details page), shows "No Alert found". checked the link, it's https://

      {console_url}/dev-monitoring/ns/openshift-monitoring/alerts/1193835812?namespace=openshift-monitoring&prometheus=openshift-monitoring%2Fk8s&severity=none&alertname=Watchdog

      prometheus=openshift-monitoring/k8s label in the link caused the "No Alert found" result

      no such issue for 4.17, the link for Description is

      https://{console_url}

      /dev-monitoring/ns/openshift-monitoring/alerts/3816625575?namespace=openshift-monitoring&prometheus=openshift-monitoring%2Fk8s&severity=none&alertname=Watchdog

      which has the prometheus=openshift-monitoring/k8s label

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

      4.18+

      How reproducible:

      always on 4.18+, no issue for 4.17

      Steps to Reproduce:

      1. see the description
          

      Actual results:

      "No Alert found" 

      Expected results:

      links to alert detail page

            [OCPBUGS-45987] dev console, click Description link in "Alerting rule details" page, "No Alert found" shows

            Errata Tool added a comment -

            Since the problem described in this issue should be resolved in a recent advisory, it has been closed.

            For information on the advisory (Important: OpenShift Container Platform 4.18.1 bug fix and security update), and where to find the updated files, follow the link below.

            If the solution does not work for you, open a new bug report.
            https://access.redhat.com/errata/RHSA-2024:6122

            Errata Tool added a comment - Since the problem described in this issue should be resolved in a recent advisory, it has been closed. For information on the advisory (Important: OpenShift Container Platform 4.18.1 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2024:6122

            Junqi Zhao added a comment - - edited

            tested with PR

            launch 4.18,openshift/console#14608 aws

            no such issue now, Description links to alert detail page, URL is like:

            https://${console_url}/dev-monitoring/ns/openshift-monitoring/alerts/976765571?alertname=Watchdog&namespace=openshift-monitoring&severity=none

            Junqi Zhao added a comment - - edited tested with PR launch 4.18,openshift/console#14608 aws no such issue now, Description links to alert detail page, URL is like: https://$ {console_url}/dev-monitoring/ns/openshift-monitoring/alerts/976765571?alertname=Watchdog&namespace=openshift-monitoring&severity=none

              rh-ee-pyurkovi Peter Yurkovich
              juzhao@redhat.com Junqi Zhao
              Junqi Zhao Junqi Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: