pyroute2 icon indicating copy to clipboard operation
pyroute2 copied to clipboard

interface.up() hangs when running with eventlet

Open dulek opened this issue 7 years ago • 2 comments

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?

dulek avatar Oct 20 '17 10:10 dulek

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 avatar Oct 26 '17 14:10 svinota

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

dulek avatar Oct 26 '17 14:10 dulek