commit e83bd0bc3c7973e45b677c1c7007770e3f4873b4
Author: Stefan Nica <email address hidden>
Date: Mon Feb 19 19:07:42 2018 +0100
Add option to disable using oslo_message notifier
Add a configuration option, 'use_oslo_messaging', to indicate whether
to use oslo_messaging notifier. It is set to true for backwards
compatibility.
We can't use audit middleware with services like Swift, which have no
dependency on Oslo and does not work well with oslo_log. Swift uses rsyslog.
Currently, audit middleware indiscriminately chooses oslo_messaging if the
package is installed. This is problematic if Swift proxy is on the same
controller as any service which consumes oslo_messaging. With this new option,
Swift can now safely consume audit middleware by electing to use local
log notifier instead of oslo_messaging.
Reviewed: https:/ /review. openstack. org/545943 /git.openstack. org/cgit/ openstack/ keystonemiddlew are/commit/ ?id=e83bd0bc3c7 973e45b677c1c70 07770e3f4873b4
Committed: https:/
Submitter: Zuul
Branch: master
commit e83bd0bc3c7973e 45b677c1c700777 0e3f4873b4
Author: Stefan Nica <email address hidden>
Date: Mon Feb 19 19:07:42 2018 +0100
Add option to disable using oslo_message notifier
Add a configuration option, 'use_oslo_ messaging' , to indicate whether
to use oslo_messaging notifier. It is set to true for backwards
compatibility.
We can't use audit middleware with services like Swift, which have no
dependency on Oslo and does not work well with oslo_log. Swift uses rsyslog.
Currently, audit middleware indiscriminately chooses oslo_messaging if the
package is installed. This is problematic if Swift proxy is on the same
controller as any service which consumes oslo_messaging. With this new option,
Swift can now safely consume audit middleware by electing to use local
log notifier instead of oslo_messaging.
Change-Id: I87bf857c20e4b7 8e97d40dcc51a1b 4ff0014abb2
Closes-Bug: #1695038