Merge "Remove eventlet workaround"

This commit is contained in:
Zuul 2024-05-15 00:48:22 +00:00 committed by Gerrit Code Review
commit 0acaa1e3be
1 changed files with 0 additions and 8 deletions

View File

@ -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