avoid swallow up the notification

Bug #1466722 reported by Lianhao Lu
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ceilometer
Won't Fix
Low
Lianhao Lu

Bug Description

Currently, ceilometer doesn't use the 'pool' parameter when creating notification listener out of oslo.messaging. If there is another application creating the notification listener without setting the pool parameter too, that notification could only be received by either that application or ceilometer, but not by both of them. So either ceilometer or that application would miss that notification.

To avoid such conflict with other applications, we need to set the pool parameter. See http://docs.openstack.org/developer/oslo.messaging/notification_listener.html about how to use the pool parameter

Changed in ceilometer:
status: New → In Progress
Revision history for this message
Lianhao Lu (lianhao-lu) wrote :

After discussing with sileht, it seems having ceilometer set pool param has some side effect with current oslo.messaging. Ceilometer might lose the notification if restarting rabbitmq and if a notification is sent before ceilometer is reconnect to rabbitmq.

only notifications.XXXX queue are always present and ensure ceilometer to not miss notification. So we need to stick the current implementation before we make it configurable in oslo.messaging the list of queue that the notifier must ensure that exists.

Changed in ceilometer:
milestone: liberty-1 → none
Revision history for this message
Lianhao Lu (lianhao-lu) wrote :

besides, set the pool param seems preventing ceilometer receiving notifications in normal cases, see http://logs.openstack.org/07/193407/1/check/check-tempest-dsvm-full/bf1debf/

But that seems related to oslo.messaging, not ceilometer itself.

Revision history for this message
Lianhao Lu (lianhao-lu) wrote :

ok, the pool param works fine. But there is bug in glance/ceilometer coordination, see bug #1467776.

And also according to comment #1, we can't fix this until we make it configurable in oslo.messaging the list of queue that the notifier must ensure that exists.

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/193407
Reason: clean up

Revision history for this message
gordon chung (chungg) wrote :

i think we've given up on this and it should really be a oslo.messaging issue.

Changed in ceilometer:
status: In Progress → Invalid
status: Invalid → Won't Fix
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.