Fixed oslo deprecated warning when running devstack
Moved notification driver and topics from DEFAULT to the oslo_messaging_notifications group. Change-Id: Iab163987fb8b27b21d4870eeb59f5d5f84229f91
This commit is contained in:
parent
14bf795a9d
commit
a31982b53e
|
@ -334,7 +334,10 @@ class TestCase(base.BaseTestCase):
|
|||
self.messaging_conf.response_timeout = 5
|
||||
self.useFixture(self.messaging_conf)
|
||||
|
||||
self.config(notification_driver=['test'])
|
||||
self.config(
|
||||
driver=['test'],
|
||||
group='oslo_messaging_notifications'
|
||||
)
|
||||
|
||||
self.useFixture(fixtures.RPCFixture(CONF))
|
||||
|
||||
|
|
|
@ -86,8 +86,8 @@ function configure_designate {
|
|||
fi
|
||||
|
||||
# Set up Notifications/Ceilometer Integration
|
||||
iniset $DESIGNATE_CONF DEFAULT notification_driver "$DESIGNATE_NOTIFICATION_DRIVER"
|
||||
iniset $DESIGNATE_CONF DEFAULT notification_topics "$DESIGNATE_NOTIFICATION_TOPICS"
|
||||
iniset $DESIGNATE_CONF oslo_messaging_notifications driver "$DESIGNATE_NOTIFICATION_DRIVER"
|
||||
iniset $DESIGNATE_CONF oslo_messaging_notifications topics "$DESIGNATE_NOTIFICATION_TOPICS"
|
||||
|
||||
# Root Wrap
|
||||
sudo cp $DESIGNATE_DIR/etc/designate/rootwrap.conf.sample $DESIGNATE_ROOTWRAP_CONF
|
||||
|
|
Loading…
Reference in New Issue