blob: ff7a1120fb351cc50f16ee84297b432bc17ca342 [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
Oleksii Chupryncd1be6f2017-04-07 09:30:26 +030030 protocol: http
Filip Pytloun923d8692015-10-06 16:28:32 +020031 waitcondition:
32 address: 10.0.106.10
33 port: 8000
Oleksii Chupryncd1be6f2017-04-07 09:30:26 +030034 protocol: http
Filip Pytloun923d8692015-10-06 16:28:32 +020035 watch:
36 address: 10.0.106.10
37 port: 8003
Oleksii Chupryncd1be6f2017-04-07 09:30:26 +030038 protocol: http
Filip Pytloun923d8692015-10-06 16:28:32 +020039 cloudwatch:
40 host: 10.0.106.20
41 api:
42 host: 10.0.106.20
43 api_cfn:
44 host: 10.0.106.20
45 database:
46 engine: mysql
47 host: 10.0.106.20
48 port: 3306
49 name: heat
50 user: heat
51 password: password
52 identity:
53 engine: keystone
54 host: 10.0.106.20
55 port: 35357
56 tenant: service
57 user: heat
58 password: password
Dennis Dmitriev09650272017-03-09 17:51:00 +020059 endpoint_type_default: internalURL
60 endpoint_type_heat: publicURL
Filip Pytloun923d8692015-10-06 16:28:32 +020061 message_queue:
62 engine: rabbitmq
63 host: 10.0.106.20
64 port: 5672
65 user: openstack
66 password: password
67 virtual_host: '/openstack'
68 ha_queues: True
69
70Heat client with specified git templates
71
72.. code-block:: yaml
73
74 heat:
75 client:
76 enabled: true
Jiri Broulikb2ef3282017-02-07 22:33:30 +010077 template:
78 admin:
79 domain: default
80 source:
81 engine: git
82 address: git@repo.domain.com/admin-templates.git
83 revision: master
84 default:
85 domain: default
86 source:
87 engine: git
88 address: git@repo.domain.com/default-templates.git
89 revision: master
90
Filip Pytloun923d8692015-10-06 16:28:32 +020091
92Heat system definition of several stacks/systems
93
94.. code-block:: yaml
95
96 heat:
97 control:
98 enabled: true
99 system:
100 web_production:
101 format: hot
102 template_file: /srv/heat/template/web_cluster.hot
103 environment: /srv/heat/env/web_cluster/prd.env
104 web_staging:
105 format: hot
106 template_file: /srv/heat/template/web_cluster.hot
107 environment: /srv/heat/env/web_cluster/stg.env
108
109Ceilometer notification
110
111.. code-block:: yaml
112
113 heat:
114 server:
115 enabled: true
116 version: icehouse
117 notification: true
118
Jiri Konecnyf94dd922016-04-20 12:09:22 +0200119
120Client-side RabbitMQ HA setup
121
122.. code-block:: yaml
123
124 heat:
125 server:
126 ....
127 message_queue:
128 engine: rabbitmq
129 members:
130 - host: 10.0.16.1
131 - host: 10.0.16.2
132 - host: 10.0.16.3
133 user: openstack
134 password: pwd
135 virtual_host: '/openstack'
136 ....
137
138
139
Filip Pytloun923d8692015-10-06 16:28:32 +0200140Usage
141=====
142
143Install Contrail Heat plugin for additional resources
144
145.. code-block:: bash
146
147 pip install git+https://github.com/Juniper/contrail-heat.git@R1.30
148
Filip Pytloun923d8692015-10-06 16:28:32 +0200149Things to improve
150=================
151
152* IBM UrbanCode Deploy - has resources for AWS and VMWare
153 http://www.ibm.com/developerworks/rational/library/multi-platform-application-deployment-urbancode-deploy/
154
Jakub Pavlik3bed97a2016-05-20 11:16:08 +0200155Documentation and Bugs
156============================
157
158To learn how to deploy OpenStack Salt, consult the documentation available
159online at:
160
161 https://wiki.openstack.org/wiki/OpenStackSalt
162
163In the unfortunate event that bugs are discovered, they should be reported to
164the appropriate bug tracker. If you obtained the software from a 3rd party
165operating system vendor, it is often wise to use their own bug tracker for
166reporting problems. In all other cases use the master OpenStack bug tracker,
167available at:
168
169 http://bugs.launchpad.net/openstack-salt
170
171Developers wishing to work on the OpenStack Salt project should always base
172their work on the latest formulas code, available from the master GIT
173repository at:
174
175 https://git.openstack.org/cgit/openstack/salt-formula-heat
176
177Developers should also join the discussion on the IRC list, at:
178
Filip Pytloundc94d872017-02-02 13:02:03 +0100179 https://wiki.openstack.org/wiki/Meetings/openstack-salt
180Documentation and Bugs
181======================
182
183To learn how to install and update salt-formulas, consult the documentation
184available online at:
185
186 http://salt-formulas.readthedocs.io/
187
188In the unfortunate event that bugs are discovered, they should be reported to
189the appropriate issue tracker. Use Github issue tracker for specific salt
190formula:
191
192 https://github.com/salt-formulas/salt-formula-heat/issues
193
194For feature requests, bug reports or blueprints affecting entire ecosystem,
195use Launchpad salt-formulas project:
196
197 https://launchpad.net/salt-formulas
198
199You can also join salt-formulas-users team and subscribe to mailing list:
200
201 https://launchpad.net/~salt-formulas-users
202
203Developers wishing to work on the salt-formulas projects should always base
204their work on master branch and submit pull request against specific formula.
205
206 https://github.com/salt-formulas/salt-formula-heat
207
208Any questions or feedback is always welcome so feel free to join our IRC
209channel:
210
211 #salt-formulas @ irc.freenode.net