[openstack-dev] [all][tc][ptls] final stages of python 3 transition
Thomas Goirand
thomas at goirand.fr
Sat May 19 16:50:10 UTC 2018
On 05/08/2018 06:01 PM, Graham Hayes wrote:
> Glance - Has issues with image upload + uwsgi + eventlet [1]
Yeah, as much as I can see, my experience with last week is that there's
no working mode of operation with Glance, Python3 and SSL:
- It doesn't work with eventlet, with SSL handshake failure if we don't
remove that line:
https://github.com/eventlet/eventlet/blob/master/eventlet/green/ssl.py#L342
(of course, removing the set_nonblocking() line in eventlet is *not* a
solution)
- It doesn't work with uwsgi (connection reset by peer, IIRC)
- It doesn't work with Apache (Content-Length issue when uploading images)
The only mode that I didn't test (yet) is using eventlet without SSL,
and then using HA-Proxy to do the SSL part. Maybe using Apache with
mod_proxy will work too, I probably will test that too, and see which
one integrates the more easily with puppet-openstack.
I don't see why the above mod_proxy or haproxy deployment wouldn't work,
but after all the frustrations I had with Glance last week, I'm
expecting anything...
So, to generalize, yeah, we definitively need to fix this issue with
Eventlet ASAP. But also fix Glance so that it can work with uwsgi and
Apache mod_wsgi.
Cheers,
Thomas Goirand (zigo)
More information about the OpenStack-dev
mailing list