diff --git a/ansible/roles/masakari/templates/masakari-monitors.conf.j2 b/ansible/roles/masakari/templates/masakari-monitors.conf.j2 index 0a8a6b547e..18009ddb80 100644 --- a/ansible/roles/masakari/templates/masakari-monitors.conf.j2 +++ b/ansible/roles/masakari/templates/masakari-monitors.conf.j2 @@ -11,6 +11,7 @@ project_domain_id = {{ default_project_domain_id }} username = {{ masakari_keystone_user }} password = {{ masakari_keystone_password }} cafile = {{ openstack_cacert | default(omit) }} +api_interface = internal [libvirt] connection_uri = "qemu+tcp://{{ migration_interface_address | put_address_in_context('url') }}/system" diff --git a/releasenotes/notes/use-internal-api-for-masakari-monitor-9ba03166ff375601.yaml b/releasenotes/notes/use-internal-api-for-masakari-monitor-9ba03166ff375601.yaml new file mode 100644 index 0000000000..eeb0ac2639 --- /dev/null +++ b/releasenotes/notes/use-internal-api-for-masakari-monitor-9ba03166ff375601.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + ``masakari-monitor`` will now use the internal API to + reach masakari-api. + `LP#1858431 + `__