NotifierDriver fails when there is no subscription

Bug #1478841 reported by Thomas Herve
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zaqar
Fix Released
Undecided
Thomas Herve

Bug Description

If I enable the notifier in the pipeline and post a message in a queue without subscriber, it fails:

Empty: Root container 'taskflow.patterns.unordered_flow.Flow: webhook_notifier_flow(len=0)' (<class 'taskflow.patterns.unordered_flow.Flow'>) is empty

We should check that case.

Thomas Herve (therve)
Changed in zaqar:
assignee: nobody → Thomas Herve (therve)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zaqar (master)

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

Changed in zaqar:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zaqar (master)

Reviewed: https://review.openstack.org/206532
Committed: https://git.openstack.org/cgit/openstack/zaqar/commit/?id=c4aad3b3e5fc073b74cc7b963d49975004b5ea17
Submitter: Jenkins
Branch: master

commit c4aad3b3e5fc073b74cc7b963d49975004b5ea17
Author: Thomas Herve <email address hidden>
Date: Tue Jul 28 15:05:49 2015 +0200

    Skip tasks run when there is no subscriber

    This skips taskflow launch when the notifier is called for a queue
    without subscriber, preventing a traceback.

    Change-Id: I63571a163efae523e52798fe4039f48859fa1fee
    Closes-Bug: #1478841

Changed in zaqar:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in zaqar:
milestone: none → liberty-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in zaqar:
milestone: liberty-3 → 1.0.0
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.