Move rpc_conn_pool_size to oslo_messaging_rabbit

Defining option in DEFAULT section is deprecated, which triggers
a deprecation warning in logs.

Change-Id: I50cc79528c57a92ca4a62e8952258d57a3954d81
This commit is contained in:
Dmitriy Rabotyagov 2024-09-25 15:40:00 +02:00
parent c091f3d2dd
commit 8f2bd1661e

View File

@ -2,7 +2,6 @@
debug = {{ debug }} debug = {{ debug }}
use_journal = True use_journal = True
executor_thread_pool_size = {{ octavia_rpc_thread_pool_size }} executor_thread_pool_size = {{ octavia_rpc_thread_pool_size }}
rpc_conn_pool_size = {{ octavia_rpc_conn_pool_size }}
transport_url = {{ octavia_oslomsg_rpc_transport }}://{% for host in octavia_oslomsg_rpc_servers.split(',') %}{{ octavia_oslomsg_rpc_userid }}:{{ octavia_oslomsg_rpc_password }}@{{ host }}:{{ octavia_oslomsg_rpc_port }}{% if not loop.last %},{% else %}/{{ _octavia_oslomsg_rpc_vhost_conf }}{% if octavia_oslomsg_rpc_use_ssl | bool %}?ssl=1&ssl_version={{ octavia_oslomsg_rpc_ssl_version }}&ssl_ca_file={{ octavia_oslomsg_rpc_ssl_ca_file }}{% else %}?ssl=0{% endif %}{% endif %}{% endfor %} transport_url = {{ octavia_oslomsg_rpc_transport }}://{% for host in octavia_oslomsg_rpc_servers.split(',') %}{{ octavia_oslomsg_rpc_userid }}:{{ octavia_oslomsg_rpc_password }}@{{ host }}:{{ octavia_oslomsg_rpc_port }}{% if not loop.last %},{% else %}/{{ _octavia_oslomsg_rpc_vhost_conf }}{% if octavia_oslomsg_rpc_use_ssl | bool %}?ssl=1&ssl_version={{ octavia_oslomsg_rpc_ssl_version }}&ssl_ca_file={{ octavia_oslomsg_rpc_ssl_ca_file }}{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}
[api_settings] [api_settings]
@ -23,6 +22,7 @@ topic = octavia_prov
[oslo_messaging_rabbit] [oslo_messaging_rabbit]
ssl = {{ octavia_oslomsg_rpc_use_ssl }} ssl = {{ octavia_oslomsg_rpc_use_ssl }}
rpc_conn_pool_size = {{ octavia_rpc_conn_pool_size }}
rabbit_quorum_queue = {{ octavia_oslomsg_rabbit_quorum_queues }} rabbit_quorum_queue = {{ octavia_oslomsg_rabbit_quorum_queues }}
rabbit_transient_quorum_queue = {{ octavia_oslomsg_rabbit_transient_quorum_queues }} rabbit_transient_quorum_queue = {{ octavia_oslomsg_rabbit_transient_quorum_queues }}
rabbit_qos_prefetch_count = {{ octavia_oslomsg_rabbit_qos_prefetch_count }} rabbit_qos_prefetch_count = {{ octavia_oslomsg_rabbit_qos_prefetch_count }}