pyroute2
pyroute2 copied to clipboard
interface.up() hangs when running with eventlet
I'm trying to run kuryr-kubernetes with eventlet enabled. So I've added:
eventlet.monkey_patch()
asyncio.asyncio_config()
in the beginning of the code.
Once that's done this .up() starts to hang forever. I'm not sure how should I debug the issue or is it a known problem?
Unfortunately, in the last releases the eventlet developers broke literally everything in the socket API. So the library may misbehave with eventlet enabled. And I'm not sure how possible is it to debug. And if it is possible at all, since eventlet breaks the debug tools also.
@svinota: Thank you a lot for explaining. I guess we should leave this issue hanging for others? And maybe some checks for eventlet version are needed in asyncio_config()?
In Kuryr we've worked this around by abstaining from usage of oslo.service, so most likely I won't be able to spend time on debugging that.