On 4/29/24 19:23, Thomas Goirand wrote:
On 4/29/24 07:20, Takashi Kajinami wrote:
Given the situation, I wonder if we can consider deprecating the eventlet WSGI server in oslo.service in 2024.2/2025.1 and eventually remove all -api script in 2025.2. This was discussed during the previous nova PTG sessions and I think this makes complete sense as a global direction given the variety of alternative approaches currently available.
I would agree only if: - glance is fixed upstream, and tested using uwsgi (or something else)
AFAIK glance is now deployed with uwsgi by default in functional jobs and if I read the job definition/result correctly the empest-integrated-storage-import job covers image import which was a blocker in the past.
- swift starts supporting uwsgi as well. We tried in production to switch to uwsgi, and it was a nightmare.
Swift is currently out of my scope and I don't think it should/can be a blocker because swift is not using the oslo.service's implementation but its own one.
For swift, this would be an awesome move, as switching to uwsgi doubles the performances of all http servers like the container server or the object server. For large clusters, that's a thing... Though same thing: this must be implemented in Swift's CI.
I'm tagging neutron(*1) and glance(*2) because IIRC these had(or even have) some problems with running API in wsgi mode
As much as I know, we never had any issue with Neutron. Though I heard there still is, if using OVN.
For both, IMO we need our CI to run uwsgi (or something else) *before* removing eventlet support in oslo.service.
I agree. My ask is not removing the eventlet WSGI server immediately, but invest in the direction so that we can actually deprecate and remove it in 2025.1/2 .
For neutron, there are a few issues being fixed now https://bugs.launchpad.net/neutron/+bug/2062009 but ml2-ovn may need additional fixes. https://bugs.launchpad.net/neutron/+bug/1912359
We must have these fixed first, no?
Yes.
(*2) As far as I know the issue with glance was already fixed some time ago[1]. https://bugs.launchpad.net/glance/+bug/1888713
I can't remember the details, but last time I tried, this patch wasn't enough. Can someone else confirm?!?
Cheers,
Thomas Goirand (zigo)