Enabling refresh_pipeline_cfg leads to restart of event listener even when sample_pipeline is refreshed

Bug #1477321 reported by Rohit Jaiswal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Opinion
Medium
Rohit Jaiswal

Bug Description

When dynamic pipeline is enabled in config and the pipeline file (sample_pipeline) is updated, the notification listeners are restarted when the pipeline is refreshed.

As many listeners are created as the number of messaging_urls, For a single messaging_url, 1 listener is created that handles both sample and event endpoint targets.

https://github.com/openstack/ceilometer/blob/master/ceilometer/notification.py#L215-L220

On a refresh of the sample pipeline, the listener is restarted to refresh its pipeline configuration, but this interrupts the event consumption which is not required since the sample_pipeline has been refreshed, not the event_pipeline.

There should be a separation of the listeners based on which pipeline configuration they use, so that only the required ones be restarted, if needed.

Changed in ceilometer:
assignee: nobody → Rohit Jaiswal (rohit-jaiswal-3)
description: updated
description: updated
gordon chung (chungg)
Changed in ceilometer:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

Fix proposed to branch: master
Review: https://review.openstack.org/207493

Changed in ceilometer:
status: Triaged → In Progress
Changed in ceilometer:
status: In Progress → Opinion
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ceilometer (master)

Change abandoned by gordon chung (<email address hidden>) on branch: master
Review: https://review.openstack.org/207493
Reason: cleanup

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.