Bug 1319028

Summary: [bug] heat-stack delete needs a strong warning and confirmation prompt
Product: Red Hat OpenStack Reporter: Jaromir Coufal <jcoufal>
Component: python-heatclientAssignee: Steve Baker <sbaker>
Status: CLOSED ERRATA QA Contact: Amit Ugol <augol>
Severity: medium Docs Contact:
Priority: high    
Version: 7.0 (Kilo)CC: augol, cwolfe, dbecker, dtantsur, egallen, jcoufal, jpullen, jruzicka, jschluet, lhh, markmc, mburns, morazi, rhel-osp-director-maint, saime, sbaker, shardy, srevivo, yeylon, yjog, zbitter
Target Milestone: gaKeywords: Reopened
Target Release: 8.0 (Liberty)   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-heatclient-1.0.0-1.el7ost.noarch Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1259939 Environment:
Last Closed: 2016-04-07 21:34:51 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: 1259939    
Bug Blocks: 1319027    

Comment 2 Steve Baker 2016-03-21 21:23:01 UTC
We think this is best released to RHOS 8 by packaging python-heatclient-1.0.0. I'll test a scratch build and try it with the latest puddle.

Comment 5 Dmitry Tantsur 2016-03-29 11:06:22 UTC
testing..

Comment 6 Dmitry Tantsur 2016-03-29 11:48:45 UTC
[stack@instack ~]$ heat stack-delete overcloud
Are you sure you want to delete this stack(s) [y/N]? n
[stack@instack ~]$ heat stack-delete overcloud
Are you sure you want to delete this stack(s) [y/N]? y
+--------------------------------------+------------+-----------------+---------------------+--------------+
| id                                   | stack_name | stack_status    | creation_time       | updated_time |
+--------------------------------------+------------+-----------------+---------------------+--------------+
| aa744b66-c1f1-4a5c-ba64-8a75bf45457a | overcloud  | CREATE_COMPLETE | 2016-03-29T11:10:36 | None         |
+--------------------------------------+------------+-----------------+---------------------+--------------+


The warning could be more prominent IMO, but this should solve the main problem.

Comment 7 errata-xmlrpc 2016-04-07 21:34:51 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://rhn.redhat.com/errata/RHEA-2016-0603.html