11---
2+ {% if ansible_facts .os_family == 'RedHat' and ansible_facts .distribution_major_version == '10' %}
3+ # Configure EPEL repository. Necessary for gdisk to be available.
4+ # dnf_install_epel and dnf_use_local_mirror are both necessary to trigger
5+ # templating of epel.repo. We use the official EPEL repository because there is
6+ # no OpenDev mirror for EL10.
7+ dnf_install_epel: true
8+ dnf_use_local_mirror: true
9+ {% endif %}
10+
211docker_daemon_debug: true
312# Use alternative registry image to avoid Docker Hub pull rate limit.
413docker_registry_image_full: "quay.io/libpod/registry:2.8.2"
@@ -40,7 +49,9 @@ ipa_build_images: {{ build_images }}
4049ipa_build_dib_elements_extra:
4150 # extra-hardware is currently failing on Ubuntu
4251 - "{% raw %} {{ 'extra-hardware' if os_distribution != 'ubuntu' else '' }}{% endraw %} "
43- - "openstack-ci-mirrors"
52+ # Broken openstack-ci-mirrors for CentOS Stream 10. TODO(priteau): Remove
53+ # conditional once https://review.opendev.org/965344 is released.
54+ - "{% raw %} {{ 'openstack-ci-mirrors' if os_distribution != 'centos' else '' }}{% endraw %} "
4455
4556# Workaround for limited tmpfs space in CI
4657ipa_build_dib_env_extra:
@@ -49,10 +60,12 @@ ipa_build_dib_env_extra:
4960# Build overcloud host image.
5061overcloud_dib_build_host_images: {{ build_images }}
5162overcloud_dib_elements_extra:
52- - "openstack-ci-mirrors"
63+ # Broken openstack-ci-mirrors for CentOS Stream 10. TODO(priteau): Remove
64+ # conditional once https://review.opendev.org/965344 is released.
65+ - "{% raw %} {{ 'openstack-ci-mirrors' if os_distribution != 'centos' else '' }}{% endraw %} "
5366
54- # NOTE(bbezak): Kolla does not build CentOS Stream 9 container images.
55- # Using Rocky Linux 9 images on CentOS Stream 9 in CI.
67+ # NOTE(bbezak): Kolla does not build CentOS Stream 10 container images.
68+ # Using Rocky Linux 10 images on CentOS Stream 10 in CI.
5669kolla_base_distro: "{% raw %} {{ 'rocky' if os_distribution == 'centos' else os_distribution }}{% endraw %} "
5770
5871# Support overriding container_engine
0 commit comments