Eventlet may be installed, but not used for example projects
like octavia. Improve autodetection mechanism by trying to import
module and check if it is actually patched.
Closes-Bug: #2039346
Change-Id: I860abe953ce945bb5152c77a7daeb6aa1003512b
(cherry picked from commit a1fe1b9cfb841d632aa582a52c106b4ebab1c159)
(cherry picked from commit a6c4f8a9c62ae264f819716177f3da899eaf1a54)
(cherry picked from commit 287e138adf66c28b7c127dce99a8af05df00225e)
Reviewed: https:/ /review. opendev. org/c/openstack /oslo.log/ +/914267 /opendev. org/openstack/ oslo.log/ commit/ b159daea8c0453e 99cea901b7e0179 3bb244fde6
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.1
commit b159daea8c0453e 99cea901b7e0179 3bb244fde6
Author: Vasyl Saienko <email address hidden>
Date: Tue Mar 26 12:33:16 2024 +0200
Fix eventlet detection
Eventlet may be installed, but not used for example projects
like octavia. Improve autodetection mechanism by trying to import
module and check if it is actually patched.
Closes-Bug: #2039346 bb5152c77a7daeb 6aa1003512b 32aa582a52c106b 4ebab1c159) 4f819716177f3da 899eaf1a54) b7c127dce99a8af 05df00225e)
Change-Id: I860abe953ce945
(cherry picked from commit a1fe1b9cfb841d6
(cherry picked from commit a6c4f8a9c62ae26
(cherry picked from commit 287e138adf66c28