347730cec8
Adjust all the configs to list all the rabbitmq hosts rather than running rabbitmq through the VIP. This is made possible by clusterer which has already merged. Change-Id: I5db48f5f10ec68f4c8863a29bc13984f6845a4f9 Partially-Implements: blueprint rabbitmq-clusterer
31 lines
1.0 KiB
Django/Jinja
31 lines
1.0 KiB
Django/Jinja
[DEFAULT]
|
|
debug = {{ ironic_logging_debug }}
|
|
verbose = {{ ironic_logging_verbose }}
|
|
|
|
admin_token = {{ keystone_admin_token }}
|
|
|
|
[database]
|
|
connection = mysql://{{ ironic_database_user }}:{{ ironic_database_password }}@{{ ironic_database_address }}/{{ ironic_database_name }}
|
|
|
|
[keystone_authtoken]
|
|
auth_uri = http://{{ kolla_internal_address }}:{{ keystone_public_port }}
|
|
auth_url = http://{{ kolla_internal_address }}:{{ keystone_admin_port }}
|
|
auth_plugin = password
|
|
project_domain_id = default
|
|
user_domain_id = default
|
|
project_name = service
|
|
username = {{ ironic_keystone_user }}
|
|
password = {{ ironic_keystone_password }}
|
|
|
|
[glance]
|
|
glance_host = {{ kolla_internal_address }}
|
|
|
|
[neutron]
|
|
url = http://{{ kolla_internal_address }}:{{ neutron_server_port }}
|
|
|
|
[oslo_messaging_rabbit]
|
|
rabbit_userid = {{ rabbitmq_user }}
|
|
rabbit_password = {{ rabbitmq_password }}
|
|
rabbit_ha_queues = true
|
|
rabbit_hosts = {% for host in groups['rabbitmq'] %}{{ hostvars[host]['ansible_' + api_interface]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
|