From ec426532c3785056105a8fa78f1522785081bab4 Mon Sep 17 00:00:00 2001 From: Balazs Gibizer Date: Tue, 26 Aug 2025 21:02:49 +0200 Subject: [PATCH] Run nova-conductor in native threading mode Previous patches removed direct eventlet usage from nova-conductor so now we can run it with native threading as well. This patch documents the possibility and switches both nova-conductor process to native threading mode in the nova-next job. Change-Id: If26c0c7199cbda157f24b99a419697ecb6618fa6 Signed-off-by: Balazs Gibizer --- .zuul.yaml | 2 ++ doc/source/admin/concurrency.rst | 4 ++-- .../threaded-nova-conductor-5bc7a09a7f48480d.yaml | 10 ++++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 releasenotes/notes/threaded-nova-conductor-5bc7a09a7f48480d.yaml diff --git a/.zuul.yaml b/.zuul.yaml index 11eb7ab6491a..b5f6762dd0bc 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -497,6 +497,8 @@ 'SYSTEMD_ENV_VARS["n-sch"]': OS_NOVA_DISABLE_EVENTLET_PATCHING=true 'SYSTEMD_ENV_VARS["n-api"]': OS_NOVA_DISABLE_EVENTLET_PATCHING=true 'SYSTEMD_ENV_VARS["n-api-meta"]': OS_NOVA_DISABLE_EVENTLET_PATCHING=true + 'SYSTEMD_ENV_VARS["n-cond-cell1"]': OS_NOVA_DISABLE_EVENTLET_PATCHING=true + 'SYSTEMD_ENV_VARS["n-super-cond"]': OS_NOVA_DISABLE_EVENTLET_PATCHING=true devstack_services: # Disable OVN services br-ex-tcpdump: false diff --git a/doc/source/admin/concurrency.rst b/doc/source/admin/concurrency.rst index bea81aa20266..e99bc4b2e0cf 100644 --- a/doc/source/admin/concurrency.rst +++ b/doc/source/admin/concurrency.rst @@ -27,8 +27,8 @@ threading mode at service startup via setting the environment variable .. note:: - Since nova 32.0.0 (2025.2 Flamingo) the nova-scheduler, nova-metadata, and - nova-api can be switched to native threading mode. + Since nova 32.0.0 (2025.2 Flamingo) the nova-scheduler, nova-metadata, + nova-api, and nova-conductor can be switched to native threading mode. Tunables for the native threading mode diff --git a/releasenotes/notes/threaded-nova-conductor-5bc7a09a7f48480d.yaml b/releasenotes/notes/threaded-nova-conductor-5bc7a09a7f48480d.yaml new file mode 100644 index 000000000000..7f0d94f7c2ea --- /dev/null +++ b/releasenotes/notes/threaded-nova-conductor-5bc7a09a7f48480d.yaml @@ -0,0 +1,10 @@ +--- +features: + - | + The nova-conductor services now can be run in native threading + mode instead of with eventlet. This is an experimental feature that is + disabled by default. Please test the native threading mode in + pre-production before enabling it in production. Please read the + `concurrency `__ + guide for more details. +