Browse Source

"notification_driver" from group "DEFAULT" is deprecated

Option "notification_driver" from group "DEFAULT" is deprecated.
Use option "driver" from group "oslo_messaging_notifications"

Reference link:
[1] https://github.com/openstack/oslo.messaging/blob/master/
    oslo_messaging/notify/notifier.py#L34

Change-Id: I3e211ac315bb582961ad03e2cf06d4409eb20ed3
Closes-Bug: #1535611
changes/32/269532/1
houming-wang 6 years ago
parent
commit
92450109b1
3 changed files with 9 additions and 7 deletions
  1. +1
    -1
      devstack/lib/magnum
  2. +2
    -2
      doc/source/dev/dev-manual-devstack.rst
  3. +6
    -4
      etc/magnum/magnum.conf.sample

+ 1
- 1
devstack/lib/magnum View File

@ -177,7 +177,7 @@ function create_magnum_conf {
fi
if is_service_enabled ceilometer; then
iniset $MAGNUM_CONF DEFAULT notification_driver "messaging"
iniset $MAGNUM_CONF oslo_messaging_notifications driver "messaging"
fi
if is_service_enabled barbican; then


+ 2
- 2
doc/source/dev/dev-manual-devstack.rst View File

@ -194,8 +194,8 @@ Configure magnum::
sudo sed -i "s/#auth_uri\s*=.*/auth_uri=http:\/\/127.0.0.1:5000\/v2.0/" \
/etc/magnum/magnum.conf
# set notification_driver (if using ceilometer)
sudo sed -i "s/#notification_driver\s*=.*/notification_driver=messaging/" \
# set oslo messaging notifications driver (if using ceilometer)
sudo sed -i "s/#driver\s*=.*/driver=messaging/" \
/etc/magnum/magnum.conf
Clone and install the magnum client::


+ 6
- 4
etc/magnum/magnum.conf.sample View File

@ -221,10 +221,6 @@
# Deprecated group/name - [DEFAULT]/rpc_thread_pool_size
#executor_thread_pool_size = 64
# The Drivers(s) to handle sending notifications. Possible values are
# messaging, messagingv2, routing, log, test, noop (multi valued)
#notification_driver =
# A URL representing the messaging driver to use for notifications. If
# not set, we fall back to the same configuration used for RPC.
# (string value)
@ -1230,6 +1226,12 @@
# Deprecated group/name - [DEFAULT]/fake_rabbit
#fake_rabbit = false
[oslo_messaging_notifications]
# The Drivers(s) to handle sending notifications. Possible values are
# messaging, messagingv2, routing, log, test, noop (multi valued)
# Deprecated group/name - [DEFAULT]/notification_driver
#driver =
[oslo_policy]


Loading…
Cancel
Save