Fix IPv6 addresses for prometheus exporters
Ensure that IPv6 listen addresses for libvirt-exporter and fluentd prometheus exporter are formatted correctly by passing them through put_address_in_context as with other prometheus exporters. Closes-Bug: #2096659 Change-Id: Ib035534e2d1a27d5f496cfc6fa1d24a3dbe1dd41
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<source>
|
<source>
|
||||||
@type prometheus
|
@type prometheus
|
||||||
bind {{ api_interface_address }}
|
bind "{{ api_interface_address | put_address_in_context('url') }}"
|
||||||
port {{ prometheus_fluentd_integration_port }}
|
port {{ prometheus_fluentd_integration_port }}
|
||||||
metrics_path /metrics
|
metrics_path /metrics
|
||||||
</source>
|
</source>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"command": "/opt/libvirt-exporter --web.listen-address={{ api_interface_address }}:{{ prometheus_libvirt_exporter_port }}",
|
"command": "/opt/libvirt-exporter --web.listen-address={{ api_interface_address | put_address_in_context('url') }}:{{ prometheus_libvirt_exporter_port }}",
|
||||||
"config_files": [
|
"config_files": [
|
||||||
{% if kolla_copy_ca_into_containers | bool %}
|
{% if kolla_copy_ca_into_containers | bool %}
|
||||||
{
|
{
|
||||||
|
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Correctly formats prometheus-libvirt-exporter and
|
||||||
|
Fluentd Prometheus exporter IPv6 listen addresses.
|
||||||
|
|
||||||
|
Fixes `LP#2096659
|
||||||
|
<https://bugs.launchpad.net/kolla-ansible/+bug/2096659>`__
|
Reference in New Issue
Block a user