-
Bug
-
Resolution: Duplicate
-
Normal
-
None
-
4.12.0
-
None
-
Moderate
-
None
-
False
-
Description of problem:
APIRemovedInNextEUSReleaseInUse/APIRemovedInNextReleaseInUse alerts triggered for flowschemas.v1beta1 and prioritylevelconfigurations.v1beta1, see from the attached file alerts.txt, cluster-version-operator uses flowschemas.v1beta1 and prioritylevelconfigurations.v1beta1
$ token=`oc create token prometheus-k8s -n openshift-monitoring` $ oc -n openshift-monitoring exec -c prometheus prometheus-k8s-0 -- curl -k -H "Authorization: Bearer $token" 'https://prometheus-k8s.openshift-monitoring.svc:9091/api/v1/query?' --data-urlencode 'query=ALERTS{alertname=~"APIRemovedInNextEUSReleaseInUse|APIRemovedInNextReleaseInUse",alertstate="firing"}' | jq { "status": "success", "data": { "resultType": "vector", "result": [ { "metric": { "__name__": "ALERTS", "alertname": "APIRemovedInNextEUSReleaseInUse", "alertstate": "firing", "group": "autoscaling", "namespace": "openshift-kube-apiserver", "removed_release": "1.26", "resource": "horizontalpodautoscalers", "severity": "info", "version": "v2beta2" }, "value": [ 1666261054.784, "1" ] }, { "metric": { "__name__": "ALERTS", "alertname": "APIRemovedInNextEUSReleaseInUse", "alertstate": "firing", "group": "flowcontrol.apiserver.k8s.io", "namespace": "openshift-kube-apiserver", "removed_release": "1.26", "resource": "flowschemas", "severity": "info", "version": "v1beta1" }, "value": [ 1666261054.784, "1" ] }, { "metric": { "__name__": "ALERTS", "alertname": "APIRemovedInNextEUSReleaseInUse", "alertstate": "firing", "group": "flowcontrol.apiserver.k8s.io", "namespace": "openshift-kube-apiserver", "removed_release": "1.26", "resource": "prioritylevelconfigurations", "severity": "info", "version": "v1beta1" }, "value": [ 1666261054.784, "1" ] }, { "metric": { "__name__": "ALERTS", "alertname": "APIRemovedInNextReleaseInUse", "alertstate": "firing", "group": "autoscaling", "namespace": "openshift-kube-apiserver", "removed_release": "1.26", "resource": "horizontalpodautoscalers", "severity": "info", "version": "v2beta2" }, "value": [ 1666261054.784, "1" ] }, { "metric": { "__name__": "ALERTS", "alertname": "APIRemovedInNextReleaseInUse", "alertstate": "firing", "group": "flowcontrol.apiserver.k8s.io", "namespace": "openshift-kube-apiserver", "removed_release": "1.26", "resource": "flowschemas", "severity": "info", "version": "v1beta1" }, "value": [ 1666261054.784, "1" ] }, { "metric": { "__name__": "ALERTS", "alertname": "APIRemovedInNextReleaseInUse", "alertstate": "firing", "group": "flowcontrol.apiserver.k8s.io", "namespace": "openshift-kube-apiserver", "removed_release": "1.26", "resource": "prioritylevelconfigurations", "severity": "info", "version": "v1beta1" }, "value": [ 1666261054.784, "1" ] } ] } }
and from oc explain, version is v1beta2
$ oc explain flowschemas KIND: FlowSchema VERSION: flowcontrol.apiserver.k8s.io/v1beta2
# oc explain prioritylevelconfigurations KIND: PriorityLevelConfiguration VERSION: flowcontrol.apiserver.k8s.io/v1beta2
Version-Release number of selected component (if applicable):
4.12.0-0.nightly-2022-10-18-192348 kubernetes v1.25.2+5bf2e1f
How reproducible:
always
Steps to Reproduce:
1. check alerts from cluster 2. 3.
Actual results:
APIRemovedInNextEUSReleaseInUse/APIRemovedInNextReleaseInUse alerts triggered for flowschemas.v1beta1 and prioritylevelconfigurations.v1beta1
Expected results:
no alerts
Additional info:
- duplicates
-
OCPBUGS-3810 Remove flowcontrol/v1beta1 in 4.12 and later
- Closed