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

Cluster Settings page > Alertmanager shows nothing when monitoring-plugin is installed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Critical Critical
    • None
    • 4.14
    • Management Console
    • None
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:
      This is a follow-up on OCPBUGS-14964. The Alertmanager page doesn't work when the monitoring-plugin (tested with version 1.0.0) is enabled.

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

      How reproducible:
      Always on a nightly 4.14 cluster with enabled monitoring-operator

      Steps to Reproduce:
      Navigate to Cluster Settings > Configuration > AlertManager

      Actual results:
      The page shows just an empty page. No loading indicator, no content.

      Expected results:
      Page should load as there is no monitoring-plugin

      Additional info:
      The monitoring-plugin says its responsible for all /monitoring/ URLs

          {
            "type": "console.page/route",
            "properties": {
              "exact": false,
              "path": "/monitoring/",
              "component": {
                "$codeRef": "MonitoringUI"
              }
            }
          },
      

      https://github.com/openshift/monitoring-plugin/blob/main/src/components/alerting.tsx#L2260-L2272

      But some the paths /monitoring/alertmanageryaml and /monitoring/alertmanagerconfig are handled by the console itself.

      See slack thread: https://redhat-internal.slack.com/archives/C6A3NV5J9/p1686827248134279?thread_ts=1686666034.315849&cid=C6A3NV5J9

      Please reenable the e2e tests in console: frontend/integration-tests/tests/monitoring.scenario.ts by reverting this PR: https://github.com/openshift/console/pull/12901/files

            anpicker@redhat.com Andrew Pickering
            spathak Sanket Pathak
            Xiyun Zhao Xiyun Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: