From 8fb7929bfa0c525f225d0bd45958ffc73bbe8be4 Mon Sep 17 00:00:00 2001 From: Maksim Malchuk Date: Thu, 1 Feb 2024 19:18:18 +0300 Subject: [PATCH] Fix 'cinder-backup' service when Swift with TLS enabled Closes-Bug: #2051986 Depends-On: https://review.opendev.org/c/openstack/cinder/+/907494 Change-Id: I6a17e689d62ab467b7dcc2650e7f63813ce84a12 Signed-off-by: Maksim Malchuk --- ansible/roles/cinder/templates/cinder.conf.j2 | 1 + .../notes/fix-cinder-backup-tls-swift-cb694ed1df8caa26.yaml | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 releasenotes/notes/fix-cinder-backup-tls-swift-cb694ed1df8caa26.yaml diff --git a/ansible/roles/cinder/templates/cinder.conf.j2 b/ansible/roles/cinder/templates/cinder.conf.j2 index 9f074d1baf..7523b50f55 100644 --- a/ansible/roles/cinder/templates/cinder.conf.j2 +++ b/ansible/roles/cinder/templates/cinder.conf.j2 @@ -43,6 +43,7 @@ backup_file_size = 327680000 {% elif enable_swift | bool and cinder_backup_driver == "swift" %} backup_driver = cinder.backup.drivers.swift.SwiftBackupDriver backup_swift_url = {{ swift_internal_base_endpoint }}/v1/AUTH_ +backup_swift_ca_cert_file = {{ openstack_cacert }} backup_swift_auth = per_user backup_swift_auth_version = 1 backup_swift_user = diff --git a/releasenotes/notes/fix-cinder-backup-tls-swift-cb694ed1df8caa26.yaml b/releasenotes/notes/fix-cinder-backup-tls-swift-cb694ed1df8caa26.yaml new file mode 100644 index 0000000000..9d165e18c6 --- /dev/null +++ b/releasenotes/notes/fix-cinder-backup-tls-swift-cb694ed1df8caa26.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fixed 'cinder-backup' service when Swift with TLS enabled. + `LP#2051986 `__