OpenStack Orchestration (Heat)
Go to file
Peter Razumovsky 48387e92a0 Fix race condition in reload_on_sighup functional
Race condition appears in next situation:

  1. First thread calls _set_config_value for one section.
  2. Second thread calls _set_config_value for another section.
  3. First thread. Config option value set, calls
     open(self.config_file, 'wb'), which erases all file content.
  4. Second thread. In previous point moment second thread tries to
     set config option value to self.config_file, which is empty (see 3).
     So, NoSectionError exception raised.

This patch adds ten retries for setting option value, if NoSectionError
raised, i.e. try to wait until self.config_file is busy.

Change-Id: Ic54ea287ebe4724511f75d42677cae5dfdec4e57
Closes-bug: #1535766
2016-03-15 17:58:31 +00:00
bin Merge "Remove warnings in heat" 2016-01-25 10:25:39 +00:00
contrib Merge "Use oslo.utils.reflection to extract class name" 2016-03-06 05:01:48 +00:00
devstack/upgrade use stderr for error echo message 2016-01-17 05:20:40 +00:00
doc Merge "Add guide about using Rally on Heat gates" 2016-03-09 17:48:57 +00:00
etc/heat Resource mark unhealthy RPC and ReST API 2016-02-24 18:00:44 -05:00
heat Merge "Ignore image and flavor validations" 2016-03-15 03:20:16 +00:00
heat_integrationtests Fix race condition in reload_on_sighup functional 2016-03-15 17:58:31 +00:00
heat_upgradetests In-tree grenade support for Heat 2015-07-02 17:23:22 +05:30
rally-scenarios Rally tests plugins for Heat 2016-03-02 12:20:37 -05:00
releasenotes Merge "Add reno for barbican container" 2016-03-03 09:36:38 +00:00
tools Ignore template res types during guideline checks 2016-03-02 08:25:58 -05:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:26:58 +00:00
.gitignore Add reno for release notes management 2015-12-01 15:04:39 +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
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 Add trustee config group to sample config 2015-12-07 17:42:17 +00:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:36 +00:00
HACKING.rst cleanup of hacking.rst heat doc 2015-04-28 16:47:07 -04: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
openstack-common.conf Switch to oslo.service 2015-06-23 08:30:39 +02:00
pylintrc Directives to not use variable names that conflict with pdb 2012-03-20 07:16:16 -04:00
README.rst replace git protocol by https 2015-10-22 10:06:05 +08:00
requirements.txt Updated from global requirements 2016-03-10 19:24:30 +00:00
setup.cfg Alphabetized heat.constraints for cleanliness 2016-02-18 16:06:36 -05:00
setup.py Updated from global requirements 2015-09-22 10:40:48 +00:00
test-requirements.txt Updated from global requirements 2016-02-12 20:24:50 +00:00
tox.ini Implement custom guidelines 2016-02-19 18:37:59 +03:00
uninstall.sh use stderr for error echo message 2016-01-17 05:20:40 +00:00

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