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
This commit is contained in:
Julia Kreger 2024-05-03 08:18:20 -07:00
parent af907322f6
commit 45a16987dc

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