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

dev console, "Silence details" page, click Alert link under "Firing alerts" section, "No Alert found" shows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.18.0, 4.19.0
    • Observability UI
    • Moderate
    • Yes
    • 1
    • False
    • Hide

      None

      Show
      None
    • Hide
      *Cause*: Migration from the openshift/console to the openshift/monitoring-plugin codebase failed to pass the namespace into the URL generator function.
      *Consequence*: The namespace was then set as "undefined".
      *Fix*: Pass the namespace into the URL generator functions
      *Result*: The namespace is then set correctly in the links
      Show
      *Cause*: Migration from the openshift/console to the openshift/monitoring-plugin codebase failed to pass the namespace into the URL generator function. *Consequence*: The namespace was then set as "undefined". *Fix*: Pass the namespace into the URL generator functions *Result*: The namespace is then set correctly in the links
    • Bug Fix
    • In Progress

      Description of problem:

      dev console, select one project that has alerts, example: openshift-monitoring, silence one Alert, example Watchdog, go to the "Silence details" page, click the Watchdog link under "Firing alerts" section, "No Alert found" shows, which should go to the alert details page, see screen recording: https://drive.google.com/file/d/1lUKLoHpmBKuzd8MmEUaUJRPgIkI1LjCj/view?usp=drive_link

      the issue is happen with 4.18.0-0.nightly-2025-01-04-101226/4.19.0-0.nightly-2025-01-07-234605, no issue withe 4.17

      checked the links for Watchdog link under "Firing alerts" section, there is undefined in the link, which should be namespace(openshift-monitoring) like 4.17

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

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

      4.17

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

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

      4.18+

      How reproducible:

      always for 4.18+

      Steps to Reproduce:

      1. see the description

      Actual results:

      "No Alert found" shows   

      Expected results:

      no error

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

                Created:
                Updated: