talk TLS to openstack exporter via haproxy

Closes-Bug: #1975598
Change-Id: If4c85f8e960141d08a89accdc11a3271f31974c1
This commit is contained in:
k-s-dean 2022-05-24 15:26:42 +01:00
parent 2bbf5273c6
commit fcba927d7b
2 changed files with 11 additions and 0 deletions

View File

@ -97,6 +97,9 @@ scrape_configs:
- job_name: openstack_exporter
scrape_interval: {{ prometheus_openstack_exporter_interval }}
scrape_timeout: {{ prometheus_openstack_exporter_timeout }}
{% if kolla_enable_tls_internal | bool %}
scheme: https
{% endif %}
honor_labels: true
static_configs:
- targets:

View File

@ -0,0 +1,8 @@
---
fixes:
- |
Fixes an issue where the prometheus server does not
talk via https to openstack exporter via haproxy
when TLS is enable on the internal endpoints.
`LP#[1975598]
<https://bugs.launchpad.net/kolla-ansible/+bug/1975598>`__