Deprecate rpc_backend option
Option "rpc_backend" from group "DEFAULT" is deprecated for removal (Replaced by [DEFAULT]/transport_url). Its value may be silently ignored in the future. Change-Id: I85357a7ebae37c1e32f2f4558a195bff414a1341 Implements: blueprint deprecate-rpc-backend
This commit is contained in:
parent
5dfd2bf8f9
commit
e435e67e8c
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
deprecations:
|
||||
- |
|
||||
Remove ``designate_rpc_backend`` option due to deprecation of
|
||||
rpc_backend option in oslo.messaging.
|
|
@ -28,17 +28,22 @@ root_helper = sudo designate-rootwrap /etc/designate/rootwrap.conf
|
|||
# Which networking API to use, Defaults to neutron
|
||||
#network_api = neutron
|
||||
|
||||
## RabbitMQ RPC
|
||||
transport_url = rabbit://{% for host in designate_rabbitmq_servers.split(',') %}{{ designate_rabbitmq_userid }}:{{ designate_rabbitmq_password }}@{{ host }}:{{ designate_rabbitmq_port }}{% if not loop.last %},{% else %}/{{ designate_rabbitmq_vhost }}{% endif %}{% endfor %}
|
||||
|
||||
# RabbitMQ Config
|
||||
[oslo_messaging_rabbit]
|
||||
rpc_backend = rabbit
|
||||
ssl = {{ designate_rabbitmq_use_ssl }}
|
||||
rabbit_notification_exchange = designate
|
||||
rabbit_notification_topic = notifications
|
||||
|
||||
# TODO (zhongshengping): Currently pool update fail when using transport_url.
|
||||
# Remove this section after bug https://bugs.launchpad.net/designate/+bug/1673403 is fixed
|
||||
rabbit_port = {{ designate_rabbitmq_port }}
|
||||
rabbit_userid = {{ designate_rabbitmq_userid }}
|
||||
rabbit_password = {{ designate_rabbitmq_password }}
|
||||
rabbit_virtual_host = {{ designate_rabbitmq_vhost }}
|
||||
rabbit_hosts = {{ designate_rabbitmq_servers }}
|
||||
ssl = {{ designate_rabbitmq_use_ssl }}
|
||||
rabbit_notification_exchange = designate
|
||||
rabbit_notification_topic = notifications
|
||||
|
||||
########################
|
||||
## Service Configuration
|
||||
|
|
Loading…
Reference in New Issue