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.
Reviewed: https:/ /review. opendev. org/663687 /git.openstack. org/cgit/ openstack/ python- tripleoclient/ commit/ ?id=074bb6e3a06 f1d49a21506ffbd 16b521db462c9c
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 074bb6e3a06f1d4 9a21506ffbd16b5 21db462c9c
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: Icbe80c338d69ef c6ce8fceb0f73f8 33bec588536 f76552d62645b4d 63da2df9398 a7a95740e35b63a ab931601a1)
Change-Id: Ie6473d6a1044cd
Related-Bug: #1794277
(cherry picked from commit 339c1f334c5b4db