Use ansible_facts['processor_vcpus'] instead of fact variable
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/912768 Change-Id: If9fc16a7938a49d51dbd1110e908e3bda74e7adb (cherry picked from commit 66cdc8fa7cea0582cdbff37379a3012eef014379)
This commit is contained in:
parent
5605b90a4e
commit
c9f72dc876
@ -188,7 +188,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 }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user