diff options
author | 2016-01-16 01:35:52 +0800 | |
---|---|---|
committer | 2016-01-21 06:53:44 +0000 | |
commit | 6c48d465b98f2255d5374903df8c73dbc4e9adaf (patch) | |
tree | 925a1921dddfbd84c79ad8d9a6bcbad5c4926611 /deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-analytics-api-conf.j2 | |
parent | 9f974e0578f68f9e31807d07b4c47614054cae00 (diff) |
bugfix: workaround for opencontrail
JIRA: COMPASS-271
Change-Id: Ib4bbc0536ed8877f5e38150e5d710578345ac56b
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
(cherry picked from commit 6b168a9b8c44c141f71c2eab7e51973f3523f912)
Diffstat (limited to 'deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-analytics-api-conf.j2')
-rwxr-xr-x | deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-analytics-api-conf.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-analytics-api-conf.j2 b/deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-analytics-api-conf.j2 index 6e2bcce3..3ac84c33 100755 --- a/deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-analytics-api-conf.j2 +++ b/deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-analytics-api-conf.j2 @@ -1,12 +1,12 @@ [DEFAULTS] host_ip = {{ contrail_address }} rest_api_ip = {{ contrail_haproxy_address }} -rest_api_port = 9081 +rest_api_port = 8081 #cassandra_server_list = {% for cur_host in groups['opencontrail_database'] %}{{ ip_settings[cur_host]['mgmt']['ip'] }}:9160{% if not loop.last %} {% endif %}{% endfor %} #chenshuai: This kind of written is also correct, but the following is better, this as record cassandra_server_list = {% for cur_host in groups['opencontrail_database'] %}{{ haproxy_hosts[cur_host] }}:9160{% if not loop.last %} {% endif %}{% endfor %} -collectors = {{ contrail_address }}:8086 +collectors = {{ contrail_haproxy_address }}:8086 http_server_port = 8090 log_file = /var/log/contrail/contrail-analytics-api.log log_level = SYS_NOTICE |