OpenStack Orchestration (Heat)
Go to file
Steven Hardy d5793c08e0 Generate stack events for stack state transitions
Currently, the event-list output is very resource-centric, despite
being scoped to the stack from an API path perspective.

This, combined with the fact that the stack updated_at timestamp
is only updated after a succesful update (ref bug #1193269) makes
it impossible to derive the time when an update started via any API.

This is a problem when trying to use the new hook/breakpoint API,
because it's necessary to poll for all events since the most recent
update started, disregarding any stale hook events from previous
updates (which may have failed or timed out without the hooks getting
cleared).

To work around this, add an event for each stack state transition,
such that you can detect the transition to UPDATE_IN_PROGRESS,
then use that event as a marker to get post-update-started events.

Without this (or some other way to determine when the stack update
started), the hooks pre-update functionality landed for kilo is
not really usable (particularly mechanically via scripts).

Change-Id: Idff342b3aecc2d145dfbc7c0f610ad0ca8e52c8b
Partial-Bug: #1448155
2015-05-01 16:40:03 +01:00
bin Merge "Use oslo.log in wsgi.py" 2015-03-25 12:54:31 +00:00
contrib Merge "Do not pass rich objects in Zaqar Queue" 2015-04-28 10:56:05 +00:00
doc Merge "change to environment.rst heat doc" 2015-04-29 19:09:21 +00:00
etc/heat heat-manage service list 2015-02-02 13:05:46 +05:30
heat Generate stack events for stack state transitions 2015-05-01 16:40:03 +01:00
heat_integrationtests Merge "Use ipv4 address for connectivity in lb integration test" 2015-04-30 13:23:10 +00:00
rally-scenarios Add config file for performance gate job 2014-08-08 02:22:59 +04:00
tools Add lists of Linux dependencies 2015-01-23 16:02:53 +00:00
.coveragerc Enabled source code coverage for contrib directory 2014-01-28 21:49:40 +08:00
.gitignore Use setuptools to install contrib plugins 2014-08-13 20:12:29 -05:00
.gitreview Update .gitreview for org move. 2012-12-02 17:46:15 +00:00
.testr.conf Add separate requirements.txt to integration tests 2015-04-01 09:02:13 +00:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:36 +00:00
HACKING.rst Fixed the reference to 'Creating Unit Tests' in HACKING.rst 2014-06-22 02:00:59 -06:00
LICENSE Initial commit (basics copied from glance) 2012-03-13 21:48:07 +11:00
MANIFEST.in Novaclient v2 instead of v1_1 2015-04-03 11:24:59 +02:00
README.rst Added links to missing integration information 2014-06-22 01:21:35 -06:00
babel.cfg Add setup.py and friends 2012-03-14 09:25:54 +11:00
config-generator.conf Move logging to use oslo_log library 2015-02-17 09:23:34 +00:00
install.sh Port to oslo.messaging 2014-06-26 06:45:52 +02:00
openstack-common.conf Don't use a different thread local store to oslo.log 2015-03-24 11:28:31 +10:00
pylintrc Directives to not use variable names that conflict with pdb 2012-03-20 07:16:16 -04:00
requirements.txt Updated from global requirements 2015-04-24 12:57:34 +00:00
setup.cfg Open Liberty development 2015-04-07 10:06:05 +02:00
setup.py Updated from global requirements 2014-05-09 02:42:01 +00:00
test-requirements.txt Updated from global requirements 2015-04-23 17:54:51 +00:00
tox.ini Add separate requirements.txt to integration tests 2015-04-01 09:02:13 +00:00
uninstall.sh Add uninstall script for Heat 2012-06-23 22:41:30 -04:00