commit b8f34e9543841b1ec3c6607141d7e531070274a9
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: I87bf857c20e4b78e97d40dcc51a1b4ff0014abb2
Closes-Bug: #1695038
(cherry picked from commit e83bd0bc3c7973e45b677c1c7007770e3f4873b4)
Reviewed: https:/ /review. openstack. org/546263 /git.openstack. org/cgit/ openstack/ keystonemiddlew are/commit/ ?id=b8f34e95438 41b1ec3c6607141 d7e531070274a9
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit b8f34e9543841b1 ec3c6607141d7e5 31070274a9
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 45b677c1c700777 0e3f4873b4)
Closes-Bug: #1695038
(cherry picked from commit e83bd0bc3c7973e