From dfd24deec373e1d65185e3a0ac255ec16a4a459d Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Wed, 22 Oct 2025 09:11:51 +0200 Subject: uwsgi: Add configuration for http chunked input This is mainly required for Glance, but other services use that as well - so let's enable it by default. Change-Id: I74340a9b279d5c12542cdf54ae92d814e7a8bf38 Signed-off-by: Michal Nasiadka --- ansible/roles/service-uwsgi-config/templates/uwsgi.ini.j2 | 3 +++ releasenotes/notes/uwsgi-chunked-input-8b15b1c77f093332.yaml | 4 ++++ zuul.d/scenarios/aio.yaml | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/uwsgi-chunked-input-8b15b1c77f093332.yaml diff --git a/ansible/roles/service-uwsgi-config/templates/uwsgi.ini.j2 b/ansible/roles/service-uwsgi-config/templates/uwsgi.ini.j2 index ce42d352d..2fb9f030c 100644 --- a/ansible/roles/service-uwsgi-config/templates/uwsgi.ini.j2 +++ b/ansible/roles/service-uwsgi-config/templates/uwsgi.ini.j2 @@ -10,6 +10,9 @@ https = {{ service_uwsgi_config_host }}:{{ service_uwsgi_config_http_port }},{{ {% else %} http = {{ service_uwsgi_config_host }}:{{ service_uwsgi_config_http_port }} {% endif %} +http-auto-chunked = true +http-chunked-input = true +http-raw-body = true lazy-apps = true logto2 = /var/log/kolla/{{ service_uwsgi_config_log_dir }}/{{ service_uwsgi_config_log_file }} {% if service_uwsgi_config_log_file_chmod is defined %} diff --git a/releasenotes/notes/uwsgi-chunked-input-8b15b1c77f093332.yaml b/releasenotes/notes/uwsgi-chunked-input-8b15b1c77f093332.yaml new file mode 100644 index 000000000..a7007fe88 --- /dev/null +++ b/releasenotes/notes/uwsgi-chunked-input-8b15b1c77f093332.yaml @@ -0,0 +1,4 @@ +--- +features: + - | + HTTP chunked input is now enabled by default for all ``uWSGI`` services. diff --git a/zuul.d/scenarios/aio.yaml b/zuul.d/scenarios/aio.yaml index f8e9b06e3..384a06b27 100644 --- a/zuul.d/scenarios/aio.yaml +++ b/zuul.d/scenarios/aio.yaml @@ -6,7 +6,7 @@ - ^ansible/group_vars/all/(common|fluentd|glance|haproxy|heat|horizon|keepalived|keystone|loadbalancer|neutron|nova|openvswitch|placement|proxysql|rabbitmq).yml - ^ansible/group_vars/baremetal/ansible-python-interpreter.yml - ^ansible/(action_plugins|filter_plugins|library|module_utils)/ - - ^ansible/roles/(common|fluentd|glance|haproxy-config|heat|horizon|keystone|loadbalancer|loadbalancer-config|neutron|nova|nova-cell|openvswitch|placement|proxysql|rabbitmq|service-.*)/ + - ^ansible/roles/(common|fluentd|glance|haproxy-config|heat|horizon|keystone|loadbalancer|loadbalancer-config|neutron|nova|nova-cell|openvswitch|placement|proxysql|rabbitmq|service.*)/ - ^kolla_ansible/ - ^roles/kolla-ansible-(deploy|tempest|test-dashboard)/ - ^tests/testinfra/test_horizon.py -- cgit v1.2.3