stack abandon should have a dry run option

Bug #1300830 reported by JunJie Nan
This bug report is a duplicate of:  Bug #1353670: Stack Abandon is unsafe. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Invalid
Medium
JunJie Nan
python-heatclient
Invalid
Medium
JunJie Nan

Bug Description

To display the abandon data only, without deleting the stack.

Below is a usage scenario:
1. heat stack-abandon stack --dry-run > stack.data,
2. heat stack-update ...
3. If update failure found, we can run heat stack-adopt -a stack.data to adopt back.

Current behavior(delete stack and show abandon data) does not make sense. So no chance left to end users to keep a healthy stack data before update. And right after stack abandon to do stack adopt is too heavy.

JunJie Nan (nanjj)
summary: - stack abandon should have a dry run option
+ stack abandon should have a dry run option - heat part
summary: - stack abandon should have a dry run option - heat part
+ stack abandon should have a dry run option
affects: heat → python-heatclient
JunJie Nan (nanjj)
affects: python-heatclient → heat
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/84664

Changed in heat:
assignee: nobody → JunJie Nan (nanjj)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-heatclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/84680

Changed in python-heatclient:
assignee: nobody → JunJie Nan (nanjj)
status: New → In Progress
Changed in python-heatclient:
importance: Undecided → Medium
Changed in heat:
importance: Undecided → Medium
milestone: none → juno-1
Thierry Carrez (ttx)
Changed in heat:
milestone: juno-1 → juno-2
Revision history for this message
Steven Hardy (shardy) wrote :

https://review.openstack.org/#/c/84664/ is marked WIP so bumping to J3

Changed in heat:
milestone: juno-2 → juno-3
Thierry Carrez (ttx)
Changed in heat:
milestone: juno-3 → juno-rc1
Changed in heat:
milestone: juno-rc1 → kilo-1
Revision history for this message
Zane Bitter (zaneb) wrote :

I think *every* abandon needs to be a "dry run" in the sense of not deleting the stack, as discussed in bug 1353670 (which I raised because I didn't know about this one).

Do we still need a --preview option (which I guess would return the data without changing the state) if abandon is implemented like that?

Zane Bitter (zaneb)
tags: added: abandon-adopt
Angus Salkeld (asalkeld)
Changed in heat:
milestone: kilo-1 → kilo-2
Angus Salkeld (asalkeld)
Changed in heat:
milestone: kilo-2 → kilo-3
Angus Salkeld (asalkeld)
Changed in heat:
milestone: kilo-3 → next
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-heatclient (master)

Change abandoned by Angus Salkeld (<email address hidden>) on branch: master
Review: https://review.openstack.org/84680
Reason: adandoning old reviews, feel free to repost this if you want to get it merged.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on heat (master)

Change abandoned by Steve Baker (<email address hidden>) on branch: master
Review: https://review.openstack.org/84664
Reason: This is being handled now by https://review.openstack.org/#/c/181880

Changed in python-heatclient:
status: In Progress → Invalid
Changed in heat:
status: In Progress → Invalid
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.