Merge "Add CinderBackupWorkers and CinderBackupMaxOperations"
This commit is contained in:
commit
12e2c16286
|
@ -56,6 +56,15 @@ parameters:
|
||||||
type: string
|
type: string
|
||||||
constraints:
|
constraints:
|
||||||
- allowed_values: ['swift', 'ceph', 'nfs', 'gcs', 's3']
|
- allowed_values: ['swift', 'ceph', 'nfs', 'gcs', 's3']
|
||||||
|
CinderBackupWorkers:
|
||||||
|
type: number
|
||||||
|
default: 1
|
||||||
|
description: The number of cinder-backup processes to launch.
|
||||||
|
CinderBackupMaxOperations:
|
||||||
|
type: number
|
||||||
|
default: 15
|
||||||
|
description: The maximum number of concurrent cinder backup/restore
|
||||||
|
operations (0 means unlimited).
|
||||||
CinderBackupRbdClusterName:
|
CinderBackupRbdClusterName:
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
|
@ -143,6 +152,8 @@ outputs:
|
||||||
config_settings:
|
config_settings:
|
||||||
map_merge:
|
map_merge:
|
||||||
- get_attr: [CinderBase, role_data, config_settings]
|
- get_attr: [CinderBase, role_data, config_settings]
|
||||||
|
- cinder::backup::backup_workers: {get_param: CinderBackupWorkers}
|
||||||
|
cinder::backup::backup_max_operations: {get_param: CinderBackupMaxOperations}
|
||||||
- if:
|
- if:
|
||||||
- {equals: [{get_param: CinderBackupBackend}, 'ceph']}
|
- {equals: [{get_param: CinderBackupBackend}, 'ceph']}
|
||||||
- cinder::backup::ceph::backup_ceph_user:
|
- cinder::backup::ceph::backup_ceph_user:
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Two new parameters are added to control the concurrency of Cinder's
|
||||||
|
backup and restore operations:
|
||||||
|
|
||||||
|
* CinderBackupWorkers
|
||||||
|
* CinderBackupMaxOperations
|
Loading…
Reference in New Issue