Skip to content

Commit a5c738a

Browse files
authored
Merge pull request #473 from stackhpc/upstream/master-2025-10-06
Synchronise master with upstream
2 parents 150760c + 5e62f1e commit a5c738a

File tree

62 files changed

+663
-568
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+663
-568
lines changed

.ansible-lint

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
exclude_paths:
33
- .cache/ # implicit unless exclude_paths is defined in config
44
- zuul.d/
5+
- kolla/template/repos.yaml
56
offline: true
67
parseable: true
78
profile: basic

doc/source/ceph_versions.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Distro,Ceph,
22
,Source, Release
3-
Rocky Linux,CentOS Storage SIG,Reef
4-
Ubuntu,Ubuntu,Reef
3+
Rocky Linux,CentOS Storage SIG,Squid
4+
Ubuntu,Ubuntu,Squid
55
Debian,Debian,Pacific

doc/source/contributor/versions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ For each component used we list version used at branch release and provide
1010
information about package sources.
1111

1212
.. note::
13-
When table mentions 'CentOS' it means both CentOS Stream 9 and Rocky Linux 9.
13+
When table mentions 'CentOS' it means both CentOS Stream 10 and Rocky Linux 10.
1414

1515
============== ================ =============================================
1616
Name Version Package source information

doc/source/support_matrix.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The following base container images are supported:
1717
================== =============================== ================
1818
Distribution Default base Default base tag
1919
================== =============================== ================
20-
Rocky Linux quay.io/rockylinux/rockylinux 9
20+
Rocky Linux quay.io/rockylinux/rockylinux 10
2121
Debian Bookworm debian bookworm
2222
Ubuntu Noble ubuntu 24.04
2323
================== =============================== ================

docker/base/Dockerfile.j2

Lines changed: 7 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -54,46 +54,12 @@ COPY dnf.conf /etc/dnf/dnf.conf
5454
{% endblock %}
5555

5656
#### BEGIN REPO ENABLEMENT
57-
{% set base_yum_repo_files = [
58-
'docker-ce.repo',
59-
'grafana.repo',
60-
'influxdb.repo',
61-
'kolla_el10.repo',
62-
'mariadb.repo',
63-
'opensearch.repo',
64-
'proxysql.repo',
65-
'rabbitmq_rabbitmq-server.repo',
66-
'td.repo',
67-
] %}
68-
6957
{% set base_yum_url_packages = [
7058
] %}
7159

7260
{% set base_yum_repo_keys = [
7361
] %}
7462

75-
{% if base_arch == 'x86_64' %}
76-
{% set base_yum_repo_files = base_yum_repo_files + [
77-
'rabbitmq_rabbitmq-erlang.repo',
78-
] %}
79-
80-
{% elif base_arch == 'aarch64' %}
81-
{% set base_yum_repo_files = base_yum_repo_files + [
82-
'copr-rabbitmq-erlang.repo',
83-
] %}
84-
85-
{#
86-
SHA1 keys are not supported in RHEL9: https://github.com/rpm-software-management/rpm/issues/1977
87-
'https://packages.erlang-solutions.com/rpm/erlang_solutions.asc',
88-
#}
89-
{% set base_yum_repo_keys = base_yum_repo_keys + [
90-
] %}
91-
{% endif %}
92-
93-
{%- for repo_file in base_yum_repo_files | customizable('yum_repo_files') %}
94-
COPY {{ repo_file }} /etc/yum.repos.d/{{ repo_file }}
95-
{%- endfor %}
96-
9763
{% block base_centos_repo_overrides_post_copy %}{% endblock %}
9864

9965
# Install what is needed for en_US.UTF-8
@@ -142,28 +108,18 @@ RUN rm -f /etc/rpm/macros.image-language-conf \
142108
{% set base_centos_yum_repo_packages = base_centos_yum_repo_packages + [
143109
'dnf-plugins-core'
144110
] %}
145-
{% set base_centos_yum_repos_to_enable = [
146-
] %}
147-
148-
{% set base_centos_yum_repos_to_disable = [
149-
'centos-ceph-squid',
150-
'centos-nfv-openvswitch',
151-
'epel',
152-
'influxdb',
153-
'opensearch-3.x',
154-
'opensearch-dashboards-3.x',
155-
] %}
156111

157112
RUN {{ macros.install_packages(base_centos_yum_repo_packages | customizable("centos_yum_repo_packages"), chain=True, clean=False) }}
158113

159-
{%- for repo in base_centos_yum_repos_to_enable | customizable('centos_yum_repos_to_enable') %} && dnf config-manager --enable {{ repo }} {% endfor -%}
160-
161-
{%- for repo in base_centos_yum_repos_to_disable | customizable('centos_yum_repos_to_disable') %} && dnf config-manager --disable {{ repo }} {% endfor -%}
162-
163114
{%- for key in base_centos_yum_repo_keys | customizable('centos_yum_repo_keys') %} && rpm --import {{ key }} {% endfor %} \
164115
{% block base_centos_repo_overrides_post_yum %}{% endblock -%}
165116
&& {{ macros.rpm_security_update(clean_package_cache) }}
166117

118+
{# NOTE(mnasiadka): dumb-init is only in EPEL10.1 onwards and RHEL/Rocky/clones use the same #}
119+
{# EPEL release as the installed distro release #}
120+
{# TODO: Remove it when Rocky 10.1 is out #}
121+
RUN dnf config-manager --save --setopt=*.metalink="https://mirrors.fedoraproject.org/metalink?repo=epel-z-10.1&arch=\$basearch" epel
122+
167123
#### END REPO ENABLEMENT
168124

169125
{# We are back to the basic if conditional here which is:
@@ -183,6 +139,7 @@ RUN {{ macros.install_packages(base_centos_yum_repo_packages | customizable("cen
183139
'lsof',
184140
'lvm2',
185141
'ncurses',
142+
'openssl',
186143
'procps-ng',
187144
'python3',
188145
'python3-pip',
@@ -197,8 +154,7 @@ RUN {{ macros.install_packages(base_centos_yum_repo_packages | customizable("cen
197154

198155
# Install base packages
199156
{{ macros.enable_extra_repos(['epel']) }}
200-
{{ macros.install_packages( base_centos_packages | customizable("centos_packages") | customizable("centos_binary_packages") | customizable("centos_source_packages") ) }}
201-
{{ macros.disable_extra_repos(['epel']) }}
157+
{{ macros.install_packages(base_centos_packages | customizable("centos_packages") | customizable("centos_binary_packages") | customizable("centos_source_packages")) }}
202158

203159
{# endif for base_package_type rpm #}
204160
{% elif base_package_type == 'deb' %}

docker/base/ci-rocky.repo

Lines changed: 0 additions & 35 deletions
This file was deleted.

docker/base/copr-rabbitmq-erlang.repo

Lines changed: 0 additions & 11 deletions
This file was deleted.

docker/base/docker-ce.repo

Lines changed: 0 additions & 6 deletions
This file was deleted.

docker/base/grafana.repo

Lines changed: 0 additions & 8 deletions
This file was deleted.

docker/base/influxdb.repo

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)