Deprecate eventlet executor for engine server

Set threading as default executed and mark the option as deprecated
since setting it to something else (eventlet) is deprecated.

Change-Id: I3bd735ba0e553d5d07c9170e57d8d5a816f59e2f
Signed-off-by: Arnaud M <arnaud.morin@gmail.com>
This commit is contained in:
Arnaud M 2024-12-09 23:29:10 +01:00
parent 757e376d0c
commit ab6a5c23b7
2 changed files with 11 additions and 2 deletions

View File

@ -169,8 +169,10 @@ rpc_response_timeout_opt = cfg.IntOpt(
oslo_rpc_executor = cfg.StrOpt(
'oslo_rpc_executor',
default='eventlet',
choices=['eventlet', 'blocking', 'threading'],
default='threading',
choices=['eventlet', 'threading'],
deprecated_for_removal=True,
deprecated_reason='This option is going to be removed from oslo.messaging',
help=_('Executor type used by Oslo Messaging framework. Defines how '
'Oslo Messaging based RPC subsystem processes incoming calls.')
)

View File

@ -0,0 +1,7 @@
---
deprecations:
- |
The parameter `oslo_rpc_executor` is now deprecated and its default value
has been set to `threading` instead of `eventlet`.
This change has been done during the process of eventlet removal, see
`Eventlet Removal <https://wiki.openstack.org/wiki/Eventlet-removal>`_