Remove deprecated rpc_backend param

Remove the deprecated rpc_backend param which has been deprecated for
two years. The default_transport_url has been present for a while
now and should be used.

Change-Id: I140318c4eaae9aada3e7f6ce904c950a692a06d8
This commit is contained in:
ZhongShengping 2018-05-24 11:11:11 +08:00
parent fdf61f1d04
commit 5ff7d52781
2 changed files with 5 additions and 12 deletions

View File

@ -166,12 +166,6 @@
# (Optional) Run db sync on the node.
# Defaults to true
#
# DEPRECATED PARAMETERS
#
# [*rpc_backend*]
# (Optional) Use these options to configure the RabbitMQ message system.
# Defaults to 'rabbit'
#
# == Authors
#
# Dan Radez <dradez@redhat.com>
@ -216,8 +210,6 @@ class tacker(
$amqp_username = $::os_service_default,
$amqp_password = $::os_service_default,
$sync_db = true,
# DEPRECATED PARAMETERS
$rpc_backend = 'rabbit',
) inherits tacker::params {
include ::tacker::deps
@ -227,10 +219,6 @@ class tacker(
include ::tacker::db::sync
}
if $rpc_backend {
warning('The rpc_backend parameter has been deprecated, please use default_transport_url instead.')
}
oslo::messaging::rabbit {'tacker_config':
rabbit_use_ssl => $rabbit_use_ssl,
heartbeat_timeout_threshold => $rabbit_heartbeat_timeout_threshold,

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
The deprecated tacker::rpc_backend is now removed. Please use
tacker::default_transport_url instead.