From af6c4c73f5e60e6ee56d4abe0bb137d608d3af95 Mon Sep 17 00:00:00 2001 From: Maria Zlatkova Date: Tue, 24 Feb 2015 17:18:26 +0200 Subject: [PATCH] Enables Swift backup driver for auth 2.0 This patch adds support for Swift auth 2.0 to the cinder-backup Swift driver. I've noticed that the changes have been automatically made in the following sources: http://docs.openstack.org/trunk/config-reference/content/section_cinder.conf.html http://docs.openstack.org/trunk/config-reference/content/cinder-conf-changes-juno.html http://docs.openstack.org/trunk/config-reference/content/section_volume-misc.html except for the one in this patch. Change-Id: If72f718a2757f8f0cd3563bfa8d6bdae4fc81b8b Closes-Bug: #1355475 --- .../block-storage/backup/swift-backup-driver.xml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/config-reference/block-storage/backup/swift-backup-driver.xml b/doc/config-reference/block-storage/backup/swift-backup-driver.xml index 9fd97f04b1..f4562fc705 100644 --- a/doc/config-reference/block-storage/backup/swift-backup-driver.xml +++ b/doc/config-reference/block-storage/backup/swift-backup-driver.xml @@ -3,7 +3,7 @@ xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"> Swift backup driver - The backup driver for Swift back-end performs a volume + The backup driver for Swift back end performs a volume backup to a Swift object storage system. To enable the Swift backup driver, include the following option in the cinder.conf @@ -13,10 +13,19 @@ the Swift back-end backup driver. + + To enable Swift backup driver for 1.0 or 2.0 authentication version, + specify 1 or 2 correspondingly. For example: + backup_swift_auth_version = 2 + In addition, the 2.0 authentication system requires + backup_swift_tenant setting: + backup_swift_tenant = <None> + This example shows the default options for the Swift back-end backup driver. backup_swift_url = http://localhost:8080/v1/AUTH_ backup_swift_auth = per_user +backup_swift_auth_version = 1 backup_swift_user = <None> backup_swift_key = <None> backup_swift_container = volumebackups