upstream/openstack/python-keystoneauth1/debian/deb_patches/0001-Remove-oslotest.patch
Rei Oliveira b46f3c2d8c Add support for connect and read timeouts
The current keystone auth library only allows the configuration of 1
timeout value, that gets used for both connection_timeout and
read_timeout in the lower layers of the python requests library.

This change enables the usage of both connection and read timeout
when creating keystone session. This change is localized to session.py
because it's already supported by the python requests library.

It will enable for fail fast when the endpoint is offline when used
with shorter values for connect timeout while keeping a longer
read_timeout.

For instance: (5, 30), where (connection_timeout, read_timeout)

This change is to support task 50365 in [1].
[1] https://storyboard.openstack.org/#!/story/2011106

Test plan:

PASS: Run a full build, install, bootstrap and unlock.
PASS: Check alarms with 'fm alarm-list'

Story: 2011106
Task: 50363

Change-Id: Iab5c784adfecdc6c9decba6ca72258536fb2122f
Signed-off-by: Rei Oliveira <Reinildes.JoseMateusOliveira@windriver.com>
2024-06-18 09:51:58 -03:00

28 lines
833 B
Diff

From cc031eea3f4a7a4633a34c8db0aa7762e00195a3 Mon Sep 17 00:00:00 2001
From: Rei Oliveira <Reinildes.JoseMateusOliveira@windriver.com>
Date: Fri, 14 Jun 2024 20:29:10 -0300
Subject: [PATCH] Remove oslotest.
This dependency is only used for testing and is not required for the
debian build or during runtime.
The reason for removal is that it's causing build dependency issues.
Signed-off-by: Rei Oliveira <Reinildes.JoseMateusOliveira@windriver.com>
---
debian/control | 1 -
1 file changed, 1 deletion(-)
diff --git a/debian/control b/debian/control
index 6e9b6b3..c445255 100644
--- a/debian/control
+++ b/debian/control
@@ -25,7 +25,6 @@ Build-Depends-Indep:
python3-os-service-types,
python3-oslo.config,
python3-oslo.utils,
- python3-oslotest,
python3-pep8,
python3-requests,
python3-requests-kerberos,
--
2.34.1