Deployment fails with "Stack %name% already has an action (UPDATE) in progress" error

Bug #1571863 reported by Stan Lagun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Medium
Stan Lagun
Mitaka
Fix Committed
Medium
Valerii Kovalchuk
Newton
Fix Released
Medium
Stan Lagun

Bug Description

Sometimes HeatStack.push operation fails with Stack %name% already has an action (UPDATE) in progress error message which result in failed 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/307507

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

Reviewed: https://review.openstack.org/307507
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=9536e51fa07fdc53c8d0b734367c3fc9ac300dbc
Submitter: Jenkins
Branch: master

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.

    Change-Id: Ibff461ed606e7fb1fc76ad422b4431476e22ab0b
    Closes-Bug: #1571863

Changed in murano:
status: In Progress → Fix Released
tags: added: mitaka-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/322168

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/murano 3.0.0.0b1

This issue was fixed in the openstack/murano 3.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (stable/mitaka)

Reviewed: https://review.openstack.org/322168
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=81bf238273a2ebd250885e9d196c9faeb44cf7fa
Submitter: Jenkins
Branch: stable/mitaka

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)

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/murano 2.0.1

This issue was fixed in the openstack/murano 2.0.1 release.

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.