Skip to content

Commit a302c61

Browse files
authored
Merge pull request #700 from stackhpc/upstream/2024.1-2025-04-02
Synchronise 2024.1 with upstream
2 parents 3995792 + b91d899 commit a302c61

File tree

11 files changed

+329
-56
lines changed

11 files changed

+329
-56
lines changed

ansible/roles/prechecks/vars/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ host_os_distributions:
2020
- "9"
2121
Ubuntu:
2222
- "jammy"
23+
- "noble"

doc/source/user/support-matrix.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ Kolla Ansible supports the following host Operating Systems (OS):
2525
* openEuler 22.03 LTS
2626
* Rocky Linux 9
2727
* Ubuntu Jammy (22.04)
28+
* Ubuntu Noble (24.04)
29+
30+
.. note::
31+
32+
Ubuntu Noble (24.04) can use both Jammy (default) and Noble based Kolla images.
33+
In order to use the latter - please set ``kolla_base_distro_version`` to
34+
``noble`` and ``distro_python_version`` to ``3.12``.
2835

2936
Supported container images
3037
~~~~~~~~~~~~~~~~~~~~~~~~~~
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
upgrade:
3+
- |
4+
Adds support for ``Ubuntu Noble Numbat 24.04`` as a host operating system.

roles/cephadm/tasks/pkg_debian.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515

1616
- name: Install cephadm
1717
apt:
18-
name: cephadm
18+
name:
19+
- cephadm
20+
- python3-jinja2
1921
install_recommends: False
2022
become: True

tests/run.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@
342342
chdir: "{{ kolla_ansible_src_dir }}"
343343
environment:
344344
BASE_DISTRO: "{{ base_distro }}"
345+
BASE_DISTRO_TAG: "{{ base_distro_tag | default('') }}"
345346
BUILD_IMAGE: "{{ need_build_image }}"
346347
KOLLA_SRC_DIR: "{{ ansible_env.HOME }}/src/opendev.org/openstack/kolla"
347348
SCENARIO: "{{ scenario }}"

tests/setup_gate.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ base_image = quay.io/openstack.kolla/${BASE_DISTRO}
8888
EOF
8989
fi
9090

91+
if [[ $BASE_DISTRO_TAG != "" ]]; then
92+
sudo tee -a /etc/kolla/kolla-build.conf <<EOF
93+
base_tag = ${BASE_DISTRO_TAG}
94+
EOF
95+
fi
96+
9197
sudo tee -a /etc/kolla/kolla-build.conf <<EOF
9298
[profiles]
9399
gate = ${GATE_IMAGES}

tests/templates/globals-default.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ network_interface: "{{ api_interface_name }}"
1010
network_address_family: "{{ address_family }}"
1111
kolla_container_engine: "{{ container_engine }}"
1212
docker_restart_policy: "no"
13+
{% if base_distro_version is defined and base_distro_version == "noble" %}
14+
distro_python_version: "3.12"
15+
kolla_base_distro_version: "noble"
16+
{% endif %}
1317

1418
docker_apt_url: "http://{{ zuul_site_mirror_fqdn }}:8080/docker/{{ ansible_facts.distribution | lower }}"
1519
docker_yum_url: "http://{{ zuul_site_mirror_fqdn }}:8080/docker/centos"

zuul.d/base.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
pre-run: tests/pre.yml
4747
run: tests/run.yml
4848
post-run: tests/post.yml
49-
timeout: 7200
49+
timeout: 9000
5050
post-timeout: 1800
5151
required-projects:
5252
- openstack/ansible-collection-kolla

0 commit comments

Comments
 (0)