OpenStack Orchestration (Heat)
Go to file
Steve Baker 7ed7031466 Fetch all db resources in one query
Instead of calling resource_get_by_name_and_stack once for every
resource in the stack, db_api.resource_get_all_by_stack is called
only once for all resources.

This reduces the number of sql queries during a describe_stack_resource
call to 3:
1. load the stack
2. load the template
3. load the resources

This is a big improvement over the start of this patch series, which
is 2 queries plus:
* 1 per resource in the stack
* 1 per access to a resource metadata attribute
* 1 per access to a resource data value

There is probably still potential to reduce queries from 3, but this
may well be a fix for
Partial-Bug: 1306743

Change-Id: I80be5d3de8744813d974f2e9860c148ad258f385
2014-05-08 11:54:55 +12:00
bin Distribute create_heat_domain 2014-04-25 21:13:12 -07:00
contrib Merge "Don't use SSH in Rackspace::Cloud::Server" 2014-05-07 02:54:58 +00:00
doc Skip tests when loading plugins 2014-04-30 23:19:57 +02:00
etc/heat Revert "Support ... x-forwarded-for header" 2014-05-06 15:17:47 -04:00
heat Fetch all db resources in one query 2014-05-08 11:54:55 +12:00
tools Distribute create_heat_domain 2014-04-25 21:13:12 -07:00
.coveragerc Enabled source code coverage for contrib directory 2014-01-28 21:49:40 +08:00
.gitignore Add heat.sqlite in git ignore list 2014-01-25 13:58:21 +08:00
.gitreview Update .gitreview for org move. 2012-12-02 17:46:15 +00:00
.testr.conf Restructure contrib/ directories 2014-03-03 10:49:28 -05:00
CONTRIBUTING.rst Add CONTRIBUTING file. 2013-05-25 08:46:32 +02:00
HACKING.rst Updates OpenStack Style Commandments link 2013-10-16 22:44:44 +05:30
LICENSE Initial commit (basics copied from glance) 2012-03-13 21:48:07 +11:00
MANIFEST.in Delete deprecated docs/ directory 2013-10-24 11:03:11 -10:00
README.rst Rename Quantum to Neutron 2013-08-06 22:08:27 -07:00
babel.cfg Add setup.py and friends 2012-03-14 09:25:54 +11:00
install.sh Update install.sh to reflect recent oslo.db format 2013-11-13 16:54:59 +00:00
openstack-common.conf Use the new oslotest library 2014-05-02 10:54:00 +02:00
pylintrc Directives to not use variable names that conflict with pdb 2012-03-20 07:16:16 -04:00
requirements.txt Don't use SSH in Rackspace::Cloud::Server 2014-05-05 12:15:45 -05:00
run_tests.sh Run pep8 check in run_tests.sh as in tox 2014-03-29 23:47:20 +02:00
setup.cfg Distribute create_heat_domain 2014-04-25 21:13:12 -07:00
setup.py Updated from global requirements 2013-10-01 16:13:02 +00:00
test-requirements.txt Use the new oslotest library 2014-05-02 10:54:00 +02:00
tox.ini Check that all po/pot files are valid 2014-04-16 20:05:42 +02:00
uninstall.sh Add uninstall script for Heat 2012-06-23 22:41:30 -04:00

README.rst

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 git@github.com:openstack/heat.git

Python client

https://github.com/openstack/python-heatclient

References

We have integration with