Filip Pytloun | 923d869 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 1 | |
| 2 | ==== |
| 3 | Heat |
| 4 | ==== |
| 5 | |
Jakub Pavlik | 3bed97a | 2016-05-20 11:16:08 +0200 | [diff] [blame] | 6 | Heat is the main project in the OpenStack Orchestration program. It implements |
| 7 | an orchestration engine to launch multiple composite cloud applications based |
| 8 | on templates in the form of text files that can be treated like code. A native |
| 9 | Heat template format is evolving, but Heat also endeavours to provide |
| 10 | compatibility with the AWS CloudFormation template format, so that many |
| 11 | existing CloudFormation templates can be launched on OpenStack. Heat provides |
| 12 | both an OpenStack-native ReST API and a CloudFormation-compatible Query API. |
Filip Pytloun | 923d869 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 13 | |
| 14 | Sample pillars |
| 15 | ============== |
| 16 | |
| 17 | Single Heat services on the controller node |
| 18 | |
| 19 | .. code-block:: yaml |
| 20 | |
| 21 | heat: |
| 22 | server: |
| 23 | enabled: true |
| 24 | version: icehouse |
Jakub Pavlik | 51e15e0 | 2016-03-12 13:32:26 +0100 | [diff] [blame] | 25 | region: RegionOne |
Filip Pytloun | 923d869 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 26 | 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 | |
| 65 | Heat client with specified git templates |
| 66 | |
| 67 | .. code-block:: yaml |
| 68 | |
| 69 | heat: |
| 70 | client: |
| 71 | enabled: true |
| 72 | source: |
| 73 | engine: git |
| 74 | address: git@repo.domain.com/heat-templates.git |
| 75 | revision: master |
| 76 | |
| 77 | Heat system definition of several stacks/systems |
| 78 | |
| 79 | .. code-block:: yaml |
| 80 | |
| 81 | heat: |
| 82 | control: |
| 83 | enabled: true |
| 84 | system: |
| 85 | web_production: |
| 86 | format: hot |
| 87 | template_file: /srv/heat/template/web_cluster.hot |
| 88 | environment: /srv/heat/env/web_cluster/prd.env |
| 89 | web_staging: |
| 90 | format: hot |
| 91 | template_file: /srv/heat/template/web_cluster.hot |
| 92 | environment: /srv/heat/env/web_cluster/stg.env |
| 93 | |
| 94 | Ceilometer notification |
| 95 | |
| 96 | .. code-block:: yaml |
| 97 | |
| 98 | heat: |
| 99 | server: |
| 100 | enabled: true |
| 101 | version: icehouse |
| 102 | notification: true |
| 103 | |
Jiri Konecny | f94dd92 | 2016-04-20 12:09:22 +0200 | [diff] [blame] | 104 | |
| 105 | Client-side RabbitMQ HA setup |
| 106 | |
| 107 | .. code-block:: yaml |
| 108 | |
| 109 | heat: |
| 110 | server: |
| 111 | .... |
| 112 | message_queue: |
| 113 | engine: rabbitmq |
| 114 | members: |
| 115 | - host: 10.0.16.1 |
| 116 | - host: 10.0.16.2 |
| 117 | - host: 10.0.16.3 |
| 118 | user: openstack |
| 119 | password: pwd |
| 120 | virtual_host: '/openstack' |
| 121 | .... |
| 122 | |
| 123 | |
| 124 | |
Filip Pytloun | 923d869 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 125 | Usage |
| 126 | ===== |
| 127 | |
| 128 | Install Contrail Heat plugin for additional resources |
| 129 | |
| 130 | .. code-block:: bash |
| 131 | |
| 132 | pip install git+https://github.com/Juniper/contrail-heat.git@R1.30 |
| 133 | |
Filip Pytloun | 923d869 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 134 | Things to improve |
| 135 | ================= |
| 136 | |
| 137 | * IBM UrbanCode Deploy - has resources for AWS and VMWare |
| 138 | http://www.ibm.com/developerworks/rational/library/multi-platform-application-deployment-urbancode-deploy/ |
| 139 | |
Jakub Pavlik | 3bed97a | 2016-05-20 11:16:08 +0200 | [diff] [blame] | 140 | Documentation and Bugs |
| 141 | ============================ |
| 142 | |
| 143 | To learn how to deploy OpenStack Salt, consult the documentation available |
| 144 | online at: |
| 145 | |
| 146 | https://wiki.openstack.org/wiki/OpenStackSalt |
| 147 | |
| 148 | In the unfortunate event that bugs are discovered, they should be reported to |
| 149 | the appropriate bug tracker. If you obtained the software from a 3rd party |
| 150 | operating system vendor, it is often wise to use their own bug tracker for |
| 151 | reporting problems. In all other cases use the master OpenStack bug tracker, |
| 152 | available at: |
| 153 | |
| 154 | http://bugs.launchpad.net/openstack-salt |
| 155 | |
| 156 | Developers wishing to work on the OpenStack Salt project should always base |
| 157 | their work on the latest formulas code, available from the master GIT |
| 158 | repository at: |
| 159 | |
| 160 | https://git.openstack.org/cgit/openstack/salt-formula-heat |
| 161 | |
| 162 | Developers should also join the discussion on the IRC list, at: |
| 163 | |
Filip Pytloun | dc94d87 | 2017-02-02 13:02:03 +0100 | [diff] [blame^] | 164 | https://wiki.openstack.org/wiki/Meetings/openstack-salt |
| 165 | Documentation and Bugs |
| 166 | ====================== |
| 167 | |
| 168 | To learn how to install and update salt-formulas, consult the documentation |
| 169 | available online at: |
| 170 | |
| 171 | http://salt-formulas.readthedocs.io/ |
| 172 | |
| 173 | In the unfortunate event that bugs are discovered, they should be reported to |
| 174 | the appropriate issue tracker. Use Github issue tracker for specific salt |
| 175 | formula: |
| 176 | |
| 177 | https://github.com/salt-formulas/salt-formula-heat/issues |
| 178 | |
| 179 | For feature requests, bug reports or blueprints affecting entire ecosystem, |
| 180 | use Launchpad salt-formulas project: |
| 181 | |
| 182 | https://launchpad.net/salt-formulas |
| 183 | |
| 184 | You can also join salt-formulas-users team and subscribe to mailing list: |
| 185 | |
| 186 | https://launchpad.net/~salt-formulas-users |
| 187 | |
| 188 | Developers wishing to work on the salt-formulas projects should always base |
| 189 | their work on master branch and submit pull request against specific formula. |
| 190 | |
| 191 | https://github.com/salt-formulas/salt-formula-heat |
| 192 | |
| 193 | Any questions or feedback is always welcome so feel free to join our IRC |
| 194 | channel: |
| 195 | |
| 196 | #salt-formulas @ irc.freenode.net |