Skip to content

Commit 9892c85

Browse files
authored
Merge pull request #898 from stackhpc/upstream/master-2026-07-07
Synchronise master with upstream
2 parents 3ce2ac1 + 76a6b21 commit 9892c85

5 files changed

Lines changed: 20 additions & 2 deletions

File tree

ansible/roles/glance/tasks/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
project_services: "{{ glance_services }}"
5454
service: "{{ glance_services['glance-api'] }}"
5555
service_name: "glance-api"
56+
service_uwsgi_config_chunked_input_limit: "{{ '64M' | human_to_bytes }}"
5657
service_uwsgi_config_http_port: "{{ glance_api_listen_port }}"
5758
service_uwsgi_config_log_file_chmod: "644"
5859
service_uwsgi_config_module: "{{ service.wsgi }}"

ansible/roles/prometheus/defaults/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ prometheus_services:
6060
auth_pass: "{{ prometheus_alertmanager_password }}"
6161
active_passive: "{{ prometheus_alertmanager_active_passive | bool }}"
6262
backend_http_extra:
63-
- "option httpchk"
63+
- "option httpchk GET /-/healthy"
64+
- "http-check expect status 200"
6465
prometheus_alertmanager_external:
6566
enabled: "{{ enable_prometheus_alertmanager_external | bool }}"
6667
mode: "http"
@@ -72,7 +73,8 @@ prometheus_services:
7273
auth_pass: "{{ prometheus_alertmanager_password }}"
7374
active_passive: "{{ prometheus_alertmanager_active_passive | bool }}"
7475
backend_http_extra:
75-
- "option httpchk"
76+
- "option httpchk GET /-/healthy"
77+
- "http-check expect status 200"
7678
prometheus-openstack-exporter:
7779
container_name: "prometheus_openstack_exporter"
7880
group: "prometheus-openstack-exporter"

ansible/roles/service-uwsgi-config/templates/uwsgi.ini.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
[uwsgi]
22
add-header = Connection: close
33
buffer-size = 65535
4+
{% if service_uwsgi_config_chunked_input_limit is defined %}
5+
chunked-input-limit = {{ service_uwsgi_config_chunked_input_limit }}
6+
{% endif %}
47
die-on-term = true
58
enable-threads = true
69
exit-on-reload = false
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
features:
3+
- |
4+
Added HAProxy HTTP health checks for Prometheus
5+
Alertmanager using the ``/-/healthy`` endpoint.
6+
HAProxy now verifies HTTP 200 responses to improve
7+
backend health detection.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Fixed instance snapshot hanging indefinitely.
5+
`LP#2158974 <https://launchpad.net/bugs/2158974>`__

0 commit comments

Comments
 (0)