Filip Pytloun | 923d869 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 1 | |
OlgaGusarenko | 769c819 | 2018-07-30 18:16:44 +0300 | [diff] [blame] | 2 | ===== |
| 3 | Usage |
| 4 | ===== |
Filip Pytloun | 923d869 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 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 | |
Aleš Komárek | d13365c | 2017-04-11 13:13:37 +0200 | [diff] [blame] | 14 | Sample Pillars |
Filip Pytloun | 923d869 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 15 | ============== |
| 16 | |
OlgaGusarenko | 769c819 | 2018-07-30 18:16:44 +0300 | [diff] [blame] | 17 | Single Heat services on the controller node: |
Filip Pytloun | 923d869 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 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 |
Mykyta Karpin | 3e96997 | 2019-01-29 10:57:18 +0200 | [diff] [blame] | 26 | reauthentication_auth_method: trusts |
Filip Pytloun | 923d869 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 27 | bind: |
| 28 | metadata: |
| 29 | address: 10.0.106.10 |
| 30 | port: 8000 |
Oleksii Chupryn | cd1be6f | 2017-04-07 09:30:26 +0300 | [diff] [blame] | 31 | protocol: http |
Filip Pytloun | 923d869 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 32 | waitcondition: |
| 33 | address: 10.0.106.10 |
| 34 | port: 8000 |
Oleksii Chupryn | cd1be6f | 2017-04-07 09:30:26 +0300 | [diff] [blame] | 35 | protocol: http |
Filip Pytloun | 923d869 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 36 | watch: |
| 37 | address: 10.0.106.10 |
| 38 | port: 8003 |
Oleksii Chupryn | cd1be6f | 2017-04-07 09:30:26 +0300 | [diff] [blame] | 39 | protocol: http |
Filip Pytloun | 923d869 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 40 | cloudwatch: |
| 41 | host: 10.0.106.20 |
| 42 | api: |
| 43 | host: 10.0.106.20 |
| 44 | api_cfn: |
| 45 | host: 10.0.106.20 |
| 46 | database: |
| 47 | engine: mysql |
| 48 | host: 10.0.106.20 |
| 49 | port: 3306 |
| 50 | name: heat |
| 51 | user: heat |
| 52 | password: password |
| 53 | identity: |
| 54 | engine: keystone |
| 55 | host: 10.0.106.20 |
| 56 | port: 35357 |
| 57 | tenant: service |
| 58 | user: heat |
| 59 | password: password |
Dennis Dmitriev | 0965027 | 2017-03-09 17:51:00 +0200 | [diff] [blame] | 60 | endpoint_type_default: internalURL |
| 61 | endpoint_type_heat: publicURL |
Filip Pytloun | 923d869 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 62 | message_queue: |
| 63 | engine: rabbitmq |
| 64 | host: 10.0.106.20 |
| 65 | port: 5672 |
| 66 | user: openstack |
| 67 | password: password |
| 68 | virtual_host: '/openstack' |
| 69 | ha_queues: True |
Dmitry Stremkouski | b3d83a9 | 2017-11-08 16:01:18 +0300 | [diff] [blame] | 70 | max_stacks_per_tenant: 150 |
Dmitry Stremkouski | 9cacd16 | 2017-11-08 16:39:38 +0300 | [diff] [blame] | 71 | max_nested_stack_depth: 10 |
Daniel Cech | 4322464 | 2018-11-13 16:27:23 +0100 | [diff] [blame] | 72 | stack_action_timeout: 7200 |
Filip Pytloun | 923d869 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 73 | |
OlgaGusarenko | 769c819 | 2018-07-30 18:16:44 +0300 | [diff] [blame] | 74 | Define server clients Keystone parameter: |
Ondrej Smola | 24ae6a8 | 2017-07-18 10:53:14 +0200 | [diff] [blame] | 75 | |
| 76 | .. code-block:: yaml |
| 77 | |
| 78 | heat: |
| 79 | server: |
| 80 | clients: |
| 81 | keystone: |
| 82 | protocol: https |
| 83 | host: 10.0.106.10 |
| 84 | port: 5000 |
| 85 | insecure: false |
| 86 | |
Martin Polreich | b24076f | 2018-08-27 10:42:45 +0200 | [diff] [blame] | 87 | Server with auth_encryption_key defined: |
| 88 | |
| 89 | .. code-block:: yaml |
| 90 | |
| 91 | heat: |
| 92 | server: |
| 93 | .... |
Martin Polreich | 4d7af43 | 2018-08-28 10:43:40 +0200 | [diff] [blame] | 94 | auth_encryption_key: "KeyToEncrypt-hasToBeExact32Chars" |
Martin Polreich | b24076f | 2018-08-27 10:42:45 +0200 | [diff] [blame] | 95 | .... |
| 96 | |
OlgaGusarenko | 769c819 | 2018-07-30 18:16:44 +0300 | [diff] [blame] | 97 | Enable CORS parameters: |
Ondrej Smola | 70f2934 | 2017-04-28 12:58:06 +0200 | [diff] [blame] | 98 | |
| 99 | .. code-block:: yaml |
| 100 | |
| 101 | heat: |
| 102 | server: |
| 103 | cors: |
| 104 | allowed_origin: https:localhost.local,http:localhost.local |
| 105 | expose_headers: X-Auth-Token,X-Openstack-Request-Id,X-Subject-Token |
| 106 | allow_methods: GET,PUT,POST,DELETE,PATCH |
| 107 | allow_headers: X-Auth-Token,X-Openstack-Request-Id,X-Subject-Token |
| 108 | allow_credentials: True |
| 109 | max_age: 86400 |
| 110 | |
OlgaGusarenko | 769c819 | 2018-07-30 18:16:44 +0300 | [diff] [blame] | 111 | Heat client with specified git templates: |
Filip Pytloun | 923d869 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 112 | |
| 113 | .. code-block:: yaml |
| 114 | |
| 115 | heat: |
| 116 | client: |
| 117 | enabled: true |
Jiri Broulik | b2ef328 | 2017-02-07 22:33:30 +0100 | [diff] [blame] | 118 | template: |
| 119 | admin: |
| 120 | domain: default |
| 121 | source: |
| 122 | engine: git |
| 123 | address: git@repo.domain.com/admin-templates.git |
| 124 | revision: master |
| 125 | default: |
| 126 | domain: default |
| 127 | source: |
| 128 | engine: git |
| 129 | address: git@repo.domain.com/default-templates.git |
| 130 | revision: master |
| 131 | |
OlgaGusarenko | 769c819 | 2018-07-30 18:16:44 +0300 | [diff] [blame] | 132 | Ceilometer notification: |
Filip Pytloun | 923d869 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 133 | |
| 134 | .. code-block:: yaml |
| 135 | |
| 136 | heat: |
| 137 | server: |
| 138 | enabled: true |
| 139 | version: icehouse |
| 140 | notification: true |
| 141 | |
OlgaGusarenko | 769c819 | 2018-07-30 18:16:44 +0300 | [diff] [blame] | 142 | Configuration of ``policy.json`` file: |
Dmitry Ukov | f3f33a8 | 2017-05-05 11:56:46 +0400 | [diff] [blame] | 143 | |
| 144 | .. code-block:: yaml |
| 145 | |
| 146 | heat: |
| 147 | server: |
| 148 | .... |
| 149 | policy: |
| 150 | deny_stack_user: 'not role:heat_stack_user' |
| 151 | 'cloudformation:ValidateTemplate': 'rule:deny_stack_user' |
| 152 | # Add key without value to remove line from policy.json |
| 153 | 'cloudformation:DescribeStackResource': |
| 154 | |
OlgaGusarenko | 769c819 | 2018-07-30 18:16:44 +0300 | [diff] [blame] | 155 | Client-side RabbitMQ HA setup: |
Jiri Konecny | f94dd92 | 2016-04-20 12:09:22 +0200 | [diff] [blame] | 156 | |
| 157 | .. code-block:: yaml |
| 158 | |
| 159 | heat: |
| 160 | server: |
| 161 | .... |
| 162 | message_queue: |
| 163 | engine: rabbitmq |
| 164 | members: |
| 165 | - host: 10.0.16.1 |
| 166 | - host: 10.0.16.2 |
| 167 | - host: 10.0.16.3 |
| 168 | user: openstack |
| 169 | password: pwd |
| 170 | virtual_host: '/openstack' |
| 171 | .... |
| 172 | |
Kirill Bespalov | 00da251 | 2017-11-21 13:21:21 +0300 | [diff] [blame] | 173 | Configuring TLS communications |
| 174 | ------------------------------- |
Kirill Bespalov | 27d20ca | 2017-08-06 15:43:28 +0300 | [diff] [blame] | 175 | |
OlgaGusarenko | 769c819 | 2018-07-30 18:16:44 +0300 | [diff] [blame] | 176 | .. note:: By default, system-wide installed CA certs are used, so the |
| 177 | ``cacert_file`` param is optional, as well as ``cacert``. |
Kirill Bespalov | 27d20ca | 2017-08-06 15:43:28 +0300 | [diff] [blame] | 178 | |
OlgaGusarenko | 769c819 | 2018-07-30 18:16:44 +0300 | [diff] [blame] | 179 | - **RabbitMQ TLS** |
Kirill Bespalov | 27d20ca | 2017-08-06 15:43:28 +0300 | [diff] [blame] | 180 | |
OlgaGusarenko | 769c819 | 2018-07-30 18:16:44 +0300 | [diff] [blame] | 181 | .. code-block:: yaml |
Kirill Bespalov | 27d20ca | 2017-08-06 15:43:28 +0300 | [diff] [blame] | 182 | |
OlgaGusarenko | 769c819 | 2018-07-30 18:16:44 +0300 | [diff] [blame] | 183 | heat: |
Kirill Bespalov | 00da251 | 2017-11-21 13:21:21 +0300 | [diff] [blame] | 184 | server: |
OlgaGusarenko | 769c819 | 2018-07-30 18:16:44 +0300 | [diff] [blame] | 185 | message_queue: |
| 186 | port: 5671 |
| 187 | ssl: |
| 188 | enabled: True |
| 189 | (optional) cacert: cert body if the cacert_file does not exists |
| 190 | (optional) cacert_file: /etc/openstack/rabbitmq-ca.pem |
| 191 | (optional) version: TLSv1_2 |
Kirill Bespalov | 27d20ca | 2017-08-06 15:43:28 +0300 | [diff] [blame] | 192 | |
OlgaGusarenko | 769c819 | 2018-07-30 18:16:44 +0300 | [diff] [blame] | 193 | - **MySQL TLS** |
Kirill Bespalov | 27d20ca | 2017-08-06 15:43:28 +0300 | [diff] [blame] | 194 | |
OlgaGusarenko | 769c819 | 2018-07-30 18:16:44 +0300 | [diff] [blame] | 195 | .. code-block:: yaml |
Kirill Bespalov | 27d20ca | 2017-08-06 15:43:28 +0300 | [diff] [blame] | 196 | |
OlgaGusarenko | 769c819 | 2018-07-30 18:16:44 +0300 | [diff] [blame] | 197 | heat: |
| 198 | server: |
| 199 | database: |
| 200 | ssl: |
| 201 | enabled: True |
| 202 | (optional) cacert: cert body if the cacert_file does not exists |
| 203 | (optional) cacert_file: /etc/openstack/mysql-ca.pem |
Kirill Bespalov | 27d20ca | 2017-08-06 15:43:28 +0300 | [diff] [blame] | 204 | |
OlgaGusarenko | 769c819 | 2018-07-30 18:16:44 +0300 | [diff] [blame] | 205 | - **Openstack HTTPS API** |
| 206 | |
| 207 | .. code-block:: yaml |
| 208 | |
| 209 | heat: |
Kirill Bespalov | 00da251 | 2017-11-21 13:21:21 +0300 | [diff] [blame] | 210 | server: |
OlgaGusarenko | 769c819 | 2018-07-30 18:16:44 +0300 | [diff] [blame] | 211 | identity: |
| 212 | protocol: https |
| 213 | (optional) cacert_file: /etc/openstack/proxy.pem |
| 214 | clients: |
| 215 | keystone: |
| 216 | protocol: https |
| 217 | (optional) cacert_file: /etc/openstack/proxy.pem |
Kirill Bespalov | 27d20ca | 2017-08-06 15:43:28 +0300 | [diff] [blame] | 218 | |
Dmitry Kalashnik | 1c26ac0 | 2017-12-06 13:37:19 +0400 | [diff] [blame] | 219 | Enhanced logging with logging.conf |
| 220 | ---------------------------------- |
| 221 | |
| 222 | By default logging.conf is disabled. |
| 223 | |
| 224 | That is possible to enable per-binary logging.conf with new variables: |
Dmitry Kalashnik | 1c26ac0 | 2017-12-06 13:37:19 +0400 | [diff] [blame] | 225 | |
OlgaGusarenko | 769c819 | 2018-07-30 18:16:44 +0300 | [diff] [blame] | 226 | * ``openstack_log_appender`` |
| 227 | Set to true to enable ``log_config_append`` for all OpenStack services |
Dmitry Kalashnik | 1c26ac0 | 2017-12-06 13:37:19 +0400 | [diff] [blame] | 228 | |
OlgaGusarenko | 769c819 | 2018-07-30 18:16:44 +0300 | [diff] [blame] | 229 | * ``openstack_fluentd_handler_enabled`` |
| 230 | Set to true to enable ``FluentHandler`` for all Openstack services |
| 231 | |
| 232 | * ``openstack_ossyslog_handler_enabled`` |
| 233 | Set to true to enable ``OSSysLogHandler`` for all Openstack services |
| 234 | |
| 235 | Only `WatchedFileHandler``, ``OSSysLogHandler``, and ``FluentHandler`` are |
| 236 | available. |
| 237 | |
| 238 | Also, it is possible to configure this with pillar: |
Dmitry Kalashnik | 1c26ac0 | 2017-12-06 13:37:19 +0400 | [diff] [blame] | 239 | |
| 240 | .. code-block:: yaml |
| 241 | |
| 242 | heat: |
| 243 | server: |
| 244 | logging: |
| 245 | log_appender: true |
| 246 | log_handlers: |
| 247 | watchedfile: |
| 248 | enabled: true |
| 249 | fluentd: |
| 250 | enabled: true |
Oleksii Chupryn | 99a3e1b | 2018-02-07 09:40:30 +0200 | [diff] [blame] | 251 | ossyslog: |
| 252 | enabled: true |
Jiri Konecny | f94dd92 | 2016-04-20 12:09:22 +0200 | [diff] [blame] | 253 | |
Oleksandr Shyshko | 60a2b87 | 2018-08-30 17:23:24 +0300 | [diff] [blame] | 254 | Enable x509 and ssl communication between Heat and Galera cluster. |
| 255 | --------------------- |
| 256 | By default communication between Heat and Galera is unsecure. |
| 257 | |
Oleksandr Shyshko | 17b3e8e | 2018-09-07 13:55:28 +0300 | [diff] [blame] | 258 | heat: |
| 259 | server: |
| 260 | database: |
| 261 | x509: |
| 262 | enabled: True |
| 263 | |
Oleksandr Shyshko | 60a2b87 | 2018-08-30 17:23:24 +0300 | [diff] [blame] | 264 | You able to set custom certificates in pillar: |
Oleksandr Shyshko | 60a2b87 | 2018-08-30 17:23:24 +0300 | [diff] [blame] | 265 | |
| 266 | heat: |
| 267 | server: |
| 268 | database: |
| 269 | x509: |
Oleksandr Shyshko | 17b3e8e | 2018-09-07 13:55:28 +0300 | [diff] [blame] | 270 | cacert: (certificate content) |
| 271 | cert: (certificate content) |
| 272 | key: (certificate content) |
Oleksandr Shyshko | 60a2b87 | 2018-08-30 17:23:24 +0300 | [diff] [blame] | 273 | |
| 274 | You can read more about it here: |
| 275 | https://docs.openstack.org/security-guide/databases/database-access-control.html |
| 276 | |
Oleksandr Bryndzii | cfd9f8b | 2018-10-04 11:56:54 +0300 | [diff] [blame] | 277 | Heat services with memcached caching and security strategy: |
| 278 | |
| 279 | .. code-block:: yaml |
| 280 | |
| 281 | heat: |
| 282 | server: |
| 283 | enabled: true |
| 284 | ... |
| 285 | cache: |
| 286 | engine: memcached |
| 287 | members: |
| 288 | - host: 127.0.0.1 |
| 289 | port: 11211 |
| 290 | - host: 127.0.0.1 |
| 291 | port: 11211 |
| 292 | security: |
| 293 | enabled: true |
| 294 | strategy: ENCRYPT |
| 295 | secret_key: secret |
Oleksandr Bryndzii | f1218e9 | 2019-05-06 12:23:15 +0300 | [diff] [blame] | 296 | |
| 297 | Heat configmap setup: |
| 298 | --------------- |
| 299 | |
| 300 | .. code-block:: yaml |
| 301 | |
| 302 | heat: |
| 303 | server: |
| 304 | configmap: |
| 305 | DEFAULT: |
| 306 | debug: true |
| 307 | database: |
| 308 | idle_timeout: 300 |
| 309 | min_pool_size: 5 |
| 310 | max_pool_size: 50 |
| 311 | oslo_messaging_rabbit: |
| 312 | pool_max_size: 30 |
| 313 | pool_max_overflow: 30 |
| 314 | pool_recycle: 600 |
| 315 | |
Martin Polreich | ed3f41d | 2019-12-17 11:08:57 +0100 | [diff] [blame] | 316 | |
| 317 | Change default service policy configuration: |
| 318 | -------------------------------------------- |
| 319 | |
| 320 | .. code-block:: yaml |
| 321 | |
| 322 | heat: |
| 323 | server: |
| 324 | policy: |
| 325 | deny_stack_user: not role:heat_stack_user |
| 326 | deny_everybody: '!' |
| 327 | # Add key without value to remove line from policy.json |
| 328 | cloudformation:ListStacks: |
Oleksandr Bryndzii | f1218e9 | 2019-05-06 12:23:15 +0300 | [diff] [blame] | 329 | |
Vladimir Khlyunev | bed0a4d | 2020-05-13 12:58:39 +0400 | [diff] [blame] | 330 | |
| 331 | Enable stack abandon and/or stack adopt features: |
| 332 | ------------------------------------------------- |
| 333 | |
| 334 | .. code-block:: yaml |
| 335 | |
| 336 | heat: |
| 337 | server: |
| 338 | enable_stack_abandon: true |
| 339 | enable_stack_adopt: true |
| 340 | |
Vasyl Saienko | a08bd59 | 2018-09-10 10:47:25 +0000 | [diff] [blame] | 341 | Upgrades |
| 342 | ======== |
| 343 | |
| 344 | Each openstack formula provide set of phases (logical bloks) that will help to |
| 345 | build flexible upgrade orchestration logic for particular components. The list |
| 346 | of phases and theirs descriptions are listed in table below: |
| 347 | |
| 348 | +-------------------------------+------------------------------------------------------+ |
| 349 | | State | Description | |
| 350 | +===============================+======================================================+ |
| 351 | | <app>.upgrade.service_running | Ensure that all services for particular application | |
| 352 | | | are enabled for autostart and running | |
| 353 | +-------------------------------+------------------------------------------------------+ |
| 354 | | <app>.upgrade.service_stopped | Ensure that all services for particular application | |
| 355 | | | disabled for autostart and dead | |
| 356 | +-------------------------------+------------------------------------------------------+ |
| 357 | | <app>.upgrade.pkgs_latest | Ensure that packages used by particular application | |
| 358 | | | are installed to latest available version. | |
| 359 | | | This will not upgrade data plane packages like qemu | |
| 360 | | | and openvswitch as usually minimal required version | |
| 361 | | | in openstack services is really old. The data plane | |
| 362 | | | packages should be upgraded separately by `apt-get | |
| 363 | | | upgrade` or `apt-get dist-upgrade` | |
| 364 | | | Applying this state will not autostart service. | |
| 365 | +-------------------------------+------------------------------------------------------+ |
| 366 | | <app>.upgrade.render_config | Ensure configuration is rendered actual version. + |
| 367 | +-------------------------------+------------------------------------------------------+ |
| 368 | | <app>.upgrade.pre | We assume this state is applied on all nodes in the | |
| 369 | | | cloud before running upgrade. | |
| 370 | | | Only non destructive actions will be applied during | |
| 371 | | | this phase. Perform service built in service check | |
| 372 | | | like (keystone-manage doctor and nova-status upgrade)| |
| 373 | +-------------------------------+------------------------------------------------------+ |
| 374 | | <app>.upgrade.upgrade.pre | Mostly applicable for data plane nodes. During this | |
| 375 | | | phase resources will be gracefully removed from | |
| 376 | | | current node if it is allowed. Services for upgraded | |
| 377 | | | application will be set to admin disabled state to | |
| 378 | | | make sure node will not participate in resources | |
| 379 | | | scheduling. For example on gtw nodes this will set | |
| 380 | | | all agents to admin disable state and will move all | |
| 381 | | | routers to other agents. | |
| 382 | +-------------------------------+------------------------------------------------------+ |
| 383 | | <app>.upgrade.upgrade | This state will basically upgrade application on | |
| 384 | | | particular target. Stop services, render | |
| 385 | | | configuration, install new packages, run offline | |
| 386 | | | dbsync (for ctl), start services. Data plane should | |
| 387 | | | not be affected, only OpenStack python services. | |
| 388 | +-------------------------------+------------------------------------------------------+ |
| 389 | | <app>.upgrade.upgrade.post | Add services back to scheduling. | |
| 390 | +-------------------------------+------------------------------------------------------+ |
| 391 | | <app>.upgrade.post | This phase should be launched only when upgrade of | |
| 392 | | | the cloud is completed. Cleanup temporary files, | |
| 393 | | | perform other post upgrade tasks. | |
| 394 | +-------------------------------+------------------------------------------------------+ |
| 395 | | <app>.upgrade.verify | Here we will do basic health checks (API CRUD | |
| 396 | | | operations, verify do not have dead network | |
| 397 | | | agents/compute services) | |
| 398 | +-------------------------------+------------------------------------------------------+ |
Dzmitry Stremkouski | 4058d70 | 2020-07-06 23:46:05 +0200 | [diff] [blame^] | 399 | |
| 400 | Execute database maintenance tasks |
| 401 | ---------------------------------- |
| 402 | Cleanup stale records from heat database to make it smaller. |
| 403 | This is helpful before any upgrade activity. |
| 404 | It is safe to execute it generally without maintenance window same as online db_sync. |
| 405 | |
| 406 | Enable this pillar: |
| 407 | |
| 408 | .. code-block:: yaml |
| 409 | |
| 410 | heat: |
| 411 | server: |
| 412 | db_purge: |
| 413 | enabled: True |
| 414 | |
| 415 | Execute state heat.db.db_cleanup to purge stale records: |
| 416 | |
| 417 | .. code-block:: bash |
| 418 | |
| 419 | salt -C 'I@heat:server:role:primary' state.apply heat.db.db_cleanup -l debug |
| 420 | |
| 421 | It is possible to pass days parameter. |
| 422 | If you skip setting it, all records would be archived/purged: |
| 423 | |
| 424 | .. code-block:: yaml |
| 425 | |
| 426 | heat: |
| 427 | server: |
| 428 | db_purge: |
| 429 | enabled: True |
| 430 | days: 45 |
| 431 | |