![Andrew Smith](/assets/img/avatar_default.png)
This introduces oslo.messaging variables that define the RPC and Notify transports for the OpenStack services. These parameters replace the rabbitmq values and are used to generate the messaging transport_url for the service. The association of the messaging backend server to the oslo.messaging services will then be transparent to the trove service. This patch: * Add oslo.messaging variables for RPC and Notify to defaults * Update transport_url generation (add for notification) * Add oslo.messaging to tests inventory * Update tests * Update docs * Update extras * Add release note Change-Id: Ia01317343ae6fbc790d64b5ba282c8c069750d45
28 lines
1.4 KiB
Django/Jinja
28 lines
1.4 KiB
Django/Jinja
#{{ ansible_managed }}
|
|
# Do not edit this file manually, your changes will be overwritten.
|
|
[DEFAULT]
|
|
debug = {{ debug }}
|
|
trove_auth_url = {{ trove_auth_url }}
|
|
conductor_manager = trove.conductor.manager.Manager
|
|
trove_conductor_workers={{ trove_conductor_workers }}
|
|
transport_url = {{ trove_oslomsg_rpc_transport }}://{% for host in trove_oslomsg_rpc_servers.split(',') %}{{ trove_oslomsg_rpc_userid }}:{{ trove_oslomsg_rpc_password }}@{{ host }}:{{ trove_oslomsg_rpc_port }}{% if not loop.last %},{% else %}/{{ trove_oslomsg_rpc_vhost }}{% endif %}{% endfor %}
|
|
|
|
{# There must be a blank line above or the following line will be appended to the previous. #}
|
|
control_exchange = {{ trove_control_exchange }}
|
|
enable_secure_rpc_messaging = {{ trove_enable_secure_rpc_messaging }}
|
|
inst_rpc_key_encr_key = {{ trove_inst_rpc_key_encr_key }}
|
|
|
|
[profiler]
|
|
enabled = {{ trove_profiler_enabled }}
|
|
# If False doesn't trace SQL requests.
|
|
#trace_sqlalchemy = True
|
|
|
|
[database]
|
|
connection = "{{ trove_galera_connection_string }}"
|
|
|
|
[oslo_messaging_rabbit]
|
|
ssl={{ trove_oslomsg_rpc_use_ssl }}
|
|
|
|
[oslo_messaging_notifications]
|
|
transport_url = {{ trove_oslomsg_notify_transport }}://{% for host in trove_oslomsg_notify_servers.split(',') %}{{ trove_oslomsg_notify_userid }}:{{ trove_oslomsg_notify_password }}@{{ host }}:{{ trove_oslomsg_notify_port }}{% if not loop.last %},{% else %}/{{ trove_oslomsg_notify_vhost }}{% endif %}{% endfor %}
|