OpenStack Orchestration (Heat)
Go to file
Zane Bitter 3a96fd7e25 Improve error reporting for missing nested template
When the template for a TemplateResource was missing from the files dict
and not otherwise available, we provided misleading feedback when
validating the parent template.

First, we log that we are fetching the template from a URL, even though we
would not actually attempt to do so if it is a file:/// URL. Move the log
to after the allowed scheme check, and log debug to indicate when we cannot
find a template file.

While an exception would be generated in
TemplateResource._generate_schema() at resource initialisation time, it is
suppressed and saved for later. An empty template is used to generate the
properties schema. The exception is re-raised when validate() is called,
but during a template validation we only call validate_template(), not
validate(), so the first error we run into will be a mismatch of property
names. (If no property values were passed in the parent template, we may
not even get an error even though we won't be able to create a stack from
the given data.) Also re-raise the stored exception at the beginning of
validate_template() so that users will see the true source of the error.

Change-Id: I1bc100684e1b84fc9ac54ef523d798b317e4dc51
Story: #1739447
Task: 22219
2018-06-18 18:39:45 +00:00
api-ref/source Return Environment from validate_template 2017-11-14 17:35:52 +00:00
bin Merge "Fixes heat-keystone-setup-domain authentication failures with v3" 2017-12-04 09:14:11 +00:00
contrib Remove usage of parameter enforce_type 2017-05-08 17:55:32 +08:00
devstack Merge "Remove use of auth cache directory" 2018-01-27 03:22:45 +00:00
doc Merge "Updated the template guide." 2018-01-30 07:03:13 +00:00
etc/heat [policy in code] part 7 add sample and releasenote 2017-12-13 10:58:56 +08:00
heat Improve error reporting for missing nested template 2018-06-18 18:39:45 +00:00
heat_integrationtests Improve error reporting for missing nested template 2018-06-18 18:39:45 +00:00
heat_upgradetests In-tree grenade support for Heat 2015-07-02 17:23:22 +05:30
playbooks/devstack Enable octavia services for gate testing 2017-12-28 16:00:31 +05:30
rally-scenarios Update rally link 2017-03-24 11:58:38 +08:00
releasenotes Imported Translations from Zanata 2018-01-31 08:06:42 +00:00
tools Use correct raw string format 2017-11-16 18:23:58 -05:00
.coveragerc Update .coveragerc after the removal of openstack directory 2016-11-12 09:21:05 +05:30
.gitignore Allow run tests for both tempest plugin and regression tests 2018-01-19 13:26:25 -05:00
.gitreview Update .gitreview for org move. 2012-12-02 17:46:15 +00:00
.stestr.conf Use stestr for unit tests 2017-12-15 12:39:37 +05:30
.zuul.yaml Restore functional test jobs 2018-01-26 17:56:12 -05:00
babel.cfg Add setup.py and friends 2012-03-14 09:25:54 +11:00
config-generator.conf Remove SSLMiddleware from oslo.config namespace 2017-11-27 13:05:00 +05:30
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:36 +00:00
HACKING.rst Prepare for using standard python tests 2017-02-04 09:49:18 +01:00
install.sh install.sh: stop using deprecated option group for rabbit 2015-09-01 19:01:34 +02:00
LICENSE Initial commit (basics copied from glance) 2012-03-13 21:48:07 +11:00
README.rst Update URL in README.rst 2017-08-08 12:34:20 +05:30
requirements.txt Merge "Remove potential co-gating integration tests" 2018-01-27 06:35:21 +00:00
setup.cfg Add octavia L7Rule Resource 2018-01-23 13:03:55 +05:30
setup.py Updated from global requirements 2017-03-02 17:42:22 +00:00
test-requirements.txt Updated from global requirements 2018-01-27 17:37:51 +00:00
tox.ini Allow run tests for both tempest plugin and regression tests 2018-01-19 13:26:25 -05:00
uninstall.sh use stderr for error echo message 2016-01-17 05:20:40 +00:00

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