Merge "Remove deprecated database_min_pool_size"

This commit is contained in:
Zuul 2022-02-19 16:34:55 +00:00 committed by Gerrit Code Review
commit 1532a32b9c
2 changed files with 4 additions and 12 deletions

View File

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

View File

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