Merge "Add CI jobs for Ceph on Ubuntu 24.04"

This commit is contained in:
Zuul 2025-05-05 20:02:00 +00:00 committed by Gerrit Code Review
commit be9d69128e
4 changed files with 27 additions and 4 deletions

View File

@ -112,7 +112,7 @@
<td>source</td>
<td></td><!-- Ubuntu 20.04 -->
<td></td><!-- Ubuntu 22.04 -->
<td></td><!-- Ubuntu 24.04 -->
<td><span style="color:Tomato"></span></td><!-- Ubuntu 24.04 -->
<td></td><!-- Centos 9s -->
<td></td><!-- Debian 11 -->
<td></td><!-- Debian 12 -->
@ -133,7 +133,7 @@
<td>source</td>
<td></td><!-- Ubuntu 20.04 -->
<td></td><!-- Ubuntu 22.04 -->
<td></td><!-- Ubuntu 24.04 -->
<td><span style="color:Tomato"></span></td><!-- Ubuntu 24.04 -->
<td></td><!-- Centos 9s -->
<td></td><!-- Debian 11 -->
<td></td><!-- Debian 12 -->
@ -150,3 +150,6 @@
<td class="warning">E</td><!-- RockyLinux 9 -->
</tr>
</table>
<span style="color:Tomato"></span> Ceph is installable only from the native repository provided by distribution. Version selection for Ceph is not possible at the moment.
<i>This is subject to change with later Ceph releases.</i>

View File

@ -22,9 +22,17 @@ osd_group_name: ceph-osd
rgw_group_name: ceph-rgw
mds_group_name: ceph-mds
nfs_group_name: ceph-nfs
ceph_origin: repository
ceph_pkg_source: ceph
# NOTE: Ubuntu 24.04 at the moment does not have a community repository and Ceph is only installable from UCA or native repository
# Values of origin/source are overriden for Ubuntu 24.04 explicitly to ensure seamless installation out of the box
ceph_origin: "{{ (ansible_facts['distribution'] | lower == 'ubuntu' and ansible_facts['distribution_version'] | lower == '24.04') | ternary('distro', 'repository') }}"
ceph_pkg_source: "{{ (ansible_facts['distribution'] | lower == 'ubuntu' and ansible_facts['distribution_version'] | lower == '24.04') | ternary('distro', 'ceph') }}"
# NOTE: `setuptools` are required to be present for ceph-mon to install and enable ceph dashboard plugin, which is enabled by default
# Alternatively, one can set `dashboard_enabled: false` to avoid dashboard installation.
debian_package_dependencies: "{{ (ansible_facts['distribution'] | lower == 'ubuntu' and ceph_origin == 'distro') | ternary(['python3-distutils-extra'], []) }}"
ceph_repository: community
# The _stable_release var is used by both the OSA ceph_client role and the
# ceph-ansible roles. It is defaulted in ceph_client but set here to keep the
# OSA/ceph-ansible integrations in sync.

View File

@ -0,0 +1,9 @@
---
issues:
- |
On Ubuntu 24.04 (Noble Numbat) Ceph packages are available only from native
repository or Ubuntu Cloud Archive. Thus, version selection for Ceph is not
available at the moment and Ceph Squid (19.2.X) is being the only available
option.
This is a subject to change whenever a community repository will start
building packages for Ubuntu 24.04.

View File

@ -260,14 +260,17 @@
check:
jobs:
- openstack-ansible-deploy-aio_ceph-ubuntu-jammy
- openstack-ansible-deploy-aio_ceph-ubuntu-noble
- openstack-ansible-deploy-aio_ceph-rockylinux-9:
voting: false
gate:
jobs:
- openstack-ansible-deploy-aio_ceph-ubuntu-jammy
- openstack-ansible-deploy-aio_ceph-ubuntu-noble
periodic:
jobs:
- openstack-ansible-deploy-aio_ceph-ubuntu-jammy
- openstack-ansible-deploy-aio_ceph-ubuntu-noble
- project-template:
name: openstack-ansible-deploy-stepca-jobs