public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-aodhclient] epel10.2: Add osprofiler removal patch
@ 2026-05-31 14:41 Alfredo Moralejo
  0 siblings, 0 replies; only message in thread
From: Alfredo Moralejo @ 2026-05-31 14:41 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-aodhclient
Branch : epel10.2
Commit : bc804832ac7c95fbae63beabe3d83f0a1b7756f6
Author : Alfredo Moralejo <amoralej@redhat.com>
Date   : 2019-11-11T18:19:54+01:00
Stats  : +48/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-aodhclient/c/bc804832ac7c95fbae63beabe3d83f0a1b7756f6?branch=epel10.2

Log:
Add osprofiler removal patch

---
diff --git a/0001-Revert-Add-OSprofiler-support-for-Aodh-client.patch b/0001-Revert-Add-OSprofiler-support-for-Aodh-client.patch
new file mode 100644
index 0000000..1c4e747
--- /dev/null
+++ b/0001-Revert-Add-OSprofiler-support-for-Aodh-client.patch
@@ -0,0 +1,48 @@
+From ae96bb492d496a8df9f119c08b25039bd2c88dfe Mon Sep 17 00:00:00 2001
+From: Alfredo Moralejo <amoralej@redhat.com>
+Date: Mon, 11 Nov 2019 18:06:36 +0100
+Subject: [PATCH] Revert "Add OSprofiler support for Aodh client"
+
+This reverts commit fb22e9826256ef090b8ae043583fee0a4cb481fc.
+---
+ aodhclient/client.py | 2 --
+ requirements.txt     | 3 +--
+ 2 files changed, 1 insertion(+), 4 deletions(-)
+
+diff --git a/aodhclient/client.py b/aodhclient/client.py
+index bb2ec09..662bde9 100644
+--- a/aodhclient/client.py
++++ b/aodhclient/client.py
+@@ -12,7 +12,6 @@
+ 
+ from keystoneauth1 import adapter
+ from oslo_utils import importutils
+-from osprofiler import web
+ 
+ from aodhclient import exceptions
+ 
+@@ -30,7 +29,6 @@ class SessionClient(adapter.Adapter):
+         # NOTE(sileht): The standard call raises errors from
+         # keystoneauth, where we need to raise the aodhclient errors.
+         raise_exc = kwargs.pop('raise_exc', True)
+-        kwargs['headers'].update(web.get_trace_id_headers())
+         resp = super(SessionClient, self).request(url,
+                                                   method,
+                                                   raise_exc=False,
+diff --git a/requirements.txt b/requirements.txt
+index 4e6f8c4..ebc321f 100644
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -8,7 +8,6 @@ osc-lib>=1.0.1 # Apache-2.0
+ oslo.i18n>=1.5.0 # Apache-2.0
+ oslo.serialization>=1.4.0 # Apache-2.0
+ oslo.utils>=2.0.0 # Apache-2.0
+-osprofiler>=1.4.0 # Apache-2.0
+ keystoneauth1>=1.0.0
+ six
+-pyparsing
+\ No newline at end of file
++pyparsing
+-- 
+2.20.1
+

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-31 14:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31 14:41 [rpms/python-aodhclient] epel10.2: Add osprofiler removal patch Alfredo Moralejo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox