DeletionPolicy is incorrectly implemented

Bug #1160779 reported by Zane Bitter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Thomas Herve

Bug Description

We have implemented DeletionPolicy as a Property of the S3 Bucket and Swift Containers resource types. However it is not a Property; it is a top-level attribute (i.e. a sibling of "Properties") of all resources.

The current implementation represents a major incompatibility with AWS templates, which would result in data loss if the user were to create and delete a template with "Retain" deletion policies on the expectation that we have implemented it.

Zane Bitter (zaneb)
Changed in heat:
importance: Undecided → High
Steven Hardy (shardy)
Changed in heat:
status: New → Triaged
milestone: none → havana-1
Thomas Herve (therve)
Changed in heat:
assignee: nobody → Thomas Herve (therve)
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/27918

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

Reviewed: https://review.openstack.org/27918
Committed: http://github.com/openstack/heat/commit/147e1e6afe28e24ef7b508ca7fed0bb0a926b6f0
Submitter: Jenkins
Branch: master

commit 147e1e6afe28e24ef7b508ca7fed0bb0a926b6f0
Author: Thomas Herve <email address hidden>
Date: Wed May 1 16:54:57 2013 +0200

    Make DeletionPolicy a resource attribute instead of a property.

    This improves validation of the different values, and make the Retain
    policy works for all resources.

    Fixes: bug #1160779
    Change-Id: Idb0d275c44661db341f693d9d80629661d66c7ac

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: havana-1 → 2013.2
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.