The latest update of eventlet library has bug with exception handling. > EAI_NODATA_ERROR = socket.gaierror(socket.EAI_NODATA, 'No address associated with hostname') EAI_NODATA was deprected in 2003 in RFC3493 https://lists.freebsd.org/pipermail/freebsd-ports/2003-October/005757.html Steps to reproduce 1. install net/py-eventlet 2. python -m eventlet Log root@express:~ # python2.7 -m eventlet Traceback (most recent call last): File "/usr/local/lib/python2.7/runpy.py", line 163, in _run_module_as_main mod_name, _Error) File "/usr/local/lib/python2.7/runpy.py", line 111, in _get_module_details __import__(mod_name) # Do not catch exceptions initializing package File "/usr/local/lib/python2.7/site-packages/eventlet/__init__.py", line 10, in <module> from eventlet import convenience File "/usr/local/lib/python2.7/site-packages/eventlet/convenience.py", line 6, in <module> from eventlet.green import socket File "/usr/local/lib/python2.7/site-packages/eventlet/green/socket.py", line 28, in <module> from eventlet.support import greendns File "/usr/local/lib/python2.7/site-packages/eventlet/support/greendns.py", line 82, in <module> EAI_NODATA_ERROR = socket.gaierror(socket.EAI_NODATA, 'No address associated with hostname') AttributeError: 'module' object has no attribute 'EAI_NODATA'
This change breaks all OpenStack services. Upstream fix available here https://github.com/eventlet/eventlet/commit/4e775e23f312c386929e0c5e9a9c952c1ec80c45
Created attachment 180903 [details] proposed fix
can you rollback the commit?
(In reply to Alexander Nusov from comment #3) Doesn't the attached patch fix the problem? (I assumed this because you requested roll-back of the commit)
Yes, it does. Please fix it using the patch or rollback the commit. thanks!
Fixed. Thank you very much.
A commit references this bug: Author: cs Date: Wed Mar 29 21:07:55 UTC 2017 New revision: 437242 URL: https://svnweb.freebsd.org/changeset/ports/437242 Log: Fix attribute error PR: 217867 Submitted by: Alexander Nusov <alexander.nusov@nfvexpress.com> Changes: head/net/py-eventlet/Makefile head/net/py-eventlet/files/ head/net/py-eventlet/files/patch-eventlet_support_greendns.py
(In reply to Carlo Strub from comment #6) Thanks :)