Deprecate mistral coordination
Mistral uses tooz coordination only for /v2/services endpoint, which is giving the list of mistral services running per workers. This is not enabled by default and need a backend_url to be set in config for this feature to be enabled. During the eventlet removal, we identified that some drivers in tooz rely on the fact eventlet monkeypatching is enabled. Since we want to get rid of eventlet, and because we think this services endpoint is not widely used, let's deprecate that feature so we can move forward with eventlet removal. All coordination code may be deleted during the next cycle. Related-bug: #2099954 Change-Id: Ia1a27d196b03297e25388b22181cc37f74837fa8 Signed-off-by: Arnaud M <arnaud.morin@gmail.com>
This commit is contained in:
parent
2e3d2d7e58
commit
c095c3715d
@ -594,6 +594,8 @@ coordination_opts = [
|
||||
cfg.StrOpt(
|
||||
'backend_url',
|
||||
secret=True,
|
||||
deprecated_for_removal=True,
|
||||
deprecated_reason='Coordination will be removed from mistral code',
|
||||
help=_('The backend URL to be used for coordination')
|
||||
),
|
||||
cfg.FloatOpt(
|
||||
|
@ -0,0 +1,13 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
The coordination service inside mistral has been used only to list the
|
||||
mistral services list behind the endpoint ``v2/services``.
|
||||
This feature is not enabled by default and needs a specific ``coordinator``
|
||||
``backend_url`` configuration to be set for mistral to answer the services
|
||||
list correctly.
|
||||
Coordination rely on the ``tooz`` project and, depending on the driver in
|
||||
use, may need eventlet monkeypatching.
|
||||
Because we want to get rid of all eventlet code inside mistral, the
|
||||
``v2/services`` endpoint is now deprecated and all coordination code
|
||||
will be dropped in the next cycle.
|
Loading…
x
Reference in New Issue
Block a user