Skip to content

Commit 322a5db

Browse files
Merge pull request #738 from lkuchlan/skmo-cinder-backup-swift
[SKMO] Enable Cinder Backup with Swift backend Add Cinder Backup service configuration for va-multi-namespace-skmo Swift is deployed in the central region (regionOne) and shared across both regions via Keystone service catalog. Both regions' cinder-backup services use single_user authentication to access Swift Changes: control-plane: Enable Swift service and add cinderBackup config control-plane2: Add cinderBackup configuration for leaf region Reviewed-by: John Fulton <johfulto@redhat.com> Reviewed-by: Ade Lee Reviewed-by: Andrew Bays <andrew.bays@gmail.com>
2 parents 2b6dbb2 + c4d821d commit 322a5db

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

examples/va/multi-namespace-skmo/control-plane/service-values.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,18 @@ data:
1313
customServiceConfig: |
1414
[keystone_notifications]
1515
pool_name = barbican-listener-regionOne
16+
cinderBackup:
17+
customServiceConfig: |
18+
[DEFAULT]
19+
backup_driver = cinder.backup.drivers.swift.SwiftBackupDriver
20+
backup_swift_auth = single_user
21+
backup_swift_user = service:cinder
22+
backup_swift_key = {{ .ServicePassword }}
23+
backup_swift_tenant = service
24+
backup_swift_auth_version = 3
25+
backup_swift_project_domain = Default
26+
backup_swift_user_domain = Default
27+
replicas: 1
1628
cinderVolumes:
1729
lvm-iscsi:
1830
replicas: 1
@@ -28,3 +40,5 @@ data:
2840
target_helper = lioadm
2941
volume_backend_name = lvm_iscsi
3042
target_ip_address = 172.18.0.10
43+
swift:
44+
enabled: true

examples/va/multi-namespace-skmo/control-plane2/service-values.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,18 @@ data:
3434
swift_store_user = service:glance
3535
swift_store_key = {{ .ServicePassword }}
3636
swift_store_region = regionTwo
37+
cinderBackup:
38+
customServiceConfig: |
39+
[DEFAULT]
40+
backup_driver = cinder.backup.drivers.swift.SwiftBackupDriver
41+
backup_swift_auth = single_user
42+
backup_swift_user = service:cinder
43+
backup_swift_key = {{ .ServicePassword }}
44+
backup_swift_tenant = service
45+
backup_swift_auth_version = 3
46+
backup_swift_project_domain = Default
47+
backup_swift_user_domain = Default
48+
replicas: 1
3749
cinderVolumes:
3850
lvm-iscsi:
3951
replicas: 1

0 commit comments

Comments
 (0)