diff --git a/ansible/roles/cloudkitty/defaults/main.yml b/ansible/roles/cloudkitty/defaults/main.yml index cde0f5be3e..7e59ee7f0d 100644 --- a/ansible/roles/cloudkitty/defaults/main.yml +++ b/ansible/roles/cloudkitty/defaults/main.yml @@ -166,7 +166,7 @@ cloudkitty_collector_backend: "gnocchi" cloudkitty_monasca_interface: "internal" # 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. # cloudkitty_prometheus_cafile: "{{ openstack_cacert }}" diff --git a/releasenotes/notes/cloudkitty-prometheus-url-ee14bc486e810631.yaml b/releasenotes/notes/cloudkitty-prometheus-url-ee14bc486e810631.yaml new file mode 100644 index 0000000000..1c2c249399 --- /dev/null +++ b/releasenotes/notes/cloudkitty-prometheus-url-ee14bc486e810631.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixes configuration of the Prometheus HTTP API URL when using the + Prometheus collector in CloudKitty. + `LP#1961615 `__