Merge "cloudkitty: fix URL used for Prometheus collector"

This commit is contained in:
Zuul 2022-02-22 09:07:51 +00:00 committed by Gerrit Code Review
commit d25d490e4d
2 changed files with 7 additions and 1 deletions

View File

@ -166,7 +166,7 @@ cloudkitty_collector_backend: "gnocchi"
cloudkitty_monasca_interface: "internal" cloudkitty_monasca_interface: "internal"
# Set prometheus collector URL. # Set prometheus collector URL.
cloudkitty_prometheus_url: "{{ internal_protocol }}://{{ kolla_internal_fqdn | put_address_in_context('url') }}:{{ prometheus_port }}" cloudkitty_prometheus_url: "{{ internal_protocol }}://{{ kolla_internal_fqdn | put_address_in_context('url') }}:{{ prometheus_port }}/api/v1"
# Path of the CA certificate to trust for HTTPS connections. # Path of the CA certificate to trust for HTTPS connections.
# cloudkitty_prometheus_cafile: "{{ openstack_cacert }}" # cloudkitty_prometheus_cafile: "{{ openstack_cacert }}"

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes configuration of the Prometheus HTTP API URL when using the
Prometheus collector in CloudKitty.
`LP#1961615 <https://bugs.launchpad.net/kolla-ansible/+bug/1961615>`__