Expose account/container/object worker count

Adds the new parameters SwiftAccountWorkers, SwiftContainerWorkers
and SwiftObjectWorkers to set the corresponding Puppet values.

Depends-On: I36c0b1004af1f59ee9adb9644a59e98a50665ef0
Change-Id: I29888f2d4da1dbd341a7c1b52bb281dff6d680cf
This commit is contained in:
Christian Schwede 2017-08-25 13:39:21 +02:00
parent 68110215e3
commit 2aa9bbebed
1 changed files with 15 additions and 0 deletions

View File

@ -45,6 +45,18 @@ parameters:
MonitoringSubscriptionSwiftStorage:
default: 'overcloud-swift-storage'
type: string
SwiftAccountWorkers:
default: auto
description: Number of workers for Swift account service.
type: string
SwiftContainerWorkers:
default: auto
description: Number of workers for Swift account service.
type: string
SwiftObjectWorkers:
default: auto
description: Number of workers for Swift account service.
type: string
# DEPRECATED options for compatibility with overcloud.yaml
# This should be removed and manipulation of the ControllerServices list
@ -114,6 +126,9 @@ outputs:
- account-server
swift::storage::disks::args: {get_param: SwiftRawDisks}
swift::storage::all::storage_local_net_ip: {get_param: [ServiceNetMap, SwiftStorageNetwork]}
swift::storage::all::account_server_workers: {get_param: SwiftAccountWorkers}
swift::storage::all::container_server_workers: {get_param: SwiftContainerWorkers}
swift::storage::all::object_server_workers: {get_param: SwiftObjectWorkers}
step_config: |
include ::tripleo::profile::base::swift::storage
upgrade_tasks: