Comment 22 for bug 1794277

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to python-tripleoclient (stable/queens)

Reviewed: https://review.opendev.org/663687
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=074bb6e3a06f1d49a21506ffbd16b521db462c9c
Submitter: Zuul
Branch: stable/queens

commit 074bb6e3a06f1d49a21506ffbd16b521db462c9c
Author: James Slagle <email address hidden>
Date: Wed Sep 26 16:08:10 2018 -0400

    Filter messages not from waiting execution

    The convention is to use the same queue name ("tripleo") for all
    workflows. This can lead to messages showing from other tripleoclient
    triggered workflows showing up during message polling if multiple
    workflows are running at the same time.

    This patch adds a check that will filter out any messages that do not
    belong to the execution that is being waited on by comparing the
    execution id with the root_execution_id returned in the execution
    payload.

    Depends-On: Icbe80c338d69efc6ce8fceb0f73f833bec588536
    Change-Id: Ie6473d6a1044cdf76552d62645b4d63da2df9398
    Related-Bug: #1794277
    (cherry picked from commit 339c1f334c5b4dba7a95740e35b63aab931601a1)