From c0adfdfabad5927b0fb5aeaa39b369479dcfc299 Mon Sep 17 00:00:00 2001 From: Juan Antonio Osorio Robles Date: Wed, 1 Nov 2017 12:44:23 +0000 Subject: Keystone: Enable notification topics to be configured This enables the configuration of notification topics via the KeystoneNotificationTopics parameter. Change-Id: I224e730e41e1bcb703e5deebfab3ca74f08faa02 Related-Bug: #1729293 (cherry picked from commit 3de75ccea06a160f8afb21f9da461109a08f7cbc) --- puppet/services/keystone.yaml | 5 +++++ .../extra-keystone-notification-topics-8be1d37afd90b910.yaml | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 releasenotes/notes/extra-keystone-notification-topics-8be1d37afd90b910.yaml diff --git a/puppet/services/keystone.yaml b/puppet/services/keystone.yaml index 6301314a..630cc78e 100644 --- a/puppet/services/keystone.yaml +++ b/puppet/services/keystone.yaml @@ -28,6 +28,10 @@ parameters: type: string constraints: - allowed_values: [ 'basic', 'cadf' ] + KeystoneNotificationTopics: + description: Keystone notification topics to enable + default: [] + type: comma_delimited_list KeystoneRegion: type: string default: 'regionOne' @@ -296,6 +300,7 @@ outputs: keystone::rabbit_port: {get_param: RabbitClientPort} keystone::notification_driver: {get_param: NotificationDriver} keystone::notification_format: {get_param: KeystoneNotificationFormat} + tripleo::profile::base::keystone::extra_notification_topics: {get_param: KeystoneNotificationTopics} keystone::roles::admin::email: {get_param: AdminEmail} keystone::roles::admin::password: {get_param: AdminPassword} keystone::endpoint::public_url: {get_param: [EndpointMap, KeystonePublic, uri_no_suffix]} diff --git a/releasenotes/notes/extra-keystone-notification-topics-8be1d37afd90b910.yaml b/releasenotes/notes/extra-keystone-notification-topics-8be1d37afd90b910.yaml new file mode 100644 index 00000000..d39a1ae2 --- /dev/null +++ b/releasenotes/notes/extra-keystone-notification-topics-8be1d37afd90b910.yaml @@ -0,0 +1,9 @@ +--- +features: + - | + The KeystoneNotificationTopics parameter was introduced. This takes a list + which will configure extra notification topics, which end up as queues in + the message broker. This is useful for when keystone notifications need to + be integrated with third party software. Note that enabling telemetry will + by default make keystone emit notifications to the 'notifications' topic, but + this parameter can enable extra topics still. -- cgit 1.2.3-korg