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

MSTeams receiver with empty title/text triggers prometheus operator panic

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done-Errata
    • Normal
    • 4.15.0
    • 4.15
    • Monitoring
    • None
    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None
    • NA
    • Release Note Not Required
    • In Progress

    Description

      Pre-requisites:

      • UWM enabled with AlertmanagerConfig support.

      The following AlertmanagerConfig object will trigger a panic of the UWM prometheus operator:

      
      
      apiVersion: monitoring.coreos.com/v1alpha1
      kind: AlertmanagerConfig
      metadata:
        name: alertmanager-config
        labels:
          resource: prometheus
      spec:
        route:
          groupBy: ["..."]
          groupWait: 1m
          groupInterval: 1m
          repeatInterval: 12h
          receiver: "default_channel"
          routes:
            - matchers:
              - matchType: =
                name: severity
                value: warning
              receiver: teams
      receivers:
          - name: "default_channel"
          - name: teams
            msteamsConfigs:
              - webhookUrl:
                  name: alertmanager-teams
                  key: webhook
      

      See https://github.com/prometheus-operator/prometheus-operator/issues/6082

      Attachments

        Activity

          People

            spasquie@redhat.com Simon Pasquier
            spasquie@redhat.com Simon Pasquier
            Junqi Zhao Junqi Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: