Browse Source

Merge "Add CinderBackupWorkers and CinderBackupMaxOperations"

changes/09/786709/2
Zuul 3 weeks ago
committed by Gerrit Code Review
parent
commit
12e2c16286
2 changed files with 19 additions and 0 deletions
  1. +11
    -0
      deployment/cinder/cinder-backup-container-puppet.yaml
  2. +8
    -0
      releasenotes/notes/cinder-backup-concurrency-dc7627c617d36133.yaml

+ 11
- 0
deployment/cinder/cinder-backup-container-puppet.yaml View File

@ -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:


+ 8
- 0
releasenotes/notes/cinder-backup-concurrency-dc7627c617d36133.yaml View File

@ -0,0 +1,8 @@
---
features:
- |
Two new parameters are added to control the concurrency of Cinder's
backup and restore operations:
* CinderBackupWorkers
* CinderBackupMaxOperations

Loading…
Cancel
Save