Use ansible_facts['processor_vcpus'] instead of fact variable
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/912768 Change-Id: If9fc16a7938a49d51dbd1110e908e3bda74e7adb
This commit is contained in:
parent
4e855db6b2
commit
66cdc8fa7c
@ -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 }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user