Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1256564

Summary: DELETE_FAILED when trying to delete an already FAILED stack
Product: Red Hat OpenStack Reporter: Steve Baker <sbaker>
Component: openstack-heatAssignee: Steve Baker <sbaker>
Status: CLOSED ERRATA QA Contact: Alexander Chuzhoy <sasha>
Severity: medium Docs Contact:
Priority: high    
Version: 7.0 (Kilo)CC: afazekas, augol, calfonso, ddomingo, ebagdasa, jschluet, jslagle, lmartins, mbooth, mburns, oblaut, rhel-osp-director-maint, rlandy, sasha, sbaker, shardy, ukalifon, yeylon
Target Milestone: z2Keywords: Triaged, ZStream
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-heat-2015.1.0-6.el7ost Doc Type: Bug Fix
Doc Text:
Previously, the Orchestration service did not take stack action into account when checking the stack state. As a result, deleting a stack in a FAILED state would first cause the stack to go into a DELETE_FAILED status. It took a second delete attempt to actually delete the stack. With this update, the stack action is now taken into account when checking the stack state. Specifically, the current action is now compared with whatever action leads to a reported stack state. As such, stacks in a FAILED state will be correctly deleted on the first attempt. (BZ#1256564)
Story Points: ---
Clone Of: 1230163 Environment:
Last Closed: 2015-10-08 12:20:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1230163    
Bug Blocks:    

Description Steve Baker 2015-08-25 00:39:23 UTC
+++ This bug was initially created as a clone of Bug #1230163 +++

Description of problem:
When I get CREATE_FAILED in deployments and try to delete the stack - it always ends up in DELETE_FAILED state and I have no work around. I need to reprovision the machine. 

This bug is to track heat fixes for deleting stacks which are already in a FAILED state.

Comment 7 Zane Bitter 2015-09-09 22:07:09 UTC
*** Bug 1242796 has been marked as a duplicate of this bug. ***

Comment 8 Steve Baker 2015-09-09 23:57:32 UTC
*** Bug 1253493 has been marked as a duplicate of this bug. ***

Comment 10 Alexander Chuzhoy 2015-09-29 18:15:10 UTC
Verified:
openstack-heat-common-2015.1.1-5.el7ost.noarch
openstack-heat-api-cfn-2015.1.1-5.el7ost.noarch
openstack-heat-api-cloudwatch-2015.1.1-5.el7ost.noarch
openstack-heat-api-2015.1.1-5.el7ost.noarch
openstack-heat-templates-0-0.6.20150605git.el7ost.noarch
openstack-heat-engine-2015.1.1-5.el7ost.noarch
openstack-tripleo-heat-templates-0.8.6-69.el7ost.noarch


Was able to delete the overcloud on a first attempt after a failed attempt to update it (which caused it to appear as failed).

Comment 12 errata-xmlrpc 2015-10-08 12:20:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2015:1865