notifications.info queue grows despite notification_driver being set to null on all conf files.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
Medium
|
Ivan Berezovskiy | ||
7.0.x |
Invalid
|
Medium
|
Alexey Stupnikov | ||
8.0.x |
Invalid
|
Medium
|
Alexey Stupnikov | ||
9.x |
Fix Released
|
Medium
|
Ivan Berezovskiy |
Bug Description
Detailed bug description:
Basically, a customer requires ceilometer to be disabled. We have done that successfully, however, as you may know the rest of the services will continue to publish messages to the info queue for ceilometer to consume. Without ceilometer that queue will grow and grow. We have since set `notification_
Here is the message payload:
{"_context_roles": ["Member"], "_context_
[root@CONTROLLER-1 ~]# find /etc/ -name \*.conf -exec grep -HiR '^notification_
/etc/cinder/
/etc/cinder/
/etc/cinder/
/etc/nova/
/etc/glance/
/etc/heat/
/etc/neutron/
[root@COMPUTE-1 ~]# find /etc/ -name \*.conf -exec grep -HiR '^notification_
/etc/nova/
/etc/nova/
/etc/nova/
Steps to reproduce:
1. Stop all ceilometer related services on controllers and compute nodes.
2. Find all conf files with notification_driver variable (find /etc/ -name \*.conf -exec grep -HiR '^notification_
3. Set notification_driver variable to blank or noop.
4. Restart all corresponding APIs, neutron-server, nova-compute.
5. Purge notifications.info queue to clear queue.
6. Create and delete instance.
7. notifiactions.info queue grows again.
Expected results:
Queue should no longer be published to.
Actual result:
Neutron appears to be publishing messages from port create and port delete (see above payload)
Reproducibility:
100%
Workaround:
Cron job to purge queue manually.
Impact:
If no cron job is configured the queue will grow to large and rabbit may experience issues.
Description of the environment:
- Operation system: Ubuntu 14.04
- Versions of components: MOS 7.0 MU4, MOS 5.1 ( I assume other MOS versions are affected too)
description: | updated |
description: | updated |
tags: | added: customer-found |
tags: | added: support |
Changed in mos: | |
assignee: | nobody → MOS Maintenance (mos-maintenance) |
tags: | added: area-library |
tags: | added: on-verification |
tags: | removed: on-verification |
As I can see here:
https:/ /github. com/openstack/ fuel-library/ blob/a47d71b1fe a83100d44f1e33a 471d1020d1d94bd /deployment/ puppet/ openstack_ tasks/manifests /heat/heat. pp#L219
in the heat a notification driver setup as constant string (notice that is custom notification driver - heat.openstack.*) without any dependency on the ceilometer. common. notifier. rpc_notifier,
So, heat always sends notifications and we need to change this behavior:
if ceilometer is enabled - the notification_driver value must be heat.openstack.
if not - notification_driver must be empty string (means notifications are disabled)