commit 81bf238273a2ebd250885e9d196c9faeb44cf7fa
Author: Stan Lagun <email address hidden>
Date: Mon Apr 18 15:09:26 2016 -0700
Fixes race condition in HeatStack
Before each operation HeatStack waits for the stack to become available.
But if several operations happen concurrently it might be the case when
several threads both check stack availability and conclude its ready and
then both try to update it. In this case Heat client throws HTTPConflict
exception. This fix handles it and retries the operation after delay.
Change-Id: Ibff461ed606e7fb1fc76ad422b4431476e22ab0b
Closes-Bug: #1571863
(cherry picked from commit 9536e51fa07fdc53c8d0b734367c3fc9ac300dbc)
Reviewed: https:/ /review. openstack. org/322168 /git.openstack. org/cgit/ openstack/ murano/ commit/ ?id=81bf238273a 2ebd250885e9d19 6c9faeb44cf7fa
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 81bf238273a2ebd 250885e9d196c9f aeb44cf7fa
Author: Stan Lagun <email address hidden>
Date: Mon Apr 18 15:09:26 2016 -0700
Fixes race condition in HeatStack
Before each operation HeatStack waits for the stack to become available.
But if several operations happen concurrently it might be the case when
several threads both check stack availability and conclude its ready and
then both try to update it. In this case Heat client throws HTTPConflict
exception. This fix handles it and retries the operation after delay.
Change-Id: Ibff461ed606e7f b1fc76ad422b443 1476e22ab0b 3c8d0b734367c3f c9ac300dbc)
Closes-Bug: #1571863
(cherry picked from commit 9536e51fa07fdc5