-
Bug
-
Resolution: Done
-
Critical
-
None
-
4.12.0
-
None
-
Important
-
None
-
MON Sprint 228, MON Sprint 229
-
2
-
Approved
-
False
-
-
NA
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
- is documented by
-
RHDEVDOCS-4785 Can't load additional Alertmanager templates with latest 4.12 OpenShift
- Closed
- is related to
-
MON-2767 build02 outage post-mortem
- Closed
- links to