blob: d5bfc0c75a11591da036e7c40462c53419d0068f [file] [log] [blame]
Filip Pytloun923d8692015-10-06 16:28:32 +02001
2====
3Heat
4====
5
Jakub Pavlik3bed97a2016-05-20 11:16:08 +02006Heat is the main project in the OpenStack Orchestration program. It implements
7an orchestration engine to launch multiple composite cloud applications based
8on templates in the form of text files that can be treated like code. A native
9Heat template format is evolving, but Heat also endeavours to provide
10compatibility with the AWS CloudFormation template format, so that many
11existing CloudFormation templates can be launched on OpenStack. Heat provides
12both an OpenStack-native ReST API and a CloudFormation-compatible Query API.
Filip Pytloun923d8692015-10-06 16:28:32 +020013
14Sample pillars
15==============
16
17Single Heat services on the controller node
18
19.. code-block:: yaml
20
21 heat:
22 server:
23 enabled: true
24 version: icehouse
Jakub Pavlik51e15e02016-03-12 13:32:26 +010025 region: RegionOne
Filip Pytloun923d8692015-10-06 16:28:32 +020026 bind:
27 metadata:
28 address: 10.0.106.10
29 port: 8000
30 waitcondition:
31 address: 10.0.106.10
32 port: 8000
33 watch:
34 address: 10.0.106.10
35 port: 8003
36 cloudwatch:
37 host: 10.0.106.20
38 api:
39 host: 10.0.106.20
40 api_cfn:
41 host: 10.0.106.20
42 database:
43 engine: mysql
44 host: 10.0.106.20
45 port: 3306
46 name: heat
47 user: heat
48 password: password
49 identity:
50 engine: keystone
51 host: 10.0.106.20
52 port: 35357
53 tenant: service
54 user: heat
55 password: password
56 message_queue:
57 engine: rabbitmq
58 host: 10.0.106.20
59 port: 5672
60 user: openstack
61 password: password
62 virtual_host: '/openstack'
63 ha_queues: True
64
65Heat client with specified git templates
66
67.. code-block:: yaml
68
69 heat:
70 client:
71 enabled: true
Jiri Broulikb2ef3282017-02-07 22:33:30 +010072 template:
73 admin:
74 domain: default
75 source:
76 engine: git
77 address: git@repo.domain.com/admin-templates.git
78 revision: master
79 default:
80 domain: default
81 source:
82 engine: git
83 address: git@repo.domain.com/default-templates.git
84 revision: master
85
Filip Pytloun923d8692015-10-06 16:28:32 +020086
87Heat system definition of several stacks/systems
88
89.. code-block:: yaml
90
91 heat:
92 control:
93 enabled: true
94 system:
95 web_production:
96 format: hot
97 template_file: /srv/heat/template/web_cluster.hot
98 environment: /srv/heat/env/web_cluster/prd.env
99 web_staging:
100 format: hot
101 template_file: /srv/heat/template/web_cluster.hot
102 environment: /srv/heat/env/web_cluster/stg.env
103
104Ceilometer notification
105
106.. code-block:: yaml
107
108 heat:
109 server:
110 enabled: true
111 version: icehouse
112 notification: true
113
Jiri Konecnyf94dd922016-04-20 12:09:22 +0200114
115Client-side RabbitMQ HA setup
116
117.. code-block:: yaml
118
119 heat:
120 server:
121 ....
122 message_queue:
123 engine: rabbitmq
124 members:
125 - host: 10.0.16.1
126 - host: 10.0.16.2
127 - host: 10.0.16.3
128 user: openstack
129 password: pwd
130 virtual_host: '/openstack'
131 ....
132
133
134
Filip Pytloun923d8692015-10-06 16:28:32 +0200135Usage
136=====
137
138Install Contrail Heat plugin for additional resources
139
140.. code-block:: bash
141
142 pip install git+https://github.com/Juniper/contrail-heat.git@R1.30
143
Filip Pytloun923d8692015-10-06 16:28:32 +0200144Things to improve
145=================
146
147* IBM UrbanCode Deploy - has resources for AWS and VMWare
148 http://www.ibm.com/developerworks/rational/library/multi-platform-application-deployment-urbancode-deploy/
149
Jakub Pavlik3bed97a2016-05-20 11:16:08 +0200150Documentation and Bugs
151============================
152
153To learn how to deploy OpenStack Salt, consult the documentation available
154online at:
155
156 https://wiki.openstack.org/wiki/OpenStackSalt
157
158In the unfortunate event that bugs are discovered, they should be reported to
159the appropriate bug tracker. If you obtained the software from a 3rd party
160operating system vendor, it is often wise to use their own bug tracker for
161reporting problems. In all other cases use the master OpenStack bug tracker,
162available at:
163
164 http://bugs.launchpad.net/openstack-salt
165
166Developers wishing to work on the OpenStack Salt project should always base
167their work on the latest formulas code, available from the master GIT
168repository at:
169
170 https://git.openstack.org/cgit/openstack/salt-formula-heat
171
172Developers should also join the discussion on the IRC list, at:
173
Filip Pytloundc94d872017-02-02 13:02:03 +0100174 https://wiki.openstack.org/wiki/Meetings/openstack-salt
175Documentation and Bugs
176======================
177
178To learn how to install and update salt-formulas, consult the documentation
179available online at:
180
181 http://salt-formulas.readthedocs.io/
182
183In the unfortunate event that bugs are discovered, they should be reported to
184the appropriate issue tracker. Use Github issue tracker for specific salt
185formula:
186
187 https://github.com/salt-formulas/salt-formula-heat/issues
188
189For feature requests, bug reports or blueprints affecting entire ecosystem,
190use Launchpad salt-formulas project:
191
192 https://launchpad.net/salt-formulas
193
194You can also join salt-formulas-users team and subscribe to mailing list:
195
196 https://launchpad.net/~salt-formulas-users
197
198Developers wishing to work on the salt-formulas projects should always base
199their work on master branch and submit pull request against specific formula.
200
201 https://github.com/salt-formulas/salt-formula-heat
202
203Any questions or feedback is always welcome so feel free to join our IRC
204channel:
205
206 #salt-formulas @ irc.freenode.net