From a50bef0f768c61867170ce62d07dd946b31efdae Mon Sep 17 00:00:00 2001 From: Piotr Parczewski Date: Tue, 2 Mar 2021 16:33:35 +0100 Subject: [PATCH] Deprecate Prometheus 1.x Deprecates support for Prometheus v1.x. In Xena support for it will be removed from Kolla Ansible. Change-Id: I027b19621196c698e09f79af294ba1b5dbfc0516 --- ansible/roles/prometheus/defaults/main.yml | 1 + .../reference/logging-and-monitoring/prometheus-guide.rst | 4 ++++ .../notes/deprecate-prometheus-v1-c174f03d62c46795.yaml | 5 +++++ 3 files changed, 10 insertions(+) create mode 100644 releasenotes/notes/deprecate-prometheus-v1-c174f03d62c46795.yaml diff --git a/ansible/roles/prometheus/defaults/main.yml b/ansible/roles/prometheus/defaults/main.yml index 507c04da0a..b1c1174609 100644 --- a/ansible/roles/prometheus/defaults/main.yml +++ b/ansible/roles/prometheus/defaults/main.yml @@ -118,6 +118,7 @@ prometheus_blackbox_exporter_endpoints: [] #################### # Whether to keep using Prometheus server v1 (due to no data-preserving migration path to v2) +# NOTE(piotrp): Deprecated in Wallaby and will be removed in Xena prometheus_use_v1: no #################### diff --git a/doc/source/reference/logging-and-monitoring/prometheus-guide.rst b/doc/source/reference/logging-and-monitoring/prometheus-guide.rst index 69b0ed4b6b..e38701e8b3 100644 --- a/doc/source/reference/logging-and-monitoring/prometheus-guide.rst +++ b/doc/source/reference/logging-and-monitoring/prometheus-guide.rst @@ -36,6 +36,10 @@ However, if you want to stay on 1.x series, set the following variable: prometheus_use_v1: yes +.. warning:: + Support for Prometheus 1.x is deprecated and will be removed in next + Kolla Ansible release (Xena). + In order to remove leftover volume containing Prometheus 1.x data, execute: .. code-block:: console diff --git a/releasenotes/notes/deprecate-prometheus-v1-c174f03d62c46795.yaml b/releasenotes/notes/deprecate-prometheus-v1-c174f03d62c46795.yaml new file mode 100644 index 0000000000..27fdb7adf4 --- /dev/null +++ b/releasenotes/notes/deprecate-prometheus-v1-c174f03d62c46795.yaml @@ -0,0 +1,5 @@ +--- +deprecations: + - | + Deprecates support for Prometheus v1.x. In Xena release cycle + support for this image will be removed from Kolla Ansible.