OpenStack Orchestration (Heat)
Go to file
Zane Bitter d6f6bfc2e6 Mark nested stacks unhealthy by refid
Previously, we added the ability to mark a resource unhealthy using its
physical resource ID. This poses a difficulty for a template resource - the
can substitute the result of get_resource with the ID of a resource inside
the nested stack by providing an output named "OS::stack_id". However, the
physical_resource_id of the resource stored in the database is the UUID of
the nested stack, and thus the template resource will not be found when
marking a resource unhealthy using the ID returned from get_resource.

This particularly shows up when using a scaling group where the members are
defined by a template rather than a native resource type.

Solve this by falling back to Stack.resource_by_refid() if we can't find
the resource in the database. This iterates through all of the resources in
the stack and finds one where the output of get_resource matches.

Change-Id: Ia332af68123c3a43a581c0bf7899371bbe043e0d
Related-Bug: #1635295
2017-01-11 15:35:08 -05:00
api-ref/source Merge "Make *_id/name_url required for api-ref" 2016-12-26 07:41:54 +00:00
bin Trivial:Standardize the output format of 'help' in some files 2016-09-21 14:12:27 +08:00
contrib Fix a small nit of docs 2017-01-04 11:17:21 +00:00
devstack Merge "Recreate db only if db service is enabled" 2017-01-03 08:03:25 +00:00
doc Merge "Sanitize newly added heat-manage command" 2017-01-04 11:04:32 +00:00
etc/heat Merge "Add noauth middleware" 2016-12-15 22:08:45 +00:00
heat Mark nested stacks unhealthy by refid 2017-01-11 15:35:08 -05:00
heat_integrationtests Skip test_server_signal_userdata_format_software_config 2016-12-22 11:44:41 +05:30
heat_upgradetests In-tree grenade support for Heat 2015-07-02 17:23:22 +05:30
install-guide/source make the rabbitmq configuration simpler 2017-01-04 03:00:16 +00:00
rally-scenarios Rally tests plugins for Heat 2016-03-02 12:20:37 -05:00
releasenotes Merge "Ephemeral disk size support for server bdm_v2" 2016-12-21 10:55:56 +00:00
tools Fix typo 2016-11-28 18:32:22 +07:00
.coveragerc Update .coveragerc after the removal of openstack directory 2016-11-12 09:21:05 +05:30
.gitignore Create integration tests requirements on the fly 2016-03-25 13:40:50 +00: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 Restrict use of iteritems, iterkeys and itervalues 2016-03-23 10:05:54 +00:00
LICENSE Initial commit (basics copied from glance) 2012-03-13 21:48:07 +11:00
README.rst Show team and repo badges on README 2016-11-25 17:21:06 +01:00
babel.cfg Add setup.py and friends 2012-03-14 09:25:54 +11:00
bandit.yaml tox environment for `bandit` 2015-07-08 09:13:35 -04:00
config-generator.conf Move heat_keystoneclient to clients package 2016-06-01 16:27:01 +05:30
install.sh install.sh: stop using deprecated option group for rabbit 2015-09-01 19:01:34 +02:00
requirements.txt Merge "Remove greenlet useless requirement" 2017-01-06 22:34:39 +00:00
setup.cfg Add a zaqar.queue custom constraint 2016-12-16 12:04:42 -05:00
setup.py Updated from global requirements 2015-09-22 10:40:48 +00:00
test-requirements.txt Updated from global requirements 2016-12-23 03:28:26 +00:00
tox.ini Enable coverage report 2016-12-30 16:56:00 +08:00
uninstall.sh use stderr for error echo message 2016-01-17 05:20:40 +00:00

README.rst

Team and repository tags

image

Heat

Heat is a service to orchestrate multiple composite cloud applications using templates, through both an OpenStack-native REST API and a CloudFormation-compatible Query API.

Why heat? It makes the clouds rise and keeps them there.

Getting Started

If you'd like to run from the master branch, you can clone the git repo:

git clone https://git.openstack.org/openstack/heat

Python client

https://git.openstack.org/cgit/openstack/python-heatclient

References

We have integration with