Rollback deletes all events by default

Bug #1131303 reported by Zane Bitter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Steven Hardy

Bug Description

Until such time as the blueprint https://blueprints.launchpad.net/heat/+spec/event-persistence is implemented, an error in stack creation with rollback enabled will cause all events and other stack data that could be used to debug the problem to be immediately deleted.

Since rollback is enabled by default, we're probably going to get a lot of unfortunate support requests. We should disable it by default until the blueprint has been implemented.

Steven Hardy (shardy)
Changed in heat:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Steven Hardy (shardy)
milestone: none → grizzly-rc1
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/23421

Changed in heat:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/23421
Committed: http://github.com/openstack/heat/commit/7f9d593c98452a2c8f23d82f8bb504ae4c3a365c
Submitter: Jenkins
Branch: master

commit 7f9d593c98452a2c8f23d82f8bb504ae4c3a365c
Author: Steven Hardy <email address hidden>
Date: Mon Mar 4 11:57:56 2013 +0000

    heat engine : Disable stack rollback by default

    Until the event-persistence BP is implemented, we should
    disable stack rollback by default and make it opt-in.

    fixes bug 1131303

    Change-Id: I101e108c3959c4b7b4cfc68449ba2b989b157626

Changed in heat:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/23422
Committed: http://github.com/openstack/heat/commit/0aea9429bf122eb4cde1b749b129ecfe6ca8f63c
Submitter: Jenkins
Branch: master

commit 0aea9429bf122eb4cde1b749b129ecfe6ca8f63c
Author: Steven Hardy <email address hidden>
Date: Mon Mar 4 15:27:57 2013 +0000

    heat clients : Change --disable-rollback to --enable-rollback

    Since the engine default is now rollback disabled, flip this
    switch so the user can opt-in to rollback functionality via
    the --enable-rollback cli option to heat-cfn/heat-boto

    ref bug 1131303

    Change-Id: I3965de9a2beb510d5623d0c7cd8ff3aea9d4364a

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/23423
Committed: http://github.com/openstack/heat/commit/d02b0889c637c26b840939662d4d51358169b892
Submitter: Jenkins
Branch: master

commit d02b0889c637c26b840939662d4d51358169b892
Author: Steven Hardy <email address hidden>
Date: Mon Mar 4 15:29:36 2013 +0000

    heat clients : Make heat-boto rollback disabled by default

    The boto library always sends the DisableRollback parameter,
    defaulted to False, which is the opposite of the engine
    default now, so we have to set DisableRollback to True in
    the boto client wrapper

    ref bug 1131303

    Change-Id: I4acbba7b37f24cb1a874292ff2323ae24b630edf

Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: grizzly-rc1 → 2013.1
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.