Remove deprecated database_min_pool_size

... because it was deprecated during Ussuri cycle.

Change-Id: I8b6ec1d9d4b4302a49c169966ad6c949f4a462f9
This commit is contained in:
Takashi Kajinami 2022-02-08 22:31:32 +09:00
parent 12a5b23668
commit fe51d18781
2 changed files with 4 additions and 13 deletions

View File

@ -52,13 +52,6 @@
# Cluster (NDB).
# Defaults to $::os_service_default
#
# DEPRECATED PARAMETERS
#
# [*database_min_pool_size*]
# Minimum number of SQL connections to keep open in a pool.
# NOTE: This is currently NOT used until barbican correctly leverages oslo.
# (Optional) Defaults to undef
#
class barbican::db (
$database_connection = 'sqlite:////var/lib/barbican/barbican.sqlite',
$database_connection_recycle_time = $::os_service_default,
@ -70,16 +63,10 @@ class barbican::db (
$database_db_max_retries = $::os_service_default,
$database_pool_timeout = $::os_service_default,
$mysql_enable_ndb = $::os_service_default,
# DEPRECATED PARAMETERS
$database_min_pool_size = undef,
) {
include barbican::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 { 'barbican_config':
connection => $database_connection,
connection_recycle_time => $database_connection_recycle_time,

View File

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