From 45a16987dcb63e5e13429630049c852fc1e1a8f2 Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Fri, 3 May 2024 08:18:20 -0700 Subject: [PATCH] Remove eventlet workaround Per https://review.opendev.org/c/openstack/ironic/+/918082 and contributor recollection, we believe this has been resolved and can thus be removed. Change-Id: Icbf0f095cabf52a7b642cd4a6ddfbd62cc77964e --- ironic_python_agent/__init__.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ironic_python_agent/__init__.py b/ironic_python_agent/__init__.py index 4f77b4108..d2480d8ff 100644 --- a/ironic_python_agent/__init__.py +++ b/ironic_python_agent/__init__.py @@ -10,16 +10,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -import os - import eventlet -# NOTE(TheJulia): Eventlet, when monkey patching occurs, replaces the base -# dns resolver methods. This can lead to compatibility issues, -# and un-expected exceptions being raised during the process -# of monkey patching. Such as one if there are no resolvers. -os.environ['EVENTLET_NO_GREENDNS'] = "yes" - # NOTE(JayF) Without monkey_patching socket, API requests will hang with TLS # enabled. Enabling more than just socket for monkey patching causes failures # in image streaming. In an ideal world, we track down all those errors and