diff options
author | 2017-06-06 08:28:14 -0400 | |
---|---|---|
committer | 2017-06-07 14:53:56 -0400 | |
commit | a915b150018bf306a5942782bf93c5faadcd7cde (patch) | |
tree | 4b0dfa40b323e2d66560b4d2a6dcea96c918ecc1 | |
parent | 3c98a1bc3f13c2b38fa2b34a1b4c9f8675773f32 (diff) |
Add support to configure Num of Storage sacks
Gnocchi 4 supports storage sacks during upgrade. lets make this
configurable if we want to use more metricd workers.
Change-Id: I27390b8babf8c4ef35f4c9b8a2e5be69fb9a54ee
-rw-r--r-- | puppet/services/gnocchi-base.yaml | 10 | ||||
-rw-r--r-- | releasenotes/notes/add-num-of-sacks-7bd6658474ddb14c.yaml | 3 |
2 files changed, 12 insertions, 1 deletions
diff --git a/puppet/services/gnocchi-base.yaml b/puppet/services/gnocchi-base.yaml index f4067ef6..e6a172a0 100644 --- a/puppet/services/gnocchi-base.yaml +++ b/puppet/services/gnocchi-base.yaml @@ -34,6 +34,10 @@ parameters: default: 30 description: Delay between processing metrics. type: number + NumberOfStorageSacks: + default: '128' + description: Number of storage sacks to create. + type: string GnocchiPassword: description: The password for the gnocchi service and db account. type: string @@ -87,7 +91,11 @@ outputs: query: read_default_file: /etc/my.cnf.d/tripleo.cnf read_default_group: tripleo - gnocchi::db::sync::extra_opts: '' + gnocchi::db::sync::extra_opts: + list_join: + - ' ' + - - '--num-storage-sacks' + - {get_param: NumberOfStorageSacks} gnocchi::storage::metric_processing_delay: {get_param: MetricProcessingDelay} gnocchi::storage::swift::swift_user: 'service:gnocchi' gnocchi::storage::swift::swift_auth_version: 3 diff --git a/releasenotes/notes/add-num-of-sacks-7bd6658474ddb14c.yaml b/releasenotes/notes/add-num-of-sacks-7bd6658474ddb14c.yaml new file mode 100644 index 00000000..e5adb6a9 --- /dev/null +++ b/releasenotes/notes/add-num-of-sacks-7bd6658474ddb14c.yaml @@ -0,0 +1,3 @@ +--- +features: + - Add support to configure number of sacks in gnocchi. |