Merge "Fix 'cinder-backup' service when Swift with TLS enabled" into unmaintained/yoga

This commit is contained in:
Zuul
2024-12-06 11:49:44 +00:00
committed by Gerrit Code Review

View File

@@ -415,7 +415,8 @@ class SwiftBackupDriver(chunkeddriver.ChunkedBackupDriver):
"possible we could have problems because of it.") "possible we could have problems because of it.")
return return
conn = swift.Connection(retries=CONF.backup_swift_retry_attempts, conn = swift.Connection(retries=CONF.backup_swift_retry_attempts,
preauthurl=CONF.backup_swift_url) preauthurl=CONF.backup_swift_url,
cacert=CONF.backup_swift_ca_cert_file)
try: try:
conn.get_capabilities() conn.get_capabilities()
# TODO(e0ne) catch less general exception # TODO(e0ne) catch less general exception