diff --git a/manila/cmd/api.py b/manila/cmd/api.py index 76e4687e18..dc49af3e92 100644 --- a/manila/cmd/api.py +++ b/manila/cmd/api.py @@ -20,12 +20,6 @@ import eventlet eventlet.monkey_patch() -# Monkey patch the original current_thread to use the up-to-date _active -# global variable. See https://bugs.launchpad.net/bugs/1863021 and -# https://github.com/eventlet/eventlet/issues/592 -import __original_module_threading as orig_threading -import threading # noqa -orig_threading.current_thread.__globals__['_active'] = threading._active import sys diff --git a/manila/cmd/data.py b/manila/cmd/data.py index 91a284cb9d..1edba6c151 100644 --- a/manila/cmd/data.py +++ b/manila/cmd/data.py @@ -18,12 +18,6 @@ import eventlet eventlet.monkey_patch() -# Monkey patch the original current_thread to use the up-to-date _active -# global variable. See https://bugs.launchpad.net/bugs/1863021 and -# https://github.com/eventlet/eventlet/issues/592 -import __original_module_threading as orig_threading -import threading # noqa -orig_threading.current_thread.__globals__['_active'] = threading._active import sys diff --git a/manila/cmd/scheduler.py b/manila/cmd/scheduler.py index a06d30d748..dbc5c3b1c1 100644 --- a/manila/cmd/scheduler.py +++ b/manila/cmd/scheduler.py @@ -20,12 +20,6 @@ import eventlet eventlet.monkey_patch() -# Monkey patch the original current_thread to use the up-to-date _active -# global variable. See https://bugs.launchpad.net/bugs/1863021 and -# https://github.com/eventlet/eventlet/issues/592 -import __original_module_threading as orig_threading -import threading # noqa -orig_threading.current_thread.__globals__['_active'] = threading._active import sys diff --git a/manila/cmd/share.py b/manila/cmd/share.py index 7a8ac4f6ef..5bc65d398a 100644 --- a/manila/cmd/share.py +++ b/manila/cmd/share.py @@ -19,12 +19,6 @@ import eventlet eventlet.monkey_patch() -# Monkey patch the original current_thread to use the up-to-date _active -# global variable. See https://bugs.launchpad.net/bugs/1863021 and -# https://github.com/eventlet/eventlet/issues/592 -import __original_module_threading as orig_threading -import threading # noqa -orig_threading.current_thread.__globals__['_active'] = threading._active import sys diff --git a/requirements.txt b/requirements.txt index ba2038c668..a61cd95a4a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,7 @@ pbr>=5.5.0 # Apache-2.0 alembic>=1.4.2 # MIT defusedxml>=0.7.1 # PSFL -eventlet>=0.26.1 # MIT +eventlet>=0.27.0 # MIT greenlet>=0.4.16 # MIT lxml>=4.5.2 # BSD netaddr>=0.8.0 # BSD