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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 4.18.z
    • 4.18.0, 4.19.0
    • Observability UI
    • Moderate
    • Yes
    • 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

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

                Created:
                Updated: