Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/grafana/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ COPY extend_start.sh /usr/local/bin/kolla_extend_start

{% block grafana_plugins_install %}

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

{% if grafana_plugins | length > 0 %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ FROM {{ namespace }}/{{ image_prefix }}prometheus-base:{{ tag }}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% endblock %}

{% block prometheus_v2_server_header %}{% endblock %}
{% block prometheus_server_header %}{% endblock %}

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

{% block prometheus_v2_server_install %}
ADD prometheus-v2-server-archive /prometheus-server-source
{% block prometheus_server_install %}
ADD prometheus-server-archive /prometheus-server-source

RUN ln -s /prometheus-server-source/* prometheus-server \
&& mkdir -p /opt/prometheus \
Expand All @@ -18,7 +18,7 @@ RUN ln -s /prometheus-server-source/* prometheus-server \

{{ macros.kolla_patch_sources() }}

{% block prometheus_v2_server_footer %}{% endblock %}
{% block prometheus_server_footer %}{% endblock %}
{% block footer %}{% endblock %}

USER prometheus
14 changes: 7 additions & 7 deletions kolla/common/sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,11 +274,11 @@
'location': ('$tarballs_base/openstack/placement/'
'placement-${openstack_branch}.tar.gz')},
'prometheus-alertmanager': {
'version': '0.28.0',
'version': '0.28.1',
'type': 'url',
'sha256': {
'amd64': '6b5a38d32cddef23aad4435a58c1ea39dc0a07b4b155029c601d200720da9ca4', # noqa: E501
'arm64': '70d7c85a364d5d5d20e36dfff6886fbc5e105822642d5603cc2f38340dd2f7ee'}, # noqa: E501
'amd64': '5ac7ab5e4b8ee5ce4d8fb0988f9cb275efcc3f181b4b408179fafee121693311', # noqa: E501
'arm64': 'd8832540e5b9f613d2fd759e31d603173b9c61cc7bb5e3bc7ae2f12038b1ce4f'}, # noqa: E501
'location': ('https://github.com/'
'prometheus/alertmanager/'
'releases/download/v${version}/'
Expand Down Expand Up @@ -394,12 +394,12 @@
'releases/download/v${version}/'
'ovn-exporter'
'_${version}_linux_${debian_arch}.tar.gz')},
'prometheus-v2-server': {
'version': '2.55.1',
'prometheus-server': {
'version': '3.2.1',
'type': 'url',
'sha256': {
'amd64': '19700bdd42ec31ee162e4079ebda4cd0a44432df4daa637141bdbea4b1cd8927', # noqa: E501
'arm64': 'af43368bc6379c3c8bd5ac0b82208060bba22267bf01ad3ab5df56ad5725bf88'}, # noqa: E501
'amd64': 'a622e3007c9109a7f470e1433cbd29bf392596715cf7eea8b81b37fa9d26b7be', # noqa: E501
'arm64': 'f2dec3178f1181c1b795b275750d056e71ead13f7fbfe08b76834c4ec20b748e'}, # noqa: E501
'location': ('https://github.com/'
'prometheus/prometheus/'
'releases/download/v${version}/'
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
fixes:
- |
Remove the gnocchixyz-gnocchi-datasource plugin from grafana due to angular
plugins being deprecated
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ upgrade:
- |
Update Prometheus services to latest releases:

* prometheus-alertmanager: 0.27.0 -> 0.28.0
* prometheus-alertmanager: 0.28.0 -> 0.28.1
* prometheus-blackbox-exporter: 0.24.0 -> 0.25.0
* prometheus-cadvisor: 0.49.1 -> 0.49.2
* prometheus-elasticsearch-exporter: 1.7.0 -> 1.8.0
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
features:
- |
Updates Prometheus version to v3.2.1. Also, switches back to
the ``prometheus-server`` generic image name by removing the ``v2`` part.
upgrade:
- |
Prometheus will be upgraded from v2 to v3 - which introduces minor breaking
changes. Make sure there's version 2.5.5 or later running before attempting
an upgrade. Read the official migration guide for more details:
https://prometheus.io/docs/prometheus/3.0/migration/.