From aa0a4b7fedfa47ff3132dec07d5d96af9553e63f Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 8 Feb 2022 22:36:26 +0900 Subject: [PATCH] Remove deprecated database_min_pool_size ... because it was deprecated during Ussuri cycle. Change-Id: Ibaf85ab6d2575eef9e238a7c25970b435012589e --- manifests/db.pp | 12 ------------ ...move-database_min_pool_size-e013d03d98142850.yaml | 4 ++++ 2 files changed, 4 insertions(+), 12 deletions(-) create mode 100644 releasenotes/notes/remove-database_min_pool_size-e013d03d98142850.yaml diff --git a/manifests/db.pp b/manifests/db.pp index 65cedfe..8d1607a 100644 --- a/manifests/db.pp +++ b/manifests/db.pp @@ -43,12 +43,6 @@ # before error is raised. Set to -1 to specify an infinite retry count. # 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 magnum::db ( $database_connection = 'mysql+pymysql://magnum:magnum@localhost:3306/magnum', $database_connection_recycle_time = $::os_service_default, @@ -59,16 +53,10 @@ class magnum::db ( $database_pool_timeout = $::os_service_default, $mysql_enable_ndb = $::os_service_default, $database_db_max_retries = $::os_service_default, - # DEPRECATED PARAMETERS - $database_min_pool_size = undef, ) { include magnum::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 { 'magnum_config': connection => $database_connection, connection_recycle_time => $database_connection_recycle_time, diff --git a/releasenotes/notes/remove-database_min_pool_size-e013d03d98142850.yaml b/releasenotes/notes/remove-database_min_pool_size-e013d03d98142850.yaml new file mode 100644 index 0000000..c66dd4c --- /dev/null +++ b/releasenotes/notes/remove-database_min_pool_size-e013d03d98142850.yaml @@ -0,0 +1,4 @@ +--- +upgrade: + - | + The ``magnum::db::database_min_pool_size`` parameter has been removed.