From 25b0b97c385f8591fbb9aaee6b1bac77cc63bb7f Mon Sep 17 00:00:00 2001 From: Pradeep Kilambi Date: Thu, 30 Nov 2017 11:49:49 -0500 Subject: [PATCH] Add incoming storage driver param Change-Id: I5b71099d2e1c25b86ceed430f15ee28ef0f37f5c --- environments/enable-tls.yaml | 3 +++ puppet/services/gnocchi-api.yaml | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/environments/enable-tls.yaml b/environments/enable-tls.yaml index 175e1fd7e9..7d3796e7ca 100644 --- a/environments/enable-tls.yaml +++ b/environments/enable-tls.yaml @@ -12,5 +12,8 @@ parameter_defaults: SSLKey: | The contents of the private key go here + # Disable Gnocchi Incoming redis storage driver when using tls + GnocchiIncomingStorageDriver: '' + resource_registry: OS::TripleO::NodeTLSData: ../puppet/extraconfig/tls/tls-cert-inject.yaml diff --git a/puppet/services/gnocchi-api.yaml b/puppet/services/gnocchi-api.yaml index 285a347fbb..f500768483 100644 --- a/puppet/services/gnocchi-api.yaml +++ b/puppet/services/gnocchi-api.yaml @@ -41,6 +41,10 @@ parameters: type: string constraints: - allowed_values: ['swift', 'file', 'rbd'] + GnocchiIncomingStorageDriver: + default: redis + description: Storage driver to use for incoming metric data + type: string KeystoneRegion: type: string default: 'regionOne' @@ -122,6 +126,7 @@ outputs: params: $NETWORK: {get_param: [ServiceNetMap, GnocchiApiNetwork]} tripleo::profile::base::gnocchi::api::gnocchi_backend: {get_param: GnocchiBackend} + tripleo::profile::base::gnocchi::api::incoming_storage_driver: {get_param: GnocchiIncomingStorageDriver} # NOTE: bind IP is found in Heat replacing the network name with the # local node IP for the given network; replacement examples # (eg. for internal_api):