Bug 1334468 - [RFE] Support for pre-delete hooks
Summary: [RFE] Support for pre-delete hooks
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-heat
Version: 9.0 (Mitaka)
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ga
: 9.0 (Mitaka)
Assignee: Thomas Hervé
QA Contact: Amit Ugol
URL:
Whiteboard:
Depends On:
Blocks: 1362719
TreeView+ depends on / blocked
 
Reported: 2016-05-09 16:58 UTC by Jaromir Coufal
Modified: 2016-08-11 12:19 UTC (History)
7 users (show)

Fixed In Version: openstack-heat-6.0.0-1.el7ost
Doc Type: Enhancement
Doc Text:
Using the resource registry in the environment, a user can set a hook which will pause delete actions on these resources. This allows users to take specific actions when a resource is deleted, and perform extra validation when critical elements are removed. As a result, when a resource with a pre-delete hook is about to be deleted, Heat will pause until the resource is signaled with {'unset_hook': 'pre-delete'} as data.
Clone Of:
Environment:
Last Closed: 2016-08-11 12:19:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:1597 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 9 Release Candidate Advisory 2016-08-11 16:06:52 UTC

Description Jaromir Coufal 2016-05-09 16:58:08 UTC
We provide hooks for pre-create and pre-update, but not for pre-delete. Such a	hook would allow users to make specific actions when a resource is deleted, like deregistration with external systems, and will provide the ability to validate deletion of critical elements.

Blueprint: https://blueprints.launchpad.net/heat/+spec/pre-delete-hook

Comment 5 errata-xmlrpc 2016-08-11 12:19:33 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-1597.html


Note You need to log in before you can comment on or make changes to this bug.