Keystone: Enable notification topics to be configured
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Wed, 1 Nov 2017 12:44:23 +0000 (12:44 +0000)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Mon, 13 Nov 2017 14:22:10 +0000 (14:22 +0000)
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
releasenotes/notes/extra-keystone-notification-topics-8be1d37afd90b910.yaml [new file with mode: 0644]

index 6301314..630cc78 100644 (file)
@@ -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 (file)
index 0000000..d39a1ae
--- /dev/null
@@ -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.