[openstack-dev] [all] propose to upgrade python kubernetes (the k8s python client) to 4.0.0 which breaks oslo.service

Lingxian Kong anlin.kong at gmail.com
Thu Jan 4 21:45:26 UTC 2018

On Tue, Jan 2, 2018 at 1:56 AM, Eyal Leshem <ey.leshem at gmail.com> wrote:

> Hi ,
> According to https://github.com/eventlet/eventlet/issues/147 - it's looks
> that eventlet
> has issue with "multiprocessing.pool".
> The ThreadPool used in code that auto-generated by swagger.
> Possible workaround for that is to monky-patch the client library ,
> and replace the pool with greenpool.

Hi, leyal, I'm not very familar with eventlet, but how can I monkey patch
kubernetes python lib?
The only way I can see now is to replace oslo.service with something else,
e.g. cotyledon, avoid to use eventlet, that's a signaficant change though.
I also found this bug https://bugs.launchpad.net/taskflow/+bug/1225275 in
taskflow, they chose to not use multiprocessing module.

Any other suggestions are welcomed!

> If someone has better workaround, please share that with us :)
> btw , I don't think that should be treated as compatibility issue
> in the client python as it's an eventlet issue..
> Thanks ,
> leyal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180105/4a72278a/attachment.html>

More information about the OpenStack-dev mailing list