Bug 2030556
Summary: | Don't display Description or Message fields for alerting rules if those annotations are missing | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Andrew Pickering <anpicker> |
Component: | Monitoring | Assignee: | Andrew Pickering <anpicker> |
Status: | CLOSED ERRATA | QA Contact: | Junqi Zhao <juzhao> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.10 | CC: | amuller, anpicker, aos-bugs, erooth |
Target Milestone: | --- | ||
Target Release: | 4.10.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-03-10 16:32:55 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Andrew Pickering
2021-12-09 06:36:50 UTC
tested the following scenarios with 4.10.0-0.nightly-2021-12-18-034942, if the Description or Message fields are missing, the alert rule detail page won't show the missing fields 1. no message field, but has description field *************** alert: Watchdog expr: vector(1) labels: namespace: openshift-monitoring severity: none annotations: description: This is an alert meant to ensure that the entire alerting pipeline is functional. This alert is always firing, therefore it should always be firing in Alertmanager and always fire against a receiver. There are integrations with various notification mechanisms that send a notification when this alert is not firing. For example the "DeadMansSnitch" integration in PagerDuty. summary: An alert that should always be firing to certify that Alertmanager is working properly. 2. no description filed, but has message field alert: SamplesDegraded expr: openshift_samples_degraded_info == 1 for: 2h labels: severity: warning annotations: message: Samples could not be deployed and the operator is degraded. Review the "openshift-samples" ClusterOperator object for further details. 3. has description and message fields alert: HAProxyDown expr: haproxy_up == 0 for: 5m labels: severity: critical annotations: description: This alert fires when metrics report that HAProxy is down. message: HAProxy metrics are reporting that HAProxy is down on pod {{ $labels.namespace }} / {{ $labels.pod }} summary: HAProxy is down 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 (Moderate: OpenShift Container Platform 4.10.3 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:0056 |