Skip to content

Commit e3829d0

Browse files
authored
Merge pull request #406 from stackhpc/upstream/master-2025-04-28
Synchronise master with upstream
2 parents 441a8c7 + e9d3176 commit e3829d0

File tree

6 files changed

+29
-13
lines changed

6 files changed

+29
-13
lines changed

docker/grafana/Dockerfile.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ COPY extend_start.sh /usr/local/bin/kolla_extend_start
2222

2323
{% block grafana_plugins_install %}
2424

25-
{% set grafana_default_plugins = ['gnocchixyz-gnocchi-datasource', 'grafana-opensearch-datasource'] %}
25+
{% set grafana_default_plugins = ['grafana-opensearch-datasource'] %}
2626
{% set grafana_plugins = grafana_default_plugins | customizable("plugins") %}
2727

2828
{% if grafana_plugins | length > 0 %}

docker/prometheus/prometheus-v2-server/Dockerfile.j2 renamed to docker/prometheus/prometheus-server/Dockerfile.j2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ FROM {{ namespace }}/{{ image_prefix }}prometheus-base:{{ tag }}
33
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
44
{% endblock %}
55

6-
{% block prometheus_v2_server_header %}{% endblock %}
6+
{% block prometheus_server_header %}{% endblock %}
77

88
{% import "macros.j2" as macros with context %}
99

10-
{% block prometheus_v2_server_install %}
11-
ADD prometheus-v2-server-archive /prometheus-server-source
10+
{% block prometheus_server_install %}
11+
ADD prometheus-server-archive /prometheus-server-source
1212

1313
RUN ln -s /prometheus-server-source/* prometheus-server \
1414
&& mkdir -p /opt/prometheus \
@@ -18,7 +18,7 @@ RUN ln -s /prometheus-server-source/* prometheus-server \
1818

1919
{{ macros.kolla_patch_sources() }}
2020

21-
{% block prometheus_v2_server_footer %}{% endblock %}
21+
{% block prometheus_server_footer %}{% endblock %}
2222
{% block footer %}{% endblock %}
2323

2424
USER prometheus

kolla/common/sources.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -274,11 +274,11 @@
274274
'location': ('$tarballs_base/openstack/placement/'
275275
'placement-${openstack_branch}.tar.gz')},
276276
'prometheus-alertmanager': {
277-
'version': '0.28.0',
277+
'version': '0.28.1',
278278
'type': 'url',
279279
'sha256': {
280-
'amd64': '6b5a38d32cddef23aad4435a58c1ea39dc0a07b4b155029c601d200720da9ca4', # noqa: E501
281-
'arm64': '70d7c85a364d5d5d20e36dfff6886fbc5e105822642d5603cc2f38340dd2f7ee'}, # noqa: E501
280+
'amd64': '5ac7ab5e4b8ee5ce4d8fb0988f9cb275efcc3f181b4b408179fafee121693311', # noqa: E501
281+
'arm64': 'd8832540e5b9f613d2fd759e31d603173b9c61cc7bb5e3bc7ae2f12038b1ce4f'}, # noqa: E501
282282
'location': ('https://github.com/'
283283
'prometheus/alertmanager/'
284284
'releases/download/v${version}/'
@@ -394,12 +394,12 @@
394394
'releases/download/v${version}/'
395395
'ovn-exporter'
396396
'_${version}_linux_${debian_arch}.tar.gz')},
397-
'prometheus-v2-server': {
398-
'version': '2.55.1',
397+
'prometheus-server': {
398+
'version': '3.2.1',
399399
'type': 'url',
400400
'sha256': {
401-
'amd64': '19700bdd42ec31ee162e4079ebda4cd0a44432df4daa637141bdbea4b1cd8927', # noqa: E501
402-
'arm64': 'af43368bc6379c3c8bd5ac0b82208060bba22267bf01ad3ab5df56ad5725bf88'}, # noqa: E501
401+
'amd64': 'a622e3007c9109a7f470e1433cbd29bf392596715cf7eea8b81b37fa9d26b7be', # noqa: E501
402+
'arm64': 'f2dec3178f1181c1b795b275750d056e71ead13f7fbfe08b76834c4ec20b748e'}, # noqa: E501
403403
'location': ('https://github.com/'
404404
'prometheus/prometheus/'
405405
'releases/download/v${version}/'
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Remove the gnocchixyz-gnocchi-datasource plugin from grafana due to angular
5+
plugins being deprecated

releasenotes/notes/update-prometheus-services-dd195876e162251c.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ upgrade:
33
- |
44
Update Prometheus services to latest releases:
55
6-
* prometheus-alertmanager: 0.27.0 -> 0.28.0
6+
* prometheus-alertmanager: 0.28.0 -> 0.28.1
77
* prometheus-blackbox-exporter: 0.24.0 -> 0.25.0
88
* prometheus-cadvisor: 0.49.1 -> 0.49.2
99
* prometheus-elasticsearch-exporter: 1.7.0 -> 1.8.0
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
features:
3+
- |
4+
Updates Prometheus version to v3.2.1. Also, switches back to
5+
the ``prometheus-server`` generic image name by removing the ``v2`` part.
6+
upgrade:
7+
- |
8+
Prometheus will be upgraded from v2 to v3 - which introduces minor breaking
9+
changes. Make sure there's version 2.5.5 or later running before attempting
10+
an upgrade. Read the official migration guide for more details:
11+
https://prometheus.io/docs/prometheus/3.0/migration/.

0 commit comments

Comments
 (0)