From 2a9cbdabce7c8718df597946763c984353426849 Mon Sep 17 00:00:00 2001 From: Balazs Gibizer Date: Thu, 14 Aug 2025 14:10:15 +0200 Subject: [PATCH] Ask for pre-prod testing for native threading This patch refines our logging, doc, and release notes about the native threading mode of scheduler, api, and metadata services to ask for pre-prod testing before enabled in production. Change-Id: I04bbb3d7e4664a0cab8b30f4c34ee71774536353 Signed-off-by: Balazs Gibizer --- doc/source/admin/concurrency.rst | 5 ++++- nova/monkey_patch.py | 3 ++- releasenotes/notes/threaded-nova-api-d8ec6704dcf66fb3.yaml | 5 ++++- .../notes/threaded-nova-scheduler-dd4649b987f33025.yaml | 4 +++- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/doc/source/admin/concurrency.rst b/doc/source/admin/concurrency.rst index e303ce117ef1..bea81aa20266 100644 --- a/doc/source/admin/concurrency.rst +++ b/doc/source/admin/concurrency.rst @@ -13,7 +13,10 @@ up support for the native threading mode. .. note:: - The native threading mode is not ready yet. Do not use it in production. + The native threading mode is experimental. Do not use it in production + without first testing it in pre-production. If you do so please let us now + how it went on the mailing list openstack-discuss@lists.openstack.org. + Selecting concurrency mode for a service ---------------------------------------- diff --git a/nova/monkey_patch.py b/nova/monkey_patch.py index c3bc62dea9ba..68d1c17faa4c 100644 --- a/nova/monkey_patch.py +++ b/nova/monkey_patch.py @@ -110,4 +110,5 @@ def patch(): LOG = logging.getLogger(__name__) LOG.warning( "Service is starting with native threading. This is currently " - "experimental. Do not use it in production.") + "experimental. Do not use it in production without first " + "testing it in pre-production.") diff --git a/releasenotes/notes/threaded-nova-api-d8ec6704dcf66fb3.yaml b/releasenotes/notes/threaded-nova-api-d8ec6704dcf66fb3.yaml index 531c16992b8f..455910d30cd6 100644 --- a/releasenotes/notes/threaded-nova-api-d8ec6704dcf66fb3.yaml +++ b/releasenotes/notes/threaded-nova-api-d8ec6704dcf66fb3.yaml @@ -3,6 +3,9 @@ features: - | The nova-api and nova-metadata services now can be run in native threading mode instead of with eventlet. This is an experimental feature that is - disabled by default. Please read the + disabled by default. Please test the native threading mode in + pre-production before enabling it in production. If you do so please let us + now how it went on the mailing list openstack-discuss@lists.openstack.org. + Please read the `concurrency `__ guide for more details. diff --git a/releasenotes/notes/threaded-nova-scheduler-dd4649b987f33025.yaml b/releasenotes/notes/threaded-nova-scheduler-dd4649b987f33025.yaml index 2923eb9e2f0a..5671cba540bd 100644 --- a/releasenotes/notes/threaded-nova-scheduler-dd4649b987f33025.yaml +++ b/releasenotes/notes/threaded-nova-scheduler-dd4649b987f33025.yaml @@ -3,7 +3,9 @@ features: - | The nova-scheduler now can be run in native threading mode instead of with eventlet. This is an experimental feature that is disabled by - default. Please read the + default. Please test the native threading mode in pre-production before + enabling it in production. If you do so please let us now how it went on + the mailing list openstack-discuss@lists.openstack.org. Please read the `concurrency `__ guide for more details.