Skip to content

Commit 8f9e962

Browse files
authored
Fix rabbitmq builds after move to Cloudsmith mirror (#1301) (#1304)
* Add sed for multiline baseurl in yum repos * use new Rabbitmq Cloudsmith repos * use rabbitmq built from Cloudsmith repo
1 parent d25970b commit 8f9e962

File tree

5 files changed

+13
-3
lines changed

5 files changed

+13
-3
lines changed

etc/kayobe/kolla-image-tags.yml

+2
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@ kolla_image_tags:
2626
prometheus:
2727
rocky-9: 2024.1-rocky-9-20240910T072617
2828
ubuntu-jammy: 2024.1-ubuntu-jammy-20240910T072617
29+
rabbitmq:
30+
rocky-9: 2024.1-rocky-9-20240927T152945

etc/kayobe/kolla.yml

+1
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ kolla_build_blocks:
284284
{% for repo in base_centos_repo_overrides_post_yum_list %}
285285
sed -i -e '/\[{{ repo.tag }}\]/,/^\[/ s/^\(mirrorlist *=.*\)/#\1/g' \
286286
-e '/\[{{ repo.tag }}\]/,/^\[/ s/^[# ]*\(baseurl *=.*\)/#\1/g' \
287+
-e '/\[{{ repo.tag }}\]/,/^\[/ s/^[ \t]*\(https.*\)/#\1/g' \
287288
-e '/\[{{ repo.tag }}\]/,/^\[/ s/^[# ]*\(metalink *=.*\)/#\1/g' \
288289
-e '/\[{{ repo.tag }}\]/,/^\[/ s|^\(name.*\)|\1\nbaseurl={{ repo.url }}|' /etc/yum.repos.d/{{ repo.file }}{% if not loop.last %} &&{% endif %} \
289290
{% endfor %}

etc/kayobe/pulp-repo-versions.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ stackhpc_pulp_repo_epel_9_version: 20240902T080424
1111
stackhpc_pulp_repo_grafana_version: 20240902T080424
1212
stackhpc_pulp_repo_opensearch_2_x_version: 20240807T235120
1313
stackhpc_pulp_repo_opensearch_dashboards_2_x_version: 20240807T235120
14-
stackhpc_pulp_repo_rhel9_rabbitmq_erlang_version: 20240711T091318
15-
stackhpc_pulp_repo_rhel9_rabbitmq_server_version: 20240829T093746
14+
stackhpc_pulp_repo_rhel9_rabbitmq_erlang_version: 20240925T093206
15+
stackhpc_pulp_repo_rhel9_rabbitmq_server_version: 20240925T111913
1616
stackhpc_pulp_repo_rhel_9_influxdb_version: 20240817T001913
1717
stackhpc_pulp_repo_rhel_9_mariadb_10_11_version: 20240810T001640
1818
stackhpc_pulp_repo_rhel_9_rabbitmq_erlang_version: 20240711T091318

etc/kayobe/stackhpc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ stackhpc_repo_rhel9_rabbitmq_erlang_url: "{{ stackhpc_repo_mirror_url }}/pulp/co
6161
stackhpc_repo_rhel9_rabbitmq_erlang_version: "{{ stackhpc_repo_distribution }}"
6262

6363
# RabbitMQ for RHEL 9
64-
stackhpc_repo_rhel9_rabbitmq_server_url: "{{ stackhpc_repo_mirror_url }}/pulp/content/rabbitmq/rabbitmq-server/el/9/x86_64/{{ stackhpc_repo_rhel9_rabbitmq_server_version }}"
64+
stackhpc_repo_rhel9_rabbitmq_server_url: "{{ stackhpc_repo_mirror_url }}/pulp/content/rabbitmq/rabbitmq-server/el/9/noarch/{{ stackhpc_repo_rhel9_rabbitmq_server_version }}"
6565
stackhpc_repo_rhel9_rabbitmq_server_version: "{{ stackhpc_repo_distribution }}"
6666

6767
# CentOS Stream 9 - NFV OpenvSwitch
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
upgrade:
3+
- |
4+
RabbitMQ and Erlang packages are now all installed from the Cloudsmith
5+
``rabbitmq.com`` mirrors since the RabbitMQ ``packagecloud.io`` is getting
6+
shut down August 18st, 2024:
7+
https://www.rabbitmq.com/blog/2024/08/11/package-repository-updates#packagecloud-will-be-discontinued-on-aug-18th-2024

0 commit comments

Comments
 (0)