diff --git a/mistral/config.py b/mistral/config.py index 8e53b150f..a32018c1f 100644 --- a/mistral/config.py +++ b/mistral/config.py @@ -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( diff --git a/releasenotes/notes/deprecate-coordination-cf5f28b30a8d407f.yaml b/releasenotes/notes/deprecate-coordination-cf5f28b30a8d407f.yaml new file mode 100644 index 000000000..fc1759388 --- /dev/null +++ b/releasenotes/notes/deprecate-coordination-cf5f28b30a8d407f.yaml @@ -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.