Hide Forgot
Description of problem: all the alert rules' annotations "summary" and "description" should comply with the OpenShift alerting guidelines Version-Release number of selected component (if applicable): 4.9.0-0.nightly-2021-08-07-175228 How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: $ oc get prometheusrules -n openshift-image-registry -oyaml apiVersion: v1 items: - apiVersion: monitoring.coreos.com/v1 kind: PrometheusRule metadata: annotations: include.release.openshift.io/ibm-cloud-managed: "true" include.release.openshift.io/self-managed-high-availability: "true" include.release.openshift.io/single-node-developer: "true" creationTimestamp: "2021-08-10T23:22:21Z" generation: 1 labels: name: image-registry-operator-alerts name: image-registry-operator-alerts namespace: openshift-image-registry ownerReferences: - apiVersion: config.openshift.io/v1 kind: ClusterVersion name: version uid: 9fc7b5b6-6c23-4335-be07-ecfe1b9a142f resourceVersion: "21341" uid: 05b7524b-0a19-42c7-bc8b-84b73b7fae02 spec: groups: - name: ImageRegistryOperator rules: - alert: ImageRegistryStorageReconfigured annotations: message: | Image Registry Storage configuration has changed in the last 30 minutes. This change may have caused data loss. expr: increase(image_registry_operator_storage_reconfigured_total[30m]) > 0 labels: severity: warning kind: List metadata: resourceVersion: "" selfLink: "" Expected results: alert rules have annotations "summary" and "description" Additional info: the "summary" and "description" annotations comply with the OpenShift alerting guidelines [1] [1] https://github.com/openshift/enhancements/blob/master/enhancements/monitoring/alerting-consistency.md#documentation-required
No progress this sprint.
*** Bug 2010347 has been marked as a duplicate of this bug. ***
Verified in 4.11.0-0.nightly-2022-02-06-113143 Now removed PrometheusRule [wewang@localhost ~]$ oc get prometheusrules -n openshift-image-registry No resources found in openshift-image-registry namespace
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:5069