qpid driver in topology 2 can cause build up of response messages

Bug #1318742 reported by Gordon Sim
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo-incubator
Fix Released
High
Gordon Sim
oslo.messaging
Fix Released
High
Gordon Sim

Bug Description

If topology 2 is selected for the qpid driver and the connection is lost then re-established (and the broker state is not lost as part of this), a new receiver is created for responses and as the link name is not specified, a new queue will be created, though the same routing key is used. The old response queue is left there (as auto-delete is off by default), but because the same routing key is being used, all responses for any subsequent requests issued will be enqueued on both old and new queue. Nothing is subscribed to the old queue so the messages there will simply build up.

Revision history for this message
Gordon Sim (gsim) wrote :

A workaround is to set the amqp_auto_delete option to True when using that topology and the qpid driver.

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/94362

Changed in oslo.messaging:
assignee: nobody → Gordon Sim (gsim)
status: New → In Progress
Changed in oslo.messaging:
importance: Undecided → High
Changed in oslo:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo-incubator (master)

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

Changed in oslo:
assignee: nobody → Gordon Sim (gsim)
status: New → In Progress
Mark McLoughlin (markmc)
tags: added: icehouse-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo-incubator (master)

Reviewed: https://review.openstack.org/94392
Committed: https://git.openstack.org/cgit/openstack/oslo-incubator/commit/?id=e29b8aa672ddd5cb29e94cc6d73c62a1f0c657fe
Submitter: Jenkins
Branch: master

commit e29b8aa672ddd5cb29e94cc6d73c62a1f0c657fe
Author: Gordon Sim <email address hidden>
Date: Tue May 20 15:59:50 2014 +0100

    Explicitly name subscription queue

    This ensures that on reconnect the same queue is used rather than leaving it abandoned
    but still bound with the same routing key that will be used with the new queue.

    Change-Id: Ib76371a3b649688df395d7bf07f813a837b2313a
    Closes-Bug: 1318742

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

Reviewed: https://review.openstack.org/94362
Committed: https://git.openstack.org/cgit/openstack/oslo.messaging/commit/?id=25f3d9acc395baef730203dcfc3941dbfc4fb73b
Submitter: Jenkins
Branch: master

commit 25f3d9acc395baef730203dcfc3941dbfc4fb73b
Author: Gordon Sim <email address hidden>
Date: Tue May 20 14:27:06 2014 +0100

    Explicitly name subscription queue for responses

    This prevents response queues being abandoned but still bound to
    the exchange with the same key as the newer queue.

    Change-Id: Iee0465010a1c6d00e96fb672505688a0f763f86c
    Closes-Bug: 1318742

Changed in oslo.messaging:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.messaging (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/105491

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo-incubator (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/105494

Changed in oslo:
milestone: none → juno-2
status: Fix Committed → Fix Released
Changed in oslo.messaging:
milestone: none → juno-2
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.messaging (stable/icehouse)

Reviewed: https://review.openstack.org/105491
Committed: https://git.openstack.org/cgit/openstack/oslo.messaging/commit/?id=f09b9550c8269376f32a8dc05c5efc615619c903
Submitter: Jenkins
Branch: stable/icehouse

commit f09b9550c8269376f32a8dc05c5efc615619c903
Author: Gordon Sim <email address hidden>
Date: Tue May 20 14:27:06 2014 +0100

    Explicitly name subscription queue for responses

    This prevents response queues being abandoned but still bound to
    the exchange with the same key as the newer queue.

    Change-Id: Iee0465010a1c6d00e96fb672505688a0f763f86c
    Closes-Bug: 1318742
    (cherry picked from commit 25f3d9acc395baef730203dcfc3941dbfc4fb73b)

tags: added: in-stable-icehouse
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.