From 5c58831b527f52dd90a8a071d4de5bbe7f82f8e6 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 8 Feb 2022 22:32:53 +0900 Subject: [PATCH] Remove deprecated database_min_pool_size ... because it was deprecated during Ussuri cycle. Change-Id: I57932a91d14af5cab2542d5eae7e4aa579cd0d28 --- manifests/db.pp | 12 ------------ ...move-database_min_pool_size-ea5a1adb8be0711a.yaml | 4 ++++ 2 files changed, 4 insertions(+), 12 deletions(-) create mode 100644 releasenotes/notes/remove-database_min_pool_size-ea5a1adb8be0711a.yaml diff --git a/manifests/db.pp b/manifests/db.pp index 8608f046..be54e533 100644 --- a/manifests/db.pp +++ b/manifests/db.pp @@ -49,12 +49,6 @@ # Cluster (NDB). # Defaults to $::os_service_default # -# DEPRECATED PARAMETERS -# -# [*database_min_pool_size*] -# (Optional) Minimum number of SQL connections to keep open in a pool. -# Defaults to undef. -# class ceilometer::db ( $database_db_max_retries = $::os_service_default, $database_connection = 'mysql+pymysql://ceilometer:ceilometer@localhost/ceilometer', @@ -66,16 +60,10 @@ class ceilometer::db ( $database_pool_timeout = $::os_service_default, $mysql_enable_ndb = $::os_service_default, $sync_db = true, - # DEPRECATED PARAMETERS - $database_min_pool_size = undef, ) { include ceilometer::deps - if $database_min_pool_size { - warning('The database_min_pool_size parameter is deprecated, and will be removed in a future release.') - } - oslo::db { 'ceilometer_config': db_max_retries => $database_db_max_retries, connection => $database_connection, diff --git a/releasenotes/notes/remove-database_min_pool_size-ea5a1adb8be0711a.yaml b/releasenotes/notes/remove-database_min_pool_size-ea5a1adb8be0711a.yaml new file mode 100644 index 00000000..07b512b9 --- /dev/null +++ b/releasenotes/notes/remove-database_min_pool_size-ea5a1adb8be0711a.yaml @@ -0,0 +1,4 @@ +--- +upgrade: + - | + The ``ceilometer::db::database_min_pool_size`` parameter has been removed.