kolla-ansible/releasenotes/notes/prometheus-config-when-alertmanager-disabled-0090c1570ff4e632.yaml
Scott Solkhon 991bdc5f55 Fix Prometheus template generation
In a deployment where Prometheus is enabled and
Alertmanager is disabled the task "Copying over
prometheus config file" in
'ansible/roles/prometheus/tasks/config.yml' will
fail to template the Prometheus configuration file
'ansible/roles/prometheus/templates/prometheus.yml.j2'
as the variable 'prometheus_alert_rules' does not
contain the key 'files'. This commit fixes this bug.

Change-Id: Idbe1e52dd3693a6f168d475f9230a253dae64480
Closes-Bug: #1854540
2019-11-30 22:54:22 +00:00

9 lines
407 B
YAML

---
fixes:
- |
Fixes templating of Prometheus configuration when Alertmanager is disabled.
In a deployment where Prometheus is enabled and Alertmanager is disabled the
configuration for the Prometheus will fail when templating as the variable
`prometheus_alert_rules` does not contain the key `files`. For details
please see <https://bugs.launchpad.net/kolla-ansible/+bug/1854540>`__.