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

administrator console, monitoring-alertmanager-edit user list or create silence, "Observe - Alerting - Silences" page is pending

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • 4.12.z
    • 4.12.0
    • Monitoring
    • None
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None
    • Hide
      Before this update, users granted the monitoring-alertmanager-edit role couldn't list or create silences from the OCP admin console. With this update, the admin console forwards the requests to the Alertmanager API and parses the API response to report whether the operation is successful or not.
      Show
      Before this update, users granted the monitoring-alertmanager-edit role couldn't list or create silences from the OCP admin console. With this update, the admin console forwards the requests to the Alertmanager API and parses the API response to report whether the operation is successful or not.
    • Bug Fix
    • Done

      This is a clone of issue OCPBUGS-1061. The following is the description of the original issue:

      Description of problem:

      grant monitoring-alertmanager-edit  role to user

      # oc adm policy add-cluster-role-to-user cluster-monitoring-view testuser-11
      
      # oc adm policy add-role-to-user monitoring-alertmanager-edit testuser-11 -n openshift-monitoring --role-namespace openshift-monitoring

      monitoring-alertmanager-edit user, go to administrator console, "Observe - Alerting - Silences" page is pending to list silences, debug in the console, no findings.

       

      create silence with monitoring-alertmanager-edit user for Watchdog alert, silence page is also pending, checked with kubeadmin user, "Observe - Alerting - Silences" page shows the Watchdog alert is silenced, but checked with  monitoring-alertmanager-edit user, Watchdog alert is not silenced.

      this should be a regression for https://bugzilla.redhat.com/show_bug.cgi?id=1947005 since 4.9, no such issue then, but there is similiar issue with 4.9.0-0.nightly-2022-09-05-125502 now

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

      4.12.0-0.nightly-2022-09-08-114806

      How reproducible:

      always

      Steps to Reproduce:

      1. see the description
      2.
      3.
      

      Actual results:

      administrator console, monitoring-alertmanager-edit user list or create silence, "Observe - Alerting - Silences" page is pending

      Expected results:

      should not be pending

      Additional info:

       

              spasquie@redhat.com Simon Pasquier
              openshift-crt-jira-prow OpenShift Prow Bot
              Junqi Zhao Junqi Zhao
              Brian Burt Brian Burt
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: