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

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
    • None
    • 4.12.0
    • Monitoring
    • None
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None
    • NA
    • Release Note Not Required

      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:

       

        1. kubeadmin-network_with_silences.png
          2.10 MB
          Juan Rodriguez Hortala
        2. kubeadmin-silences-API_ok.png
          1.32 MB
          Juan Rodriguez Hortala
        3. kubeadmin user, Watchdog alert is silenced.png
          78 kB
          Junqi Zhao
        4. monitoring-alertmanager-edit user, Watchdog alert is not silenced.png
          131 kB
          Junqi Zhao
        5. monitoring-alertmanager-edit user can list_create silences.png
          71 kB
          Junqi Zhao
        6. monitoring-alertmanager-edit user create silence, silence page is also pending.png
          36 kB
          Junqi Zhao
        7. Observe - Alerting - Silences page is pending - monitoring-alertmanager-edit user.png
          53 kB
          Junqi Zhao
        8. user-network_no_silences.png
          2.19 MB
          Juan Rodriguez Hortala
        9. user-silences-API_ok.png
          1.33 MB
          Juan Rodriguez Hortala

              anpicker@redhat.com Andrew Pickering
              juzhao@redhat.com Junqi Zhao
              Junqi Zhao Junqi Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: