diff --git a/ansible/roles/heat/templates/heat.conf.j2 b/ansible/roles/heat/templates/heat.conf.j2 index 9584b73ac8..77240912a2 100644 --- a/ansible/roles/heat/templates/heat.conf.j2 +++ b/ansible/roles/heat/templates/heat.conf.j2 @@ -103,3 +103,6 @@ trace_sqlalchemy = true hmac_keys = {{ osprofiler_secret }} connection_string = {{ osprofiler_backend_connection_string }} {% endif %} + +[volumes] +backups_enabled = {{ enable_cinder_backup | bool }} diff --git a/releasenotes/notes/heat-volumes-backup-enabled-4e9799558677e6cd.yaml b/releasenotes/notes/heat-volumes-backup-enabled-4e9799558677e6cd.yaml new file mode 100644 index 0000000000..49fd650b89 --- /dev/null +++ b/releasenotes/notes/heat-volumes-backup-enabled-4e9799558677e6cd.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Configures Heat with ``[volumes]/backups_enabled`` based on whether the + ``cinder-backup`` service is enabled.