Update control_exchange value in keystone.conf
The control_exchange comes from oslo and is set to 'openstack' by default. This should be overridden by the projects that use oslo.messaging, since projects should be placing notifications on project specific exchanges. Nova performs the override in the same manner: https://github.com/openstack/nova/blob/master/nova/config.py#L33 https://github.com/openstack/nova/blob/master/nova/rpc.py#L77 Change-Id: Ifcc43dcccaa9d56e03922ce8cf0bf7fb8e93bdcc
This commit is contained in:
parent
16d319f190
commit
87bf6822b5
@ -307,7 +307,7 @@
|
||||
# The default exchange under which topics are scoped. May be
|
||||
# overridden by an exchange name specified in the
|
||||
# transport_url option. (string value)
|
||||
#control_exchange=openstack
|
||||
#control_exchange=keystone
|
||||
|
||||
|
||||
#
|
||||
|
@ -13,6 +13,7 @@
|
||||
# under the License.
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo import messaging
|
||||
|
||||
|
||||
_DEFAULT_AUTH_METHODS = ['external', 'password', 'token']
|
||||
@ -796,6 +797,7 @@ FILE_OPTIONS = {
|
||||
|
||||
|
||||
CONF = cfg.CONF
|
||||
messaging.set_transport_defaults(control_exchange='keystone')
|
||||
|
||||
|
||||
def setup_authentication(conf=None):
|
||||
|
Loading…
x
Reference in New Issue
Block a user