Remove deprecated database_min_pool_size

... because it was deprecated during Ussuri cycle.

Change-Id: Ibaf85ab6d2575eef9e238a7c25970b435012589e
This commit is contained in:
Takashi Kajinami 2022-02-08 22:36:26 +09:00
parent 4440bd74be
commit aa0a4b7fed
2 changed files with 4 additions and 12 deletions

View File

@ -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,

View File

@ -0,0 +1,4 @@
---
upgrade:
- |
The ``magnum::db::database_min_pool_size`` parameter has been removed.