From 3a51aadda465e00293c6c647df94253259fa0ac9 Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Thu, 21 Jul 2016 22:03:14 +0800 Subject: [PATCH] Bind the ceilometer-api process to the api_interface only TrivialFix Change-Id: If8590b0f053844b8f68e4e2b0a73c1b3c34f23ed --- ansible/roles/ceilometer/templates/ceilometer.conf.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ansible/roles/ceilometer/templates/ceilometer.conf.j2 b/ansible/roles/ceilometer/templates/ceilometer.conf.j2 index 413aab5fe3..bba77f04aa 100644 --- a/ansible/roles/ceilometer/templates/ceilometer.conf.j2 +++ b/ansible/roles/ceilometer/templates/ceilometer.conf.j2 @@ -4,6 +4,10 @@ debug = {{ ceilometer_logging_debug }} log_dir = /var/log/kolla/ceilometer rpc_backend = rabbit +[api] +port = {{ ceilometer_api_port }} +host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} + [collector] [database]