Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
76e78c5
Fix shebangs
dincercelik Jun 3, 2025
e1df807
octavia: update [neutron] configuration section
priteau Apr 3, 2026
23c420a
Fix Prometheus scraping for ProxySQL and Valkey
vurmil Apr 14, 2026
df63282
cinder: Change default destination for cinder-volume/backup containers
mnasiadka Mar 11, 2026
e89a36a
Merge "cinder: Change default destination for cinder-volume/backup co…
Apr 20, 2026
49eb67a
Fix prometheus bootstrapping mysqld-exporter
GregWhiteyBialas Apr 16, 2026
0fb74c4
Merge "Fix prometheus bootstrapping mysqld-exporter"
Apr 20, 2026
93e7d71
CI: Fix ovn-upgrade jobs
mnasiadka Apr 20, 2026
cf19a24
Merge "CI: Fix ovn-upgrade jobs"
Apr 21, 2026
e3b0cf1
CI: Add ^prometheus img regex to ovn scenario
mnasiadka Apr 22, 2026
f0f9810
CI: Remove upper-constraints in linters tox job
mnasiadka Apr 23, 2026
fcc2181
service-uwsgi-config: Add threads support
bbezak Apr 23, 2026
f06775d
Merge "Fix Prometheus scraping for ProxySQL and Valkey"
Apr 24, 2026
23c4ae0
barbican: remove leftover barbican-api.ini.j2
keuko Apr 10, 2026
e55f8a6
Drop support for running WSGI under Apache
mnasiadka Mar 27, 2026
54dce96
Merge "Fix shebangs"
Apr 24, 2026
fffd9cb
Merge "octavia: update [neutron] configuration section"
Apr 24, 2026
a8ec059
Merge "barbican: remove leftover barbican-api.ini.j2"
Apr 24, 2026
0f4c854
Support multiple Nova Compute Ironic instances
dougszumski Jan 26, 2026
700f0db
Merge "Drop support for running WSGI under Apache"
Apr 24, 2026
6c0e560
Merge "Support multiple Nova Compute Ironic instances"
Apr 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion ansible/inventory/all-in-one
Original file line number Diff line number Diff line change
Expand Up @@ -270,12 +270,26 @@ network
cinder

[cinder-backup:children]
cinder

[cinder-backup-lvm:children]
storage

[cinder-backup-multiple:children]
cinder
storage

[cinder-scheduler:children]
cinder

[cinder-volume:children]
cinder

[cinder-volume-lvm:children]
storage

[cinder-volume-multiple:children]
cinder
storage

# Cloudkitty
Expand All @@ -286,11 +300,12 @@ cloudkitty
cloudkitty

# iSCSI
# NOTE(mnasiadka): We need iscsid on cinder-volume hosts and clients
[iscsid:children]
compute
storage
ironic

# NOTE(mnasiadka): We need tgtd on storage nodes for Cinder LVM
[tgtd:children]
storage

Expand Down
14 changes: 14 additions & 0 deletions ansible/inventory/multinode
Original file line number Diff line number Diff line change
Expand Up @@ -288,12 +288,26 @@ neutron
cinder

[cinder-backup:children]
cinder

[cinder-backup-lvm:children]
storage

[cinder-backup-multiple:children]
cinder
storage

[cinder-scheduler:children]
cinder

[cinder-volume:children]
cinder

[cinder-volume-lvm:children]
storage

[cinder-volume-multiple:children]
cinder
storage

# Cloudkitty
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
upgrade:
- |
Support for running WSGI services under Apache+mod_wsgi has been dropped.
All API services now run exclusively under uWSGI. The ``*_wsgi_provider``
variables (``keystone_wsgi_provider``, ``nova_wsgi_provider``,
``cinder_wsgi_provider``, etc.) have been removed. If you had any of these
set to ``apache`` in your configuration, remove them before upgrading.
5 changes: 0 additions & 5 deletions ansible/roles/aodh/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,3 @@ aodh_database_enable_tls_internal: "{{ database_enable_tls_internal | bool }}"
# Copy certificates
###################
aodh_copy_certs: "{{ kolla_copy_ca_into_containers | bool or aodh_database_enable_tls_internal | bool }}"

####################
# WSGI
####################
aodh_wsgi_provider: "uwsgi"
13 changes: 0 additions & 13 deletions ansible/roles/aodh/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,17 +78,4 @@
service_uwsgi_config_uid: "aodh"
service_uwsgi_config_workers: "{{ aodh_api_workers }}"
when:
- aodh_wsgi_provider == "uwsgi"
- service | service_enabled_and_mapped_to_host

- name: Copying over wsgi-aodh files for services
vars:
service: "{{ aodh_services['aodh-api'] }}"
ansible.builtin.template:
src: "wsgi-aodh.conf.j2"
dest: "{{ node_config_directory }}/aodh-api/wsgi-aodh.conf"
mode: "0660"
become: true
when:
- aodh_wsgi_provider == "apache"
- service | service_enabled_and_mapped_to_host
15 changes: 3 additions & 12 deletions ansible/roles/aodh/templates/aodh-api.json.j2
Original file line number Diff line number Diff line change
@@ -1,27 +1,18 @@
{% set apache_binary = 'apache2' if kolla_base_distro in ['ubuntu', 'debian'] else 'httpd' %}
{% set aodh_dir = 'apache2/conf-enabled' if kolla_base_distro in ['ubuntu', 'debian'] else 'httpd/conf.d' %}
{% set command = ('/usr/sbin/' + apache_binary + ' -DFOREGROUND') if aodh_wsgi_provider == 'apache' else 'uwsgi /etc/aodh/aodh-api-uwsgi.ini' %}
{
"command": "{{ command }}",
"command": "uwsgi /etc/aodh/aodh-api-uwsgi.ini",
"config_files": [
{
"source": "{{ container_config_directory }}/aodh.conf",
"dest": "/etc/aodh/aodh.conf",
"owner": "aodh",
"perm": "0600"
}{% if aodh_wsgi_provider == "apache" %},
{
"source": "{{ container_config_directory }}/wsgi-aodh.conf",
"dest": "/etc/{{ aodh_dir }}/wsgi-aodh.conf",
"owner": "root",
"perm": "0600"
}{% elif aodh_wsgi_provider == 'uwsgi' %},
},
{
"source": "{{ container_config_directory }}/aodh-api-uwsgi.ini",
"dest": "/etc/aodh/aodh-api-uwsgi.ini",
"owner": "aodh",
"perm": "0600"
}{% endif %}{% if aodh_policy_file is defined %},
}{% if aodh_policy_file is defined %},
{
"source": "{{ container_config_directory }}/{{ aodh_policy_file }}",
"dest": "/etc/aodh/{{ aodh_policy_file }}",
Expand Down
38 changes: 0 additions & 38 deletions ansible/roles/aodh/templates/wsgi-aodh.conf.j2

This file was deleted.

5 changes: 0 additions & 5 deletions ansible/roles/barbican/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,3 @@ barbican_database_enable_tls_internal: "{{ database_enable_tls_internal | bool }
# Copy certificates
###################
barbican_copy_certs: "{{ kolla_copy_ca_into_containers | bool or barbican_enable_tls_backend | bool or barbican_database_enable_tls_internal | bool }}"

###################
# WSGI
###################
barbican_wsgi_provider: "uwsgi"
1 change: 0 additions & 1 deletion ansible/roles/barbican/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
service_uwsgi_config_workers: "{{ barbican_api_workers }}"
when:
- service | service_enabled_and_mapped_to_host
- barbican_wsgi_provider == "uwsgi"

- name: Copying over config.json files for services
ansible.builtin.template:
Expand Down
15 changes: 0 additions & 15 deletions ansible/roles/barbican/templates/barbican-api.ini.j2

This file was deleted.

15 changes: 8 additions & 7 deletions ansible/roles/cinder/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ cinder_services:
healthcheck: "{{ cinder_scheduler_healthcheck }}"
cinder-volume:
container_name: cinder_volume
group: cinder-volume
group: >-
{{ 'cinder-volume-multiple' if (cinder_enabled_backends | length > 1 and enable_cinder_backend_lvm | bool) else
'cinder-volume-lvm' if enable_cinder_backend_lvm | bool else
'cinder-volume' }}
enabled: true
image: "{{ cinder_volume_image_full }}"
privileged: true
Expand All @@ -52,7 +55,10 @@ cinder_services:
healthcheck: "{{ cinder_volume_healthcheck }}"
cinder-backup:
container_name: cinder_backup
group: cinder-backup
group: >-
{{ 'cinder-backup-multiple' if (cinder_enabled_backends | length > 1 and enable_cinder_backend_lvm | bool) else
'cinder-backup-lvm' if enable_cinder_backend_lvm | bool else
'cinder-backup' }}
enabled: "{{ enable_cinder_backup | bool }}"
image: "{{ cinder_backup_image_full }}"
privileged: true
Expand Down Expand Up @@ -382,11 +388,6 @@ cinder_enable_tls_backend: "{{ kolla_enable_tls_backend }}"
cinder_cluster_name: ""
cinder_cluster_skip_precheck: false

############
# WSGI
############
cinder_wsgi_provider: "uwsgi"

# Database
cinder_database_enable_tls_internal: "{{ database_enable_tls_internal | bool }}"

Expand Down
17 changes: 0 additions & 17 deletions ansible/roles/cinder/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,6 @@
become: true
with_dict: "{{ cinder_services | select_services_enabled_and_mapped_to_host }}"

- name: Copying over cinder-wsgi.conf
vars:
service: "{{ cinder_services['cinder-api'] }}"
become: true
ansible.builtin.template:
src: "{{ item }}"
dest: "{{ node_config_directory }}/cinder-api/cinder-wsgi.conf"
mode: "0660"
with_first_found:
- "{{ node_custom_config }}/cinder/{{ inventory_hostname }}/cinder-wsgi.conf"
- "{{ node_custom_config }}/cinder/cinder-wsgi.conf"
- "cinder-wsgi.conf.j2"
when:
- service | service_enabled_and_mapped_to_host
- cinder_wsgi_provider == "apache"

- name: "Configure uWSGI for Cinder"
ansible.builtin.include_role:
name: service-uwsgi-config
Expand All @@ -87,7 +71,6 @@
service_uwsgi_config_workers: "{{ cinder_api_workers }}"
when:
- service | service_enabled_and_mapped_to_host
- cinder_wsgi_provider == "uwsgi"

- name: Copying over cinder.conf
vars:
Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/cinder/tasks/precheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
when:
- enable_cinder | bool
- enable_cinder_backend_lvm | bool
- inventory_hostname in groups['cinder-volume']
- inventory_hostname in groups['cinder-volume-multiple'] if cinder_enabled_backends | length > 1 else inventory_hostname in groups['cinder-volume-lvm']

- name: Checking for coordination backend if Ceph backend is enabled
run_once: true
Expand All @@ -64,7 +64,7 @@
- not skip_cinder_backend_check | bool
- cinder_backend_ceph | bool
- cinder_coordination_backend == ''
- groups['cinder-volume'] | length > 1
- groups['cinder-volume-multiple'] | length > 1 if enable_cinder_backend_lvm | bool else groups['cinder-volume'] | length > 1

- name: Check if S3 configurations are defined
ansible.builtin.assert:
Expand Down
15 changes: 3 additions & 12 deletions ansible/roles/cinder/templates/cinder-api.json.j2
Original file line number Diff line number Diff line change
@@ -1,27 +1,18 @@
{% set cinder_cmd = 'apache2' if kolla_base_distro in ['ubuntu', 'debian'] else 'httpd' %}
{% set cinder_dir = 'apache2/conf-enabled' if kolla_base_distro in ['ubuntu', 'debian'] else 'httpd/conf.d' %}
{% set command = '/usr/sbin/' + apache_binary + ' -DFOREGROUND' if cinder_wsgi_provider == 'apache' else 'uwsgi /etc/cinder/cinder-api-uwsgi.ini' %}
{
"command": "{{ command }}",
"command": "uwsgi /etc/cinder/cinder-api-uwsgi.ini",
"config_files": [
{
"source": "{{ container_config_directory }}/cinder.conf",
"dest": "/etc/cinder/cinder.conf",
"owner": "cinder",
"perm": "0600"
}{% if cinder_wsgi_provider == 'apache' %},
{
"source": "{{ container_config_directory }}/cinder-wsgi.conf",
"dest": "/etc/{{ cinder_dir }}/cinder-wsgi.conf",
"owner": "cinder",
"perm": "0600"
}{% elif cinder_wsgi_provider == 'uwsgi' %},
},
{
"source": "{{ container_config_directory }}/cinder-api-uwsgi.ini",
"dest": "/etc/cinder/cinder-api-uwsgi.ini",
"owner": "cinder",
"perm": "0600"
}{% endif %}{% if cinder_policy_file is defined %},
}{% if cinder_policy_file is defined %},
{
"source": "{{ container_config_directory }}/{{ cinder_policy_file }}",
"dest": "/etc/cinder/{{ cinder_policy_file }}",
Expand Down
35 changes: 0 additions & 35 deletions ansible/roles/cinder/templates/cinder-wsgi.conf.j2

This file was deleted.

5 changes: 0 additions & 5 deletions ansible/roles/cloudkitty/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,3 @@ cloudkitty_database_enable_tls_internal: "{{ database_enable_tls_internal | bool
# Copy certificates
###################
cloudkitty_copy_certs: "{{ kolla_copy_ca_into_containers | bool or cloudkitty_database_enable_tls_internal | bool }}"

#######
# WSGI
#######
cloudkitty_wsgi_provider: "uwsgi"
13 changes: 0 additions & 13 deletions ansible/roles/cloudkitty/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,6 @@
service_uwsgi_config_workers: "{{ cloudkitty_api_workers }}"
when:
- service | service_enabled_and_mapped_to_host
- cloudkitty_wsgi_provider == "uwsgi"

- name: Copying over wsgi-cloudkitty.conf
vars:
service: "{{ cloudkitty_services['cloudkitty-api'] }}"
ansible.builtin.template:
src: "wsgi-cloudkitty.conf.j2"
dest: "{{ node_config_directory }}/cloudkitty-api/wsgi-cloudkitty.conf"
mode: "0660"
become: true
when:
- cloudkitty_wsgi_provider == "apache"
- service | service_enabled_and_mapped_to_host

- name: Copying over existing policy file
ansible.builtin.template:
Expand Down
Loading
Loading