Uploaded image for project: 'Docs for Red Hat Developers'
  1. Docs for Red Hat Developers
  2. RHDEVDOCS-4785

Can't load additional Alertmanager templates with latest 4.12 OpenShift

    XMLWordPrintable

Details

    • devex docs #228 Nov 24-Dec 15
    • 5
    • ---
    • ---

    Description

      Need to document the change described below in the 4.12 Release Notes "New Features" section.
      **************************

      Description of problem:

      When the Alertmanager configuration secret holds additional keys and the Alertmanager configuration references
      them as templates with a relative path, receivers using the templates will fail to deliver notifications. 

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

      4.12 only (not present in previous versions)

      How reproducible:

      Only when using additional keys in the Alertmanager config secret + loading them as templates.

      Steps to Reproduce:

      1. Update openshift-monitoring/alertmanager-main secret (see attached file).
      2. Watch the alertmanager-main-0/alertmanager logs and wait for 5 minutes
      3.
      

      Actual results:

      Notification error logs + AlertmanagerClusterFailedToSendAlerts alert pending

      Expected results:

      No error and no alert

      Additional info:

      Regression introduced by https://github.com/prometheus-operator/prometheus-operator/pull/4906

      Attachments

        Activity

          People

            rhn-support-bburt Brian Burt
            spasquie@redhat.com Simon Pasquier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: