`bind_host` and `bind_port` are coming under `api_setting

Option 'bind_host' from group 'DEFAULT' is deprecated for removal[0],
please use option 'bind_host' from group 'api_settings' instead. bind_port
option are the same.
The default value of api_handler is queue_producer, we did not configure
it. So delete api_handler option.

[0]https://github.com/openstack/octavia/blob/master/octavia/common/config.py#L45

Change-Id: I4e9c1d40bcb497f147ea38d4f3c6d78c181fa20b
Closes-Bug: #1717190
(cherry picked from commit b745d0a6dd)
This commit is contained in:
ZhongShengping 2017-09-14 15:22:00 +08:00 committed by zhongshengping
parent 6e0139ebf4
commit f4cf0d4dc0
1 changed files with 1 additions and 2 deletions

View File

@ -3,10 +3,9 @@ debug = {{ octavia_logging_debug }}
log_dir = /var/log/kolla/octavia
api_handler = queue_producer
transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }}:{{ rabbitmq_password }}@{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
[api_settings]
bind_host = {{ api_interface_address }}
bind_port = {{ octavia_api_port }}