Set keystone notification topics if ceilometer is enabled
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Wed, 1 Nov 2017 12:03:58 +0000 (12:03 +0000)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Mon, 13 Nov 2017 14:21:11 +0000 (14:21 +0000)
This sets the keystone notification topics only if ceilometer is
enabled. This mitigates the issue of keystone sending notifications
when nobody is receiving them.

Closes-Bug: #1729293
Depends-On: I4dcce73446633c08ea37ba567610eec398094036
Change-Id: I063af5e642388acc180cb8e728481c5a36cc8ddc
(cherry picked from commit 4adb82d03ddd72191bb379f277374a0a5720bbc4)

puppet/services/ceilometer-base.yaml
releasenotes/notes/ceilometer-keystone-notifications-f1e463d0ec939b22.yaml [new file with mode: 0644]

index 55ee967..140e39e 100644 (file)
@@ -174,6 +174,8 @@ outputs:
           ceilometer::keystone::auth::region: {get_param: KeystoneRegion}
           ceilometer::keystone::auth::tenant: 'service'
           ceilometer::keystone::auth::configure_endpoint: {get_param: CeilometerApiEndpoint}
+          # Enable default notification queue
+          tripleo::profile::base::keystone::ceilometer_notification_topics: ["notifications"]
         mysql:
           ceilometer::db::mysql::password: {get_param: CeilometerPassword}
           ceilometer::db::mysql::user: ceilometer
diff --git a/releasenotes/notes/ceilometer-keystone-notifications-f1e463d0ec939b22.yaml b/releasenotes/notes/ceilometer-keystone-notifications-f1e463d0ec939b22.yaml
new file mode 100644 (file)
index 0000000..c49806b
--- /dev/null
@@ -0,0 +1,5 @@
+---
+fixes:
+  - |
+    Enabling ceilometer automatically enables keystone notifications
+    through the 'notifications' topic (which was the default).