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: I77bb1e7f9513593cecf2ca95b9e2fa91e251b483
Implements: blueprint deprecate-rpc-backend
This commit is contained in:
ZhongShengping 2017-06-01 14:53:16 +08:00 committed by Jesse Pretorius (odyssey4me)
parent cfd4de9a1e
commit 972e8b515a
3 changed files with 5 additions and 2 deletions

View File

@ -54,7 +54,6 @@ heat_galera_database: heat
## RabbitMQ info
## Configuration for RPC communications
heat_rpc_backend: heat.openstack.common.rpc.impl_kombu
heat_rabbitmq_userid: heat
heat_rabbitmq_vhost: /heat
heat_rabbitmq_servers: 127.0.0.1

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
Remove ``heat_rpc_backend`` option due to deprecation of
rpc_backend option in oslo.messaging.

View File

@ -24,7 +24,6 @@ auth_encryption_key = {{ heat_auth_encryption_key }}
num_engine_workers = {{ heat_engine_workers | default(heat_api_threads) }}
## RPC Backend
rpc_backend = {{ heat_rpc_backend }}
transport_url = rabbit://{% for host in heat_rabbitmq_servers.split(',') %}{{ heat_rabbitmq_userid }}:{{ heat_rabbitmq_password }}@{{ host }}:{{ heat_rabbitmq_port }}{% if not loop.last %},{% else %}/{{ heat_rabbitmq_vhost }}{% endif %}{% endfor %}
## Plugin dirs