Remove deprecated rabbit_notification_exchange parameter
This parameter was deprecated during Yoga cycle[1] because it has been
invalid.
[1] 8bb784d524
Related-Bug: #1955510
Change-Id: I412625e9c741a20c3661f6a2ae17b6e16788b60a
This commit is contained in:
parent
3c24186052
commit
e18968ed1b
|
@ -103,12 +103,6 @@
|
||||||
# messaging, messagingv2, routing, log, test, noop (multi valued)
|
# messaging, messagingv2, routing, log, test, noop (multi valued)
|
||||||
# Defaults to $::os_service_default
|
# Defaults to $::os_service_default
|
||||||
#
|
#
|
||||||
# DEPRECATED PARAMETERS
|
|
||||||
#
|
|
||||||
# [*rabbit_notification_exchange*]
|
|
||||||
# Exchange name for sending notifications (string value)
|
|
||||||
# Defaults to undef
|
|
||||||
#
|
|
||||||
class glance::notify::rabbitmq(
|
class glance::notify::rabbitmq(
|
||||||
$default_transport_url = $::os_service_default,
|
$default_transport_url = $::os_service_default,
|
||||||
$rpc_response_timeout = $::os_service_default,
|
$rpc_response_timeout = $::os_service_default,
|
||||||
|
@ -129,8 +123,6 @@ class glance::notify::rabbitmq(
|
||||||
$amqp_durable_queues = $::os_service_default,
|
$amqp_durable_queues = $::os_service_default,
|
||||||
$kombu_compression = $::os_service_default,
|
$kombu_compression = $::os_service_default,
|
||||||
$notification_driver = $::os_service_default,
|
$notification_driver = $::os_service_default,
|
||||||
# DEPRECATED PARAMETERS
|
|
||||||
$rabbit_notification_exchange = undef,
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include glance::deps
|
include glance::deps
|
||||||
|
@ -162,12 +154,4 @@ class glance::notify::rabbitmq(
|
||||||
transport_url => $notification_transport_url,
|
transport_url => $notification_transport_url,
|
||||||
topics => $rabbit_notification_topic,
|
topics => $rabbit_notification_topic,
|
||||||
}
|
}
|
||||||
|
|
||||||
if $rabbit_notification_exchange != undef {
|
|
||||||
warning('The rabbit_notification_exchange parameter is deprecated and has no effect')
|
|
||||||
}
|
|
||||||
|
|
||||||
glance_api_config {
|
|
||||||
'oslo_messaging_rabbit/default_notification_exchange': ensure => absent;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
The ``glance::notify::rabbitmq::rabbit_notification_exchange`` parameter
|
||||||
|
has been removed.
|
Loading…
Reference in New Issue