diff --git a/nova/service.py b/nova/service.py index 37c5fdbdd9f2..260a1d66cf75 100644 --- a/nova/service.py +++ b/nova/service.py @@ -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() diff --git a/releasenotes/notes/deprecate-api-eventlet-1a0279f1f2333082.yaml b/releasenotes/notes/deprecate-api-eventlet-1a0279f1f2333082.yaml new file mode 100644 index 000000000000..39b31acc18d4 --- /dev/null +++ b/releasenotes/notes/deprecate-api-eventlet-1a0279f1f2333082.yaml @@ -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.