Bug 1817966 - notification drivers is enabled while telemetry is disabled by default
Summary: notification drivers is enabled while telemetry is disabled by default
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.0 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z8
: 16.2 (Train on RHEL 8.4)
Assignee: Ryan McCabe
QA Contact: Leonid Natapov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-27 10:51 UTC by Takashi Kajinami
Modified: 2022-08-10 16:51 UTC (History)
6 users (show)

Fixed In Version: openstack-tripleo-heat-templates-11.3.2-1.20210720153309.29a02c1.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-15 07:07:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1869355 0 None None None 2020-03-27 11:03:11 UTC
OpenStack gerrit 715394 0 None MERGED Disable notification from services by default 2021-02-09 22:07:32 UTC
Red Hat Issue Tracker OSP-6329 0 None None None 2022-08-10 16:51:25 UTC
Red Hat Product Errata RHEA-2021:3483 0 None None None 2021-09-15 07:08:31 UTC

Description Takashi Kajinami 2020-03-27 10:51:50 UTC
Description of problem:

In RHOSP16, we don't have telemetry services deployed by default.
~~~
[stack@undercloud-0 ~]$ source overcloudrc 
(overcloud) [stack@undercloud-0 ~]$ openstack endpoint list
+----------------------------------+-----------+--------------+----------------+---------+-----------+-----------------------------------------------+
| ID                               | Region    | Service Name | Service Type   | Enabled | Interface | URL                                           |
+----------------------------------+-----------+--------------+----------------+---------+-----------+-----------------------------------------------+
| 037a3549d52848f8a4fa2a10822e28d7 | regionOne | heat-cfn     | cloudformation | True    | public    | http://10.0.0.134:8000/v1                     |
| 0385b091a0b64375ae74feb78ffa9d4f | regionOne | cinderv3     | volumev3       | True    | internal  | http://172.17.1.34:8776/v3/%(tenant_id)s      |
| 0e12b415f94641e0a2b7de5a1ca257e9 | regionOne | placement    | placement      | True    | public    | http://10.0.0.134:8778/placement              |
| 1296b82d9e594431850ebde597aaa7d0 | regionOne | cinderv2     | volumev2       | True    | public    | http://10.0.0.134:8776/v2/%(tenant_id)s       |
| 1869b6a8350945dfac6b766ac5bcb741 | regionOne | keystone     | identity       | True    | public    | http://10.0.0.134:5000                        |
| 22cf79118d534c29a40bc5b700ad48c7 | regionOne | placement    | placement      | True    | admin     | http://172.17.1.34:8778/placement             |
| 2b873cf0939f49d1bd673a729622a2e5 | regionOne | nova         | compute        | True    | public    | http://10.0.0.134:8774/v2.1                   |
| 33c28b4738a640b1adae70943ca4b6b3 | regionOne | neutron      | network        | True    | public    | http://10.0.0.134:9696                        |
| 376d267c157140f288dc770609879b59 | regionOne | cinderv3     | volumev3       | True    | public    | http://10.0.0.134:8776/v3/%(tenant_id)s       |
| 42f66bc5b4ef4ec98679b1ca306816aa | regionOne | neutron      | network        | True    | internal  | http://172.17.1.34:9696                       |
| 521cb27512e845a2b5ea596afd3fa503 | regionOne | swift        | object-store   | True    | public    | http://10.0.0.134:8080/v1/AUTH_%(tenant_id)s  |
| 62a86ff0dbb3460d98bb11623eebf35e | regionOne | glance       | image          | True    | internal  | http://172.17.1.34:9292                       |
| 65c537e4526542d5944ffff5bf356083 | regionOne | heat-cfn     | cloudformation | True    | internal  | http://172.17.1.34:8000/v1                    |
| 712aea3cbf444b9cb68a37c41c3f4951 | regionOne | heat-cfn     | cloudformation | True    | admin     | http://172.17.1.34:8000/v1                    |
| 73fc864ab39a43ddaf50ef5e42dc3f9f | regionOne | cinderv2     | volumev2       | True    | internal  | http://172.17.1.34:8776/v2/%(tenant_id)s      |
| 7c52e48bc6f94b8c86a811573e239e3d | regionOne | neutron      | network        | True    | admin     | http://172.17.1.34:9696                       |
| a10168321ddb42098868f7c35412d11e | regionOne | swift        | object-store   | True    | internal  | http://172.17.3.29:8080/v1/AUTH_%(tenant_id)s |
| a2e9abdde9da4cdda8c18e08f2b65183 | regionOne | glance       | image          | True    | admin     | http://172.17.1.34:9292                       |
| a6a43d63581b4b33838ef979feb893fa | regionOne | heat         | orchestration  | True    | admin     | http://172.17.1.34:8004/v1/%(tenant_id)s      |
| a6fc2fa290aa4af6864a82f585721203 | regionOne | placement    | placement      | True    | internal  | http://172.17.1.34:8778/placement             |
| a881e2d80d51408fb8e13db2612eaea7 | regionOne | keystone     | identity       | True    | admin     | http://192.168.24.44:35357                    |
| ac955588da01419e9228a7195b972d79 | regionOne | glance       | image          | True    | public    | http://10.0.0.134:9292                        |
| b5974c10f5a44e439c51e0a6894d4481 | regionOne | swift        | object-store   | True    | admin     | http://172.17.3.29:8080                       |
| bd98549257cc4c968a0e13e6f8c3803e | regionOne | nova         | compute        | True    | admin     | http://172.17.1.34:8774/v2.1                  |
| c529ef0e08104dd8aeb5da9841d518b8 | regionOne | heat         | orchestration  | True    | public    | http://10.0.0.134:8004/v1/%(tenant_id)s       |
| c825240f86014ed1bca010d448bad081 | regionOne | nova         | compute        | True    | internal  | http://172.17.1.34:8774/v2.1                  |
| c970bda8dda443dda9f5182fdc38f107 | regionOne | cinderv2     | volumev2       | True    | admin     | http://172.17.1.34:8776/v2/%(tenant_id)s      |
| e89a1538c87746eaaee59fff5fcb833f | regionOne | keystone     | identity       | True    | internal  | http://172.17.1.34:5000                       |
| ed8f3355d2a548fd9e2841e0b40b5b88 | regionOne | cinderv3     | volumev3       | True    | admin     | http://172.17.1.34:8776/v3/%(tenant_id)s      |
| f5670a0309b8446e945561ff7c02d776 | regionOne | heat         | orchestration  | True    | internal  | http://172.17.1.34:8004/v1/%(tenant_id)s      |
+----------------------------------+-----------+--------------+----------------+---------+-----------+-----------------------------------------------+
(overcloud) [stack@undercloud-0 ~]$ 
~~~

However, we have messagingv2 notifications driver enabled for several services by default,
which means that we have messages sent to notification.* queue while nothing subscribes these queues.

/var/lib/config-data/puppet-generated/nova/etc/nova/nova.conf
~~~
[oslo_messaging_notifications]

#
# From oslo.messaging
#

# The Drivers(s) to handle sending notifications. Possible values are messaging,
# messagingv2, routing, log, test, noop (multi valued)
# Deprecated group;name - DEFAULT;notification_driver
#driver =
driver=messagingv2
~~~

How reproducible:
Always

Steps to Reproduce:
1. Deploy Overcloud without setting NotificationDriver
2. See configurtion files for services on overcloud

Actual results:
oslo_messaging_notifications/driver is set as messagingv2

Expected results:
oslo_messaging_notifications/driver is set as noop

Additional info:

Comment 2 Matthias Runge 2020-04-08 15:13:35 UTC
the change needs to be done in the ceilometer-write-qdr.yaml and enable-stf.yaml but comment it out.
Ping Leif, if you have any questions.

Comment 3 Matthias Runge 2021-07-20 12:52:28 UTC
This seems to be merged upstream for train: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/770751

Comment 10 errata-xmlrpc 2021-09-15 07:07:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform (RHOSP) 16.2 enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2021:3483


Note You need to log in before you can comment on or make changes to this bug.