Deprecate running API services under eventlet
This sets the timer on removing support for running API services under eventlet. Nova has supported running under WSGI since Pike, and does run with Apache by default in the gate. Change-Id: I83d6c100d0d2628f38a029cffa22d0c2bc15d667
This commit is contained in:
parent
9706d89d52
commit
b53d81b03c
@ -325,6 +325,10 @@ class WSGIService(service.Service):
|
||||
# NOTE(danms): Name can be metadata, osapi_compute, per
|
||||
# nova.service's enabled_apis
|
||||
self.binary = 'nova-%s' % name
|
||||
|
||||
LOG.warning('Running %s using eventlet is deprecated. Deploy with '
|
||||
'a WSGI server such as uwsgi or mod_wsgi.', self.binary)
|
||||
|
||||
self.topic = None
|
||||
self.manager = self._get_manager()
|
||||
self.loader = loader or api_wsgi.Loader()
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
Running API services (nova-osapi_compute or nova-metadata) with eventlet
|
||||
is now deprecated. Deploy with a WSGI server such as uwsgi or mod_wsgi.
|
Loading…
x
Reference in New Issue
Block a user