commit 9536e51fa07fdc53c8d0b734367c3fc9ac300dbc
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.
Reviewed: https:/ /review. openstack. org/307507 /git.openstack. org/cgit/ openstack/ murano/ commit/ ?id=9536e51fa07 fdc53c8d0b73436 7c3fc9ac300dbc
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9536e51fa07fdc5 3c8d0b734367c3f c9ac300dbc
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
Closes-Bug: #1571863