Remove deprecated database_min_pool_size
... because it was deprecated during Ussuri cycle. Change-Id: I57932a91d14af5cab2542d5eae7e4aa579cd0d28
This commit is contained in:
parent
0c04ba25d2
commit
5c58831b52
@ -49,12 +49,6 @@
|
|||||||
# Cluster (NDB).
|
# Cluster (NDB).
|
||||||
# Defaults to $::os_service_default
|
# 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 (
|
class ceilometer::db (
|
||||||
$database_db_max_retries = $::os_service_default,
|
$database_db_max_retries = $::os_service_default,
|
||||||
$database_connection = 'mysql+pymysql://ceilometer:ceilometer@localhost/ceilometer',
|
$database_connection = 'mysql+pymysql://ceilometer:ceilometer@localhost/ceilometer',
|
||||||
@ -66,16 +60,10 @@ class ceilometer::db (
|
|||||||
$database_pool_timeout = $::os_service_default,
|
$database_pool_timeout = $::os_service_default,
|
||||||
$mysql_enable_ndb = $::os_service_default,
|
$mysql_enable_ndb = $::os_service_default,
|
||||||
$sync_db = true,
|
$sync_db = true,
|
||||||
# DEPRECATED PARAMETERS
|
|
||||||
$database_min_pool_size = undef,
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include ceilometer::deps
|
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':
|
oslo::db { 'ceilometer_config':
|
||||||
db_max_retries => $database_db_max_retries,
|
db_max_retries => $database_db_max_retries,
|
||||||
connection => $database_connection,
|
connection => $database_connection,
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
The ``ceilometer::db::database_min_pool_size`` parameter has been removed.
|
Loading…
Reference in New Issue
Block a user