Merge "Move to transport_url for rabbitmq configuration"
This commit is contained in:
commit
8c2bbae69e
@ -2,7 +2,8 @@
|
|||||||
debug = {{ ceilometer_logging_debug }}
|
debug = {{ ceilometer_logging_debug }}
|
||||||
|
|
||||||
log_dir = /var/log/kolla/ceilometer
|
log_dir = /var/log/kolla/ceilometer
|
||||||
rpc_backend = rabbit
|
|
||||||
|
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]
|
[api]
|
||||||
port = {{ ceilometer_api_port }}
|
port = {{ ceilometer_api_port }}
|
||||||
@ -27,12 +28,6 @@ auth_type = password
|
|||||||
[notification]
|
[notification]
|
||||||
store_events = true
|
store_events = true
|
||||||
|
|
||||||
[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_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
||||||
|
|
||||||
[service_credentials]
|
[service_credentials]
|
||||||
auth_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}/v3
|
auth_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}/v3
|
||||||
region_name = {{ openstack_region_name }}
|
region_name = {{ openstack_region_name }}
|
||||||
|
@ -42,6 +42,8 @@ nova_catalog_info = compute:nova:internalURL
|
|||||||
|
|
||||||
auth_strategy = keystone
|
auth_strategy = keystone
|
||||||
|
|
||||||
|
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 %}
|
||||||
|
|
||||||
[oslo_messaging_notifications]
|
[oslo_messaging_notifications]
|
||||||
{% if enable_ceilometer | bool %}
|
{% if enable_ceilometer | bool %}
|
||||||
driver = messagingv2
|
driver = messagingv2
|
||||||
@ -69,12 +71,6 @@ memcached_servers = {% for host in groups['memcached'] %}{{ hostvars[host]['ansi
|
|||||||
[oslo_concurrency]
|
[oslo_concurrency]
|
||||||
lock_path = /var/lib/cinder/tmp
|
lock_path = /var/lib/cinder/tmp
|
||||||
|
|
||||||
[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_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
||||||
|
|
||||||
|
|
||||||
{% if enable_cinder_backend_lvm | bool %}
|
{% if enable_cinder_backend_lvm | bool %}
|
||||||
[lvm-1]
|
[lvm-1]
|
||||||
|
@ -22,6 +22,8 @@ show_multiple_locations = True
|
|||||||
|
|
||||||
cinder_catalog_info = volume:cinder:internalURL
|
cinder_catalog_info = volume:cinder:internalURL
|
||||||
|
|
||||||
|
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 %}
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
connection = mysql+pymysql://{{ glance_database_user }}:{{ glance_database_password }}@{{ glance_database_address }}/{{ glance_database_name }}
|
connection = mysql+pymysql://{{ glance_database_user }}:{{ glance_database_password }}@{{ glance_database_address }}/{{ glance_database_name }}
|
||||||
max_retries = -1
|
max_retries = -1
|
||||||
@ -66,12 +68,6 @@ filesystem_store_datadir = /var/lib/glance/images/
|
|||||||
[oslo_messaging_notifications]
|
[oslo_messaging_notifications]
|
||||||
{% if enable_ceilometer | bool %}
|
{% if enable_ceilometer | bool %}
|
||||||
driver = messagingv2
|
driver = messagingv2
|
||||||
|
|
||||||
[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_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
||||||
{% else %}
|
{% else %}
|
||||||
driver = noop
|
driver = noop
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -8,6 +8,8 @@ bind_host = {{ api_interface_address }}
|
|||||||
bind_port = {{ glance_registry_port }}
|
bind_port = {{ glance_registry_port }}
|
||||||
workers = {{ openstack_service_workers }}
|
workers = {{ openstack_service_workers }}
|
||||||
|
|
||||||
|
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 %}
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
connection = mysql+pymysql://{{ glance_database_user }}:{{ glance_database_password }}@{{ glance_database_address }}/{{ glance_database_name }}
|
connection = mysql+pymysql://{{ glance_database_user }}:{{ glance_database_password }}@{{ glance_database_address }}/{{ glance_database_name }}
|
||||||
max_retries = -1
|
max_retries = -1
|
||||||
@ -40,12 +42,6 @@ flavor = keystone
|
|||||||
[oslo_messaging_notifications]
|
[oslo_messaging_notifications]
|
||||||
{% if enable_ceilometer | bool %}
|
{% if enable_ceilometer | bool %}
|
||||||
driver = messagingv2
|
driver = messagingv2
|
||||||
|
|
||||||
[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_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
||||||
{% else %}
|
{% else %}
|
||||||
driver = noop
|
driver = noop
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -11,16 +11,11 @@ stack_domain_admin = heat_domain_admin
|
|||||||
stack_domain_admin_password = {{ heat_domain_admin_password }}
|
stack_domain_admin_password = {{ heat_domain_admin_password }}
|
||||||
stack_user_domain_name = heat_user_domain
|
stack_user_domain_name = heat_user_domain
|
||||||
|
|
||||||
rpc_backend = rabbit
|
|
||||||
deferred_auth_method = trusts
|
deferred_auth_method = trusts
|
||||||
trusts_delegated_role = heat_stack_owner
|
trusts_delegated_role = heat_stack_owner
|
||||||
num_engine_workers = {{ openstack_service_workers }}
|
num_engine_workers = {{ openstack_service_workers }}
|
||||||
|
|
||||||
[oslo_messaging_rabbit]
|
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 %}
|
||||||
rabbit_userid = {{ rabbitmq_user }}
|
|
||||||
rabbit_password = {{ rabbitmq_password }}
|
|
||||||
rabbit_ha_queues = true
|
|
||||||
rabbit_hosts = {% for host in groups['rabbitmq'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
||||||
|
|
||||||
{% if service_name == 'heat-api' %}
|
{% if service_name == 'heat-api' %}
|
||||||
[heat_api]
|
[heat_api]
|
||||||
|
@ -6,6 +6,8 @@ admin_password = {{ keystone_admin_password }}
|
|||||||
|
|
||||||
enabled_drivers = pxe_ipmitool
|
enabled_drivers = pxe_ipmitool
|
||||||
|
|
||||||
|
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 %}
|
||||||
|
|
||||||
{% if service_name == 'ironic-api' %}
|
{% if service_name == 'ironic-api' %}
|
||||||
[api]
|
[api]
|
||||||
host_ip = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
|
host_ip = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
|
||||||
@ -53,9 +55,3 @@ glance_host = {{ kolla_internal_fqdn }}
|
|||||||
|
|
||||||
[neutron]
|
[neutron]
|
||||||
url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ neutron_server_port }}
|
url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ 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_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
||||||
|
@ -3,6 +3,8 @@ debug = {{ magnum_logging_debug }}
|
|||||||
|
|
||||||
log_dir = /var/log/kolla/magnum
|
log_dir = /var/log/kolla/magnum
|
||||||
|
|
||||||
|
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 %}
|
||||||
|
|
||||||
{% if service_name == 'magnum-api' %}
|
{% if service_name == 'magnum-api' %}
|
||||||
[api]
|
[api]
|
||||||
port = {{ magnum_api_port }}
|
port = {{ magnum_api_port }}
|
||||||
@ -43,9 +45,3 @@ memcached_servers = {% for host in groups['memcached'] %}{{ hostvars[host]['ansi
|
|||||||
|
|
||||||
[oslo_concurrency]
|
[oslo_concurrency]
|
||||||
lock_path = /var/lib/magnum/tmp
|
lock_path = /var/lib/magnum/tmp
|
||||||
|
|
||||||
[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_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
||||||
|
@ -9,16 +9,11 @@ my_ip = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['add
|
|||||||
rootwrap_config = /etc/manila/rootwrap.conf
|
rootwrap_config = /etc/manila/rootwrap.conf
|
||||||
api_paste_config = /etc/manila/api-paste.ini
|
api_paste_config = /etc/manila/api-paste.ini
|
||||||
|
|
||||||
rpc_backend = rabbit
|
|
||||||
|
|
||||||
auth_strategy = keystone
|
auth_strategy = keystone
|
||||||
|
|
||||||
os_region_name = {{ openstack_region_name }}
|
os_region_name = {{ openstack_region_name }}
|
||||||
|
|
||||||
[oslo_messaging_rabbit]
|
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 %}
|
||||||
rabbit_userid = {{ rabbitmq_user }}
|
|
||||||
rabbit_password = {{ rabbitmq_password }}
|
|
||||||
rabbit_hosts = {% for host in groups['rabbitmq'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
||||||
|
|
||||||
[oslo_concurrency]
|
[oslo_concurrency]
|
||||||
lock_path = /var/lib/manila/tmp
|
lock_path = /var/lib/manila/tmp
|
||||||
|
@ -12,6 +12,8 @@ bind_host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4'][
|
|||||||
bind_port = {{ mistral_api_port }}
|
bind_port = {{ mistral_api_port }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
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 %}
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
connection = mysql+pymysql://{{ mistral_database_user }}:{{ mistral_database_password }}@{{ mistral_database_address }}/{{ mistral_database_name }}
|
connection = mysql+pymysql://{{ mistral_database_user }}:{{ mistral_database_password }}@{{ mistral_database_address }}/{{ mistral_database_name }}
|
||||||
max_retries = -1
|
max_retries = -1
|
||||||
@ -34,11 +36,5 @@ memcached_servers = {% for host in groups['memcached'] %}{{ hostvars[host]['ansi
|
|||||||
[mistral]
|
[mistral]
|
||||||
url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ mistral_api_port }}
|
url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ mistral_api_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_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
||||||
|
|
||||||
[oslo_messaging_notifications]
|
[oslo_messaging_notifications]
|
||||||
driver = noop
|
driver = noop
|
||||||
|
@ -8,6 +8,8 @@ bind_host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4'][
|
|||||||
bind_port = {{ murano_api_port }}
|
bind_port = {{ murano_api_port }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
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 %}
|
||||||
|
|
||||||
[engine]
|
[engine]
|
||||||
workers = {{ openstack_service_workers }}
|
workers = {{ openstack_service_workers }}
|
||||||
|
|
||||||
@ -33,11 +35,6 @@ memcached_servers = {% for host in groups['memcached'] %}{{ hostvars[host]['ansi
|
|||||||
[murano]
|
[murano]
|
||||||
url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ murano_api_port }}
|
url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ murano_api_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_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
||||||
|
|
||||||
[oslo_messaging_notifications]
|
[oslo_messaging_notifications]
|
||||||
driver = messagingv2
|
driver = messagingv2
|
||||||
|
@ -49,6 +49,8 @@ min_l3_agents_per_router = {{ min_l3_agents_per_router }}
|
|||||||
service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
|
service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
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 %}
|
||||||
|
|
||||||
[nova]
|
[nova]
|
||||||
auth_url = {{ keystone_admin_url }}
|
auth_url = {{ keystone_admin_url }}
|
||||||
auth_type = password
|
auth_type = password
|
||||||
@ -63,12 +65,6 @@ endpoint_type = internal
|
|||||||
[oslo_concurrency]
|
[oslo_concurrency]
|
||||||
lock_path = /var/lib/neutron/tmp
|
lock_path = /var/lib/neutron/tmp
|
||||||
|
|
||||||
[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_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
||||||
|
|
||||||
[agent]
|
[agent]
|
||||||
root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf
|
root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf
|
||||||
|
|
||||||
|
@ -62,6 +62,8 @@ compute_monitors=nova.compute.monitors.cpu.virt_driver
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
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 %}
|
||||||
|
|
||||||
[conductor]
|
[conductor]
|
||||||
workers = {{ openstack_service_workers }}
|
workers = {{ openstack_service_workers }}
|
||||||
|
|
||||||
@ -98,12 +100,6 @@ admin_tenant_name = service
|
|||||||
api_endpoint = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ ironic_api_port }}/v1
|
api_endpoint = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ ironic_api_port }}/v1
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
[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_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
||||||
|
|
||||||
[oslo_concurrency]
|
[oslo_concurrency]
|
||||||
lock_path = /var/lib/nova/tmp
|
lock_path = /var/lib/nova/tmp
|
||||||
|
|
||||||
|
@ -3,6 +3,8 @@ debug = {{ watcher_logging_debug }}
|
|||||||
|
|
||||||
log_dir = /var/log/kolla/watcher
|
log_dir = /var/log/kolla/watcher
|
||||||
|
|
||||||
|
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 %}
|
||||||
|
|
||||||
{% if service_name == 'watcher-api' %}
|
{% if service_name == 'watcher-api' %}
|
||||||
[api]
|
[api]
|
||||||
host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
|
host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
|
||||||
@ -39,9 +41,3 @@ password = {{ watcher_keystone_password }}
|
|||||||
|
|
||||||
[oslo_concurrency]
|
[oslo_concurrency]
|
||||||
lock_path = /var/lib/watcher/tmp
|
lock_path = /var/lib/watcher/tmp
|
||||||
|
|
||||||
[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_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user