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)
Reviewed: https:/ /review. opendev. org/c/openstack /oslo.log/ +/914262 /opendev. org/openstack/ oslo.log/ commit/ a6c4f8a9c62ae26 4f819716177f3da 899eaf1a54
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2024.1
commit a6c4f8a9c62ae26 4f819716177f3da 899eaf1a54
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)
Change-Id: I860abe953ce945
(cherry picked from commit a1fe1b9cfb841d6