Merge "Disable uWSGI usage by default" into stable/2023.1
This commit is contained in:
commit
e74527d8d7
@ -186,7 +186,7 @@ neutron_ovn_metadata_agent_init_overrides: {}
|
||||
### UWSGI
|
||||
###
|
||||
# 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_use_uwsgi: False
|
||||
neutron_wsgi_processes_max: 16
|
||||
neutron_wsgi_processes: "{{ [[ansible_facts['processor_vcpus']|default(1), 1] | max * 2, neutron_wsgi_processes_max] | min }}"
|
||||
neutron_wsgi_threads: 1
|
||||
|
@ -0,0 +1,13 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
Default for Neutron API has been switched from using uWSGI to old
|
||||
eventlet due to found compatability issues for the current OpenStack
|
||||
release.
|
||||
You can find more infromation in Neutron
|
||||
`bug report <https://bugs.launchpad.net/neutron/+bug/2069581>`_
|
||||
You can preserve current behaviour by setting ``neutron_use_uwsgi: True``
|
||||
fixes:
|
||||
- |
|
||||
In case of switching Neutron from uWSGI to old eventlet,
|
||||
`neutron-rpc-server` service will be disabled and stopped by the role.
|
@ -478,7 +478,9 @@ neutron_services:
|
||||
neutron-rpc-server:
|
||||
group: neutron_server
|
||||
service_name: neutron-rpc-server
|
||||
service_en: "{{ neutron_use_uwsgi }}"
|
||||
service_en: True
|
||||
enabled: "{{ neutron_use_uwsgi }}"
|
||||
state: "{{ neutron_use_uwsgi | ternary('started', 'stopped') }}"
|
||||
init_config_overrides: "{{ neutron_rpc_server_init_overrides | combine(neutron_server_init_overrides) }}"
|
||||
start_order: 2
|
||||
execstarts: "{{ neutron_bin }}/neutron-rpc-server --config-file {{ neutron_conf_dir }}/neutron.conf --config-file {{ neutron_conf_dir }}/{{ neutron_plugins[neutron_plugin_type].plugin_ini }}{%- if ('ml2.genericswitch' in neutron_plugin_types) %} --config-file {{ neutron_conf_dir }}/{{ neutron_plugins['ml2.genericswitch'].plugin_ini }}{%- endif %}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user