Add CinderBackupWorkers and CinderBackupMaxOperations
New CinderBackupWorkers and CinderBackupMaxOperations support configuring the concurrency of cinder backup and restore operations. The default values match cinder's own default values. Change-Id: I9b6387a00bb5f422a68e7a84a4da2be5907d30c1
This commit is contained in:
parent
c6c513a96a
commit
4ca848fb01
@ -56,6 +56,15 @@ parameters:
|
||||
type: string
|
||||
constraints:
|
||||
- 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:
|
||||
type: string
|
||||
default: ''
|
||||
@ -143,6 +152,8 @@ outputs:
|
||||
config_settings:
|
||||
map_merge:
|
||||
- get_attr: [CinderBase, role_data, config_settings]
|
||||
- cinder::backup::backup_workers: {get_param: CinderBackupWorkers}
|
||||
cinder::backup::backup_max_operations: {get_param: CinderBackupMaxOperations}
|
||||
- if:
|
||||
- {equals: [{get_param: CinderBackupBackend}, 'ceph']}
|
||||
- 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
Block a user