integ/config/puppet-modules/openstack/puppet-oslo-17.4.0/debian/patches/0003-Deactivate-deprecated-idle_timeout-parameter.patch
Matheus Machado Guilhermino 6442a6e56f Debian: Replace deprecated idle_timeout parm on keystone
The use of the Oslo parameter 'idle_timeout' was generating
the following warning during bootstrap:

"Scope(Oslo::Db[keystone_config]): The idle_timeout parameter
is deprecated. Please use connection_recycle_time instead."

The warning was gone after the parameter was replaced by
connection_recycle_time on the Keystone package and deactivated
on the Oslo package.

Debian Bullseye tests:
PASS: Build & install
PASS: Successful Bootstrap

Story: 2009101
Task: 44741

Signed-off-by: Matheus Machado Guilhermino <Matheus.MachadoGuilhermino@windriver.com>
Change-Id: Ie92ef00f1cb0ad6e95db3cd7ad0e99eb4307b321
2022-03-18 00:58:57 -03:00

27 lines
849 B
Diff

From 3e1cab8f80105f32d7bc69ccfaf485bdacdba53d Mon Sep 17 00:00:00 2001
From: Matheus Machado Guilhermino <matheus.machadoguilhermino@windriver.com>
Date: Thu, 10 Mar 2022 17:12:42 +0000
Subject: [PATCH] Deactivate deprecated 'idle_timeout' parameter
Signed-off-by: Matheus Machado Guilhermino <matheus.machadoguilhermino@windriver.com>
---
manifests/db.pp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/manifests/db.pp b/manifests/db.pp
index 697c1d1..77f9249 100644
--- a/manifests/db.pp
+++ b/manifests/db.pp
@@ -147,7 +147,7 @@ define oslo::db(
$use_tpool = $::os_service_default,
$mysql_enable_ndb = $::os_service_default,
# DEPRCATED PARAMETERS
- $idle_timeout = $::os_service_default,
+ $idle_timeout = undef,
$min_pool_size = undef,
) {
--
2.30.2