oslo.messaging log useless error on application exit

Bug #1450336 reported by Mehdi Abaakouk
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
oslo.messaging
Fix Released
Low
Mehdi Abaakouk

Bug Description

Hi,

When an application exits, the rabbit consumers main loop is stopped and raise an useless error without detail:

2015-04-30 07:07:24.037 21241 INFO ceilometer.openstack.common.service [-] Caught SIGINT, exiting
2015-04-30 07:07:24.998 21241 ERROR oslo_messaging._drivers.impl_rabbit [-] Failed to consume message from queue:

Cheers,

Mehdi Abaakouk (sileht)
Changed in oslo.messaging:
assignee: nobody → Mehdi Abaakouk (sileht)
Mehdi Abaakouk (sileht)
Changed in oslo.messaging:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.messaging (master)

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

Changed in oslo.messaging:
status: New → In Progress
Mehdi Abaakouk (sileht)
Changed in oslo.messaging:
milestone: none → next-liberty
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.messaging (master)

Reviewed: https://review.openstack.org/178961
Committed: https://git.openstack.org/cgit/openstack/oslo.messaging/commit/?id=6c91066c72f3449fc01ab3189c9ddde3b32b570e
Submitter: Jenkins
Branch: master

commit 6c91066c72f3449fc01ab3189c9ddde3b32b570e
Author: Mehdi Abaakouk <email address hidden>
Date: Thu Apr 30 08:56:20 2015 +0200

    rabbit/qpid: simplify the consumer loop

    The consumer loop is over engineered, it returns unused return,
    iterconsume creates an iterator directly consumed by 'consume' without
    special handling, and in some case kombu error callback are called when
    the iterator is stopped and log useless error.

    And in reality the consumer is always called when limit=1.

    This change simplifies that, by removing the loop and removes all
    returns stuffs.

    Closes bug: #1450336

    Change-Id: Ia2cb52c8577b29e74d4d2b0ed0b535102f2d55c7

Changed in oslo.messaging:
status: In Progress → Fix Committed
Changed in oslo.messaging:
status: Fix Committed → Fix Released
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.