Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
12 changes: 12 additions & 0 deletions ansible/roles/common/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@
when:
- kolla_copy_ca_into_containers | bool

- name: Ensure /var/log/journal exists on EL10 systems
become: true
file:
path: /var/log/journal
state: directory
owner: root
group: systemd-journal
mode: "2755"
when: >
(kolla_base_distro == 'centos' and kolla_base_distro_version == 'stream10') or
(kolla_base_distro == 'rocky' and kolla_base_distro_version == '10')

- name: Copying over /run subdirectories conf
become: true
template:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% set remoted = '/usr/sbin/pacemaker-remoted' if kolla_base_distro in ['centos', 'rocky'] and kolla_base_distro_version in ['10', 'stream10'] else '/usr/sbin/pacemaker_remoted' %}
{
"command": "/usr/sbin/pacemaker_remoted -l /var/log/kolla/hacluster/pacemaker-remoted.log{% if openstack_logging_debug | bool %} -VV{% endif %} -p {{ hacluster_pacemaker_remote_port }}",
"command": "{{ remoted }} -l /var/log/kolla/hacluster/pacemaker-remoted.log{% if openstack_logging_debug | bool %} -VV{% endif %} -p {{ hacluster_pacemaker_remote_port }}",
"config_files": [
{
"source": "{{ container_config_directory }}/authkey",
Expand Down
1 change: 1 addition & 0 deletions ansible/roles/prechecks/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ host_os_distributions:
- "bookworm"
Rocky:
- "9"
- "10"
Ubuntu:
- "noble"
12 changes: 9 additions & 3 deletions doc/source/user/support-matrix.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ Kolla Ansible supports the following host Operating Systems (OS):

.. note::

CentOS Stream 9 is supported as a host OS while Kolla does not publish CS9
based images. Users can build them on their own. We recommend using Rocky
Linux 9 images instead.
CentOS Stream 9 and 10 is supported as a host OS while Kolla does not
publish CS9/10 based images. Users can build them on their own. We recommend
using Rocky and 10 images instead.

* CentOS Stream 9
* CentOS Stream 10
* Debian Bookworm (12)
* Rocky Linux 9
* Ubuntu Noble (24.04)
Expand All @@ -29,5 +30,10 @@ OS distribution. The following values are supported for ``kolla_base_distro``:
* ``rocky``
* ``ubuntu``

.. note::

In order to use CentOS Stream 10 please set ``kolla_base_distro_version``
to ``stream10`` and to ``10`` for using Rocky Linux 10.

For details of which images are supported on which distributions, see the
:kolla-doc:`Kolla support matrix <support_matrix>`.
6 changes: 6 additions & 0 deletions releasenotes/notes/rocky-10-epoxy-fb16bdfd71eefaab.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
features:
- |
Adds ``Rocky Linux 10`` support alongside existing ``Rocky Linux 9`` to
allow for operating system migrations before upgrading to 2025.2 (Flamingo)
or 2026.1 (Gazpacho) which the former.
3 changes: 3 additions & 0 deletions tests/templates/globals-default.j2
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ virtualenv: "{{ kolla_runtime_venv_path }}"
{% endif %}

kolla_base_distro: "{{ base_distro }}"
{% if base_distro_version is defined %}
kolla_base_distro_version: "{{ base_distro_version }}"
{% endif %}
network_interface: "{{ api_interface_name }}"
network_address_family: "{{ address_family }}"
kolla_container_engine: "{{ container_engine }}"
Expand Down
29 changes: 29 additions & 0 deletions zuul.d/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
voting: false
vars:
base_distro: centos
base_distro_version: stream10
tls_enabled: true
kolla_build_images: true

Expand Down Expand Up @@ -73,6 +74,34 @@
tls_enabled: true
container_engine: podman

- job:
name: kolla-ansible-rocky10
parent: kolla-ansible-base
nodeset: kolla-ansible-rocky10-8GB
vars:
base_distro: rocky
base_distro_version: 10
tls_enabled: true

- job:
name: kolla-ansible-rocky10-podman
parent: kolla-ansible-base
nodeset: kolla-ansible-rocky10-8GB
vars:
base_distro: rocky
base_distro_version: 10
tls_enabled: true
container_engine: podman

- job:
name: kolla-ansible-rocky9-podman
parent: kolla-ansible-base
nodeset: kolla-ansible-rocky9
vars:
base_distro: rocky
tls_enabled: true
container_engine: podman

- job:
name: kolla-ansible-ubuntu
parent: kolla-ansible-base
Expand Down
12 changes: 12 additions & 0 deletions zuul.d/nodesets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,18 @@
- name: primary
label: rockylinux-9

- nodeset:
name: kolla-ansible-rocky10-8GB
nodes:
- name: primary
label: rockylinux-10-8GB

- nodeset:
name: kolla-ansible-rocky-10-16GB
nodes:
- name: primary
label: rockylinux-10-16GB

- nodeset:
name: kolla-ansible-ubuntu-noble-multi-8GB
nodes:
Expand Down
2 changes: 2 additions & 0 deletions zuul.d/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
- kolla-ansible-debian-podman
- kolla-ansible-rocky9
- kolla-ansible-rocky9-podman
- kolla-ansible-rocky10
- kolla-ansible-rocky10-podman
- kolla-ansible-ubuntu
- kolla-ansible-ubuntu-podman
- kolla-ansible-rocky9-kvm
Expand Down