Merge "Disable uWSGI usage by default"
This commit is contained in:
commit
67be118a53
@ -194,7 +194,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.
|
@ -502,7 +502,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: >-
|
||||
|
Loading…
x
Reference in New Issue
Block a user