-
Bug
-
Resolution: Done-Errata
-
Major
-
4.18.z
-
None
-
Quality / Stability / Reliability
-
False
-
-
4
-
None
-
None
-
None
-
None
-
MON Sprint 269, MON Sprint 270, MON Sprint 271, MON Sprint 272
-
4
-
In Progress
-
Bug Fix
-
-
None
-
None
-
None
-
None
Prometheus v3 no longer supports alertmanager v1
OCP 4.19 will fail early (InvalidConfigXXX) in case alertmanager apiVersion: v1 is still specified in one of the two configmaps, see https://github.com/openshift/cluster-monitoring-operator/pull/2544/files
To avoid that InvalidConfigXXX from triggering just after the 4.19 upgrade, we can make users bump their alertmanagers and only use apiVersion: v2 in the configmaps.
We can do that by making CMO set upgradable=false when it sees apiVersion: v1 in one of the configmaps and make sure clusters go through that 4.18.x before upgrading to 4.19.
One can get inspired by the following PRs
https://github.com/openshift/cluster-monitoring-operator/pull/2544/files
https://github.com/openshift/cluster-monitoring-operator/pull/2494/files
https://github.com/openshift/cincinnati-graph-data/pull/6265
- links to
-
RHBA-2025:9725 OpenShift Container Platform 4.18.19 bug fix update