Fix bug in RPC config that broke Rabbit SSL support
The use_rabbit_ssl query parameter is not respected by oslo.messaging's rabbit driver, only the pika driver supports configuration using query parameters at present. Change-Id: I98cb273cbd8948072ef6e7fc5a15834093d70099 Implements: blueprint multi-rabbitmq-clusters
This commit is contained in:
parent
5c630ae50a
commit
e70cd91dcf
@ -9,6 +9,12 @@ debug = {{ debug }}
|
|||||||
fatal_deprecations = {{ neutron_fatal_deprecations }}
|
fatal_deprecations = {{ neutron_fatal_deprecations }}
|
||||||
log_file = /var/log/neutron/neutron.log
|
log_file = /var/log/neutron/neutron.log
|
||||||
|
|
||||||
|
## Rpc all
|
||||||
|
executor_thread_pool_size = {{ neutron_rpc_thread_pool_size }}
|
||||||
|
rpc_conn_pool_size = {{ neutron_rpc_conn_pool_size }}
|
||||||
|
rpc_response_timeout = {{ neutron_rpc_response_timeout }}
|
||||||
|
transport_url = rabbit://{% for host in neutron_rabbitmq_servers.split(',') %}{{ neutron_rabbitmq_userid }}:{{ neutron_rabbitmq_password }}@{{ host }}:{{ neutron_rabbitmq_port }}{% if not loop.last %},{% else %}/{{ neutron_rabbitmq_vhost }}{% endif %}{% endfor %}
|
||||||
|
|
||||||
{% if neutron_services['neutron-server']['group'] in group_names %}
|
{% if neutron_services['neutron-server']['group'] in group_names %}
|
||||||
|
|
||||||
# General, only applies to neutron server host group
|
# General, only applies to neutron server host group
|
||||||
@ -81,13 +87,6 @@ notify_nova_on_port_data_changes = True
|
|||||||
send_events_interval = 2
|
send_events_interval = 2
|
||||||
nova_url = {{ nova_service_adminurl|replace('/%(tenant_id)s', '') }}
|
nova_url = {{ nova_service_adminurl|replace('/%(tenant_id)s', '') }}
|
||||||
|
|
||||||
## Rpc all
|
|
||||||
rpc_backend = {{ neutron_rpc_backend }}
|
|
||||||
executor_thread_pool_size = {{ neutron_rpc_thread_pool_size }}
|
|
||||||
rpc_conn_pool_size = {{ neutron_rpc_conn_pool_size }}
|
|
||||||
rpc_response_timeout = {{ neutron_rpc_response_timeout }}
|
|
||||||
transport_url = rabbit://{% for host in neutron_rabbitmq_servers.split(',') %}{{ neutron_rabbitmq_userid }}:{{ neutron_rabbitmq_password }}@{{ host }}:{{ neutron_rabbitmq_port }}/{{ neutron_rabbitmq_vhost }}?rabbit_use_ssl={{ neutron_rabbitmq_use_ssl }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
||||||
|
|
||||||
[nova]
|
[nova]
|
||||||
auth_plugin = {{ nova_keystone_auth_plugin }}
|
auth_plugin = {{ nova_keystone_auth_plugin }}
|
||||||
auth_url = {{ keystone_service_adminurl }}
|
auth_url = {{ keystone_service_adminurl }}
|
||||||
@ -177,17 +176,13 @@ root_helper = sudo {{ neutron_bin }}/neutron-rootwrap /etc/neutron/rootwrap.conf
|
|||||||
|
|
||||||
# Messaging
|
# Messaging
|
||||||
[oslo_messaging_rabbit]
|
[oslo_messaging_rabbit]
|
||||||
rabbit_port = {{ neutron_rabbitmq_port }}
|
rabbit_use_ssl = {{ neutron_rabbitmq_use_ssl }}
|
||||||
rabbit_userid = {{ neutron_rabbitmq_userid }}
|
|
||||||
rabbit_password = {{ neutron_rabbitmq_password }}
|
|
||||||
rabbit_virtual_host = {{ neutron_rabbitmq_vhost }}
|
|
||||||
rabbit_hosts = {{ neutron_rabbitmq_servers }}
|
|
||||||
|
|
||||||
# Notifications
|
# Notifications
|
||||||
{% if neutron_ceilometer_enabled %}
|
{% if neutron_ceilometer_enabled %}
|
||||||
[oslo_messaging_notifications]
|
[oslo_messaging_notifications]
|
||||||
driver = messagingv2
|
driver = messagingv2
|
||||||
transport_url = rabbit://{% for host in neutron_rabbitmq_telemetry_servers.split(',') %}{{ neutron_rabbitmq_telemetry_userid }}:{{ neutron_rabbitmq_telemetry_password }}@{{ host }}:{{ neutron_rabbitmq_telemetry_port }}/{{ neutron_rabbitmq_telemetry_vhost }}?rabbit_use_ssl={{ neutron_rabbitmq_telemetry_use_ssl }}{% if not loop.last %},{% endif %}{% endfor %}
|
transport_url = rabbit://{% for host in neutron_rabbitmq_telemetry_servers.split(',') %}{{ neutron_rabbitmq_telemetry_userid }}:{{ neutron_rabbitmq_telemetry_password }}@{{ host }}:{{ neutron_rabbitmq_telemetry_port }}{% if not loop.last %},{% else %}/{{ neutron_rabbitmq_telemetry_vhost }}{% endif %}{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Concurrency (locking mechanisms)
|
# Concurrency (locking mechanisms)
|
||||||
|
Loading…
Reference in New Issue
Block a user