From 66cdc8fa7cea0582cdbff37379a3012eef014379 Mon Sep 17 00:00:00 2001 From: Jimmy McCrory Date: Mon, 11 Mar 2024 07:21:58 -0700 Subject: [PATCH] Use ansible_facts['processor_vcpus'] instead of fact variable Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/912768 Change-Id: If9fc16a7938a49d51dbd1110e908e3bda74e7adb --- defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 1e76449a..b275b7f4 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -192,7 +192,7 @@ neutron_ovn_metadata_agent_init_overrides: {} # NOTE(noonedeadpunk): uWSGI is still not fully supported. See: https://bugs.launchpad.net/neutron/+bug/1912359 neutron_use_uwsgi: "{{ (neutron_plugin_type not in ['ml2.ovn']) }}" neutron_wsgi_processes_max: 16 -neutron_wsgi_processes: "{{ [[ansible_processor_vcpus | default(1), 1] | max * 2, neutron_wsgi_processes_max] | min }}" +neutron_wsgi_processes: "{{ [[ansible_facts['processor_vcpus'] | default(1), 1] | max * 2, neutron_wsgi_processes_max] | min }}" neutron_wsgi_threads: 1 neutron_uwsgi_tls: crt: "{{ neutron_ssl_cert }}"