Agent responses may get lost

Bug #1369589 reported by Stan Lagun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
Stan Lagun

Bug Description

When deployment of environment fails with exception AgentListener.stop() is not called and thus there remains a listener for RabbitMQ response queue. Besides being a resource leak it introduces another problems: when that environment get redeployed it becomes 2 listeners on the same queue and responses from agents may be stolen by zombie listener making workflow wait forever for response (hang deployment)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (master)

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

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

Reviewed: https://review.openstack.org/121590
Committed: https://git.openstack.org/cgit/stackforge/murano/commit/?id=6252069be09a32959eb1e9b313e4ba17e4131db4
Submitter: Jenkins
Branch: master

commit 6252069be09a32959eb1e9b313e4ba17e4131db4
Author: Stan Lagun <email address hidden>
Date: Mon Sep 15 18:34:53 2014 +0400

    Fixes stealing of agent responses in some cases

    When deployment of environment fails with exception AgentListener.stop() is not
    called and thus there remains a listener for RabbitMQ response queue.
    Besides being a resource leak it introduces another problems: when that environment
    get redeployed it becomes 2 listeners on the same queue and responses from agents
    may be stolen by zombie listener making workflow wait forever or response
    (hang deployment)

    Change-Id: Ic4cedd323ab7b55690d095ed8addcb0dc3e335a7
    Closes-Bug: #1369589

Changed in murano:
status: In Progress → Fix Committed
Changed in murano:
status: Fix Committed → Fix Released
Changed in murano:
milestone: juno-rc1 → 2014.2
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.